Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-25 09:27:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-25 09:45:47 +0300
commit6eadd40597f7c537f6a8002e818454b85a457c1f (patch)
treeded30bee9418329c26ec4d8a33a7088004d468b7 /source/blender/windowmanager
parentf1ddc6ed0abd1821e96bb8183d4ea1ff57589ec6 (diff)
Cleanup: redundant struct declarations
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/WM_api.h4
-rw-r--r--source/blender/windowmanager/WM_types.h1
-rw-r--r--source/blender/windowmanager/gizmo/intern/wm_gizmo_intern.h2
-rw-r--r--source/blender/windowmanager/gizmo/wm_gizmo_fn.h2
-rw-r--r--source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h2
-rw-r--r--source/blender/windowmanager/message_bus/wm_message_bus.h1
-rw-r--r--source/blender/windowmanager/wm_window.h4
7 files changed, 2 insertions, 14 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 0f0d74c259b..13be8701c27 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -53,19 +53,15 @@ struct PropertyRNA;
struct ScrArea;
struct ViewLayer;
struct bContext;
-struct bToolRef_Runtime;
struct rcti;
struct wmDrag;
struct wmDropBox;
struct wmEvent;
-struct wmEventHandler;
struct wmEventHandler_Keymap;
struct wmEventHandler_UI;
struct wmGenericUserData;
struct wmGesture;
struct wmJob;
-struct wmMsgSubscribeKey;
-struct wmMsgSubscribeValue;
struct wmOperator;
struct wmOperatorType;
struct wmPaintCursor;
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 195822efd7e..7fdbf79248b 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -117,7 +117,6 @@ struct ID;
struct ImBuf;
struct bContext;
struct wmEvent;
-struct wmMsgBus;
struct wmOperator;
struct wmWindowManager;
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_intern.h b/source/blender/windowmanager/gizmo/intern/wm_gizmo_intern.h
index f0771437518..00df6edef22 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_intern.h
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_intern.h
@@ -22,8 +22,6 @@
#define __WM_GIZMO_INTERN_H__
struct BLI_Buffer;
-struct GHashIterator;
-struct GizmoGeomInfo;
struct wmGizmoMap;
struct wmKeyConfig;
diff --git a/source/blender/windowmanager/gizmo/wm_gizmo_fn.h b/source/blender/windowmanager/gizmo/wm_gizmo_fn.h
index 242b0f6de80..58b58fa01d0 100644
--- a/source/blender/windowmanager/gizmo/wm_gizmo_fn.h
+++ b/source/blender/windowmanager/gizmo/wm_gizmo_fn.h
@@ -25,6 +25,8 @@
#include "BLI_compiler_attrs.h"
+struct wmMsgBus;
+
/* wmGizmoGroup */
typedef bool (*wmGizmoGroupFnPoll)(const struct bContext *,
struct wmGizmoGroupType *) ATTR_WARN_UNUSED_RESULT;
diff --git a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
index 33c0d305e59..cc9ccc5f4bb 100644
--- a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
+++ b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
@@ -31,11 +31,9 @@
#ifndef __WM_GIZMO_WMAPI_H__
#define __WM_GIZMO_WMAPI_H__
-struct wmEventHandler;
struct wmEventHandler_Gizmo;
struct wmEventHandler_Op;
struct wmGizmoMap;
-struct wmOperator;
struct wmOperatorType;
/* -------------------------------------------------------------------- */
diff --git a/source/blender/windowmanager/message_bus/wm_message_bus.h b/source/blender/windowmanager/message_bus/wm_message_bus.h
index b25f8eeae71..4ee087593ac 100644
--- a/source/blender/windowmanager/message_bus/wm_message_bus.h
+++ b/source/blender/windowmanager/message_bus/wm_message_bus.h
@@ -23,7 +23,6 @@
#include <stdio.h>
-struct GSet;
struct ID;
struct bContext;
struct wmMsg;
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h
index 90c580818c9..b0329f7415e 100644
--- a/source/blender/windowmanager/wm_window.h
+++ b/source/blender/windowmanager/wm_window.h
@@ -24,10 +24,6 @@
#ifndef __WM_WINDOW_H__
#define __WM_WINDOW_H__
-struct EnumPropertyItem;
-struct PointerRNA;
-struct PropertyRNA;
-struct wmEvent;
struct wmOperator;
/* *************** internal api ************** */