unify include guard defines, __$FILENAME__
without the underscores these clogged up the namespace for autocompleation which was annoying.
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
* \brief GHOST C-API function and type declarations.
|
||||
*/
|
||||
|
||||
#ifndef GHOST_C_API_H
|
||||
#define GHOST_C_API_H
|
||||
#ifndef __GHOST_C_API_H__
|
||||
#define __GHOST_C_API_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_IEvent interface class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_IEVENT_H_
|
||||
#define _GHOST_IEVENT_H_
|
||||
#ifndef __GHOST_IEVENT_H__
|
||||
#define __GHOST_IEVENT_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include "GHOST_Types.h"
|
||||
@@ -92,5 +92,5 @@ public:
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _GHOST_IEVENT_H_
|
||||
#endif // __GHOST_IEVENT_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_IEventConsumer interface class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_IEVENT_CONSUMER_H_
|
||||
#define _GHOST_IEVENT_CONSUMER_H_
|
||||
#ifndef __GHOST_IEVENTCONSUMER_H__
|
||||
#define __GHOST_IEVENTCONSUMER_H__
|
||||
|
||||
#include "GHOST_IEvent.h"
|
||||
|
||||
|
@@ -32,8 +32,8 @@
|
||||
* Contains the doxygen documentation main page.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_ISYSTEM_H_
|
||||
#define _GHOST_ISYSTEM_H_
|
||||
#ifndef __GHOST_ISYSTEM_H__
|
||||
#define __GHOST_ISYSTEM_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
#include "GHOST_ITimerTask.h"
|
||||
@@ -416,5 +416,5 @@ public:
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _GHOST_ISYSTEM_H_
|
||||
#endif // __GHOST_ISYSTEM_H__
|
||||
|
||||
|
@@ -28,8 +28,8 @@
|
||||
* \ingroup GHOST
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_ISYSTEMPATHS_H_
|
||||
#define _GHOST_ISYSTEMPATHS_H_
|
||||
#ifndef __GHOST_ISYSTEMPATHS_H__
|
||||
#define __GHOST_ISYSTEMPATHS_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_ITimerTask interface class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_ITIMER_TASK_H_
|
||||
#define _GHOST_ITIMER_TASK_H_
|
||||
#ifndef __GHOST_ITIMERTASK_H__
|
||||
#define __GHOST_ITIMERTASK_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
@@ -91,5 +91,5 @@ public:
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _GHOST_ITIMER_TASK_H_
|
||||
#endif // __GHOST_ITIMERTASK_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_IWindow interface class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_IWINDOW_H_
|
||||
#define _GHOST_IWINDOW_H_
|
||||
#ifndef __GHOST_IWINDOW_H__
|
||||
#define __GHOST_IWINDOW_H__
|
||||
|
||||
#include "STR_String.h"
|
||||
#include "GHOST_Rect.h"
|
||||
@@ -312,5 +312,5 @@ public:
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _GHOST_IWINDOW_H_
|
||||
#endif // __GHOST_IWINDOW_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GHOST_PATH_API_H
|
||||
#define GHOST_PATH_API_H
|
||||
#ifndef __GHOST_PATH_API_H__
|
||||
#define __GHOST_PATH_API_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Macro's used in GHOST debug target.
|
||||
*/
|
||||
|
||||
#ifndef _H_GHOST_Rect
|
||||
#define _H_GHOST_Rect
|
||||
#ifndef __GHOST_RECT_H__
|
||||
#define __GHOST_RECT_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
@@ -254,5 +254,5 @@ inline bool GHOST_Rect::isInside(GHOST_TInt32 x, GHOST_TInt32 y) const
|
||||
return (x >= m_l) && (x <= m_r) && (y >= m_t) && (y <= m_b);
|
||||
}
|
||||
|
||||
#endif // _H_GHOST_Rect
|
||||
#endif // __GHOST_RECT_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_TYPES_H_
|
||||
#define _GHOST_TYPES_H_
|
||||
#ifndef __GHOST_TYPES_H__
|
||||
#define __GHOST_TYPES_H__
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
#include "MEM_guardedalloc.h"
|
||||
@@ -515,5 +515,5 @@ struct GHOST_TimerTaskHandle__;
|
||||
typedef void (*GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__* task, GHOST_TUns64 time);
|
||||
#endif
|
||||
|
||||
#endif // _GHOST_TYPES_H_
|
||||
#endif // __GHOST_TYPES_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_Buttons struct.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_BUTTONS_H_
|
||||
#define _GHOST_BUTTONS_H_
|
||||
#ifndef __GHOST_BUTTONS_H__
|
||||
#define __GHOST_BUTTONS_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
@@ -74,5 +74,5 @@ struct GHOST_Buttons {
|
||||
GHOST_TUns8 m_ButtonRight : 1;
|
||||
};
|
||||
|
||||
#endif // _GHOST_BUTTONS_H_
|
||||
#endif // __GHOST_BUTTONS_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_CallbackEventConsumer class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_CALLBACK_EVENT_CONSUMER_H_
|
||||
#define _GHOST_CALLBACK_EVENT_CONSUMER_H_
|
||||
#ifndef __GHOST_CALLBACKEVENTCONSUMER_H__
|
||||
#define __GHOST_CALLBACKEVENTCONSUMER_H__
|
||||
|
||||
#include "GHOST_IEventConsumer.h"
|
||||
#include "GHOST_C-api.h"
|
||||
@@ -75,5 +75,5 @@ protected:
|
||||
GHOST_TUserDataPtr m_userData;
|
||||
};
|
||||
|
||||
#endif // _GHOST_CALLBACK_EVENT_CONSUMER_H_
|
||||
#endif // __GHOST_CALLBACKEVENTCONSUMER_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Macro's used in GHOST debug target.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DEBUG_H_
|
||||
#define _GHOST_DEBUG_H_
|
||||
#ifndef __GHOST_DEBUG_H__
|
||||
#define __GHOST_DEBUG_H__
|
||||
|
||||
#if defined(WIN32) && !defined(FREE_WINDOWS)
|
||||
# ifdef DEBUG
|
||||
@@ -72,5 +72,5 @@
|
||||
# define GHOST_ASSERT(x, info)
|
||||
#endif // GHOST_DEBUG
|
||||
|
||||
#endif // _GHOST_DEBUG_H_
|
||||
#endif // __GHOST_DEBUG_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_DisplayManager class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGER_H__
|
||||
#define __GHOST_DISPLAYMANAGER_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
@@ -136,5 +136,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_DISPLAY_MANAGER_H_
|
||||
#endif // __GHOST_DISPLAYMANAGER_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_DisplayManagerCarbon class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_CARBON_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_CARBON_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERCARBON_H__
|
||||
#define __GHOST_DISPLAYMANAGERCARBON_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple only!
|
||||
@@ -112,5 +112,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_DISPLAY_MANAGER_CARBON_H_
|
||||
#endif // __GHOST_DISPLAYMANAGERCARBON_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_DisplayManagerCocoa class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_COCOA_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_COCOA_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERCOCOA_H__
|
||||
#define __GHOST_DISPLAYMANAGERCOCOA_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple only!
|
||||
@@ -102,5 +102,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_DISPLAY_MANAGER_COCOA_H_
|
||||
#endif // __GHOST_DISPLAYMANAGERCOCOA_H__
|
||||
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_DisplayManagerNULL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_NULL_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_NULL_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERNULL_H__
|
||||
#define __GHOST_DISPLAYMANAGERNULL_H__
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
#include "GHOST_SystemNULL.h"
|
||||
@@ -47,4 +47,4 @@ private :
|
||||
GHOST_SystemNULL * m_system;
|
||||
};
|
||||
|
||||
#endif /* _GHOST_DISPLAY_MANAGER_NULL_H_ */
|
||||
#endif /* __GHOST_DISPLAYMANAGERNULL_H__ */
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_DisplayManagerSDL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_SDL_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_SDL_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERSDL_H__
|
||||
#define __GHOST_DISPLAYMANAGERSDL_H__
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
|
||||
@@ -69,4 +69,4 @@ private :
|
||||
GHOST_SystemSDL * m_system;
|
||||
};
|
||||
|
||||
#endif /* _GHOST_DISPLAY_MANAGER_SDL_H_ */
|
||||
#endif /* __GHOST_DISPLAYMANAGERSDL_H__ */
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_DisplayManagerWin32 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_WIN32_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_WIN32_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERWIN32_H__
|
||||
#define __GHOST_DISPLAYMANAGERWIN32_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
@@ -97,5 +97,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_DISPLAY_MANAGER_WIN32_H_
|
||||
#endif // __GHOST_DISPLAYMANAGERWIN32_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_DisplayManagerX11 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_X11_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_X11_H_
|
||||
#ifndef __GHOST_DISPLAYMANAGERX11_H__
|
||||
#define __GHOST_DISPLAYMANAGERX11_H__
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
|
||||
|
@@ -29,8 +29,8 @@
|
||||
* \ingroup GHOST
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DROP_TARGET_WIN32_H_
|
||||
#define _GHOST_DROP_TARGET_WIN32_H_
|
||||
#ifndef __GHOST_DROPTARGETWIN32_H__
|
||||
#define __GHOST_DROPTARGETWIN32_H__
|
||||
|
||||
#include <string.h>
|
||||
#include <GHOST_Types.h>
|
||||
@@ -155,4 +155,4 @@ private:
|
||||
|
||||
};
|
||||
|
||||
#endif // _GHOST_DROP_TARGET_WIN32_H_
|
||||
#endif // __GHOST_DROPTARGETWIN32_H__
|
||||
|
@@ -29,8 +29,8 @@
|
||||
* \ingroup GHOST
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_DROP_TARGET_X11_H_
|
||||
#define _GHOST_DROP_TARGET_X11_H_
|
||||
#ifndef __GHOST_DROPTARGETX11_H__
|
||||
#define __GHOST_DROPTARGETX11_H__
|
||||
|
||||
#include <GHOST_Types.h>
|
||||
#include "GHOST_WindowX11.h"
|
||||
@@ -132,4 +132,4 @@ private:
|
||||
static int m_refCounter;
|
||||
};
|
||||
|
||||
#endif // _GHOST_DROP_TARGET_X11_H_
|
||||
#endif // __GHOST_DROPTARGETX11_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_Event class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_H_
|
||||
#define _GHOST_EVENT_H_
|
||||
#ifndef __GHOST_EVENT_H__
|
||||
#define __GHOST_EVENT_H__
|
||||
|
||||
#include "GHOST_IEvent.h"
|
||||
|
||||
@@ -103,5 +103,5 @@ protected:
|
||||
GHOST_TEventDataPtr m_data;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_H_
|
||||
#endif // __GHOST_EVENT_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventButton class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_BUTTON_H_
|
||||
#define _GHOST_EVENT_BUTTON_H_
|
||||
#ifndef __GHOST_EVENTBUTTON_H__
|
||||
#define __GHOST_EVENTBUTTON_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -63,5 +63,5 @@ protected:
|
||||
GHOST_TEventButtonData m_buttonEventData;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_BUTTON_H_
|
||||
#endif // __GHOST_EVENTBUTTON_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventCursor class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_CURSOR_H_
|
||||
#define _GHOST_EVENT_CURSOR_H_
|
||||
#ifndef __GHOST_EVENTCURSOR_H__
|
||||
#define __GHOST_EVENTCURSOR_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -64,5 +64,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_EVENT_CURSOR_H_
|
||||
#endif // __GHOST_EVENTCURSOR_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_EVENT_DRAGNDROP_H_
|
||||
#define _GHOST_EVENT_DRAGNDROP_H_
|
||||
#ifndef __GHOST_EVENTDRAGNDROP_H__
|
||||
#define __GHOST_EVENTDRAGNDROP_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
extern "C" {
|
||||
@@ -131,5 +131,5 @@ protected:
|
||||
GHOST_TEventDragnDropData m_dragnDropEventData;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_DRAGNDROP_H_
|
||||
#endif // __GHOST_EVENTDRAGNDROP_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventKey class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_KEY_H_
|
||||
#define _GHOST_EVENT_KEY_H_
|
||||
#ifndef __GHOST_EVENTKEY_H__
|
||||
#define __GHOST_EVENTKEY_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -88,5 +88,5 @@ protected:
|
||||
GHOST_TEventKeyData m_keyEventData;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_KEY_H_
|
||||
#endif // __GHOST_EVENTKEY_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventManager class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_MANAGER_H_
|
||||
#define _GHOST_EVENT_MANAGER_H_
|
||||
#ifndef __GHOST_EVENTMANAGER_H__
|
||||
#define __GHOST_EVENTMANAGER_H__
|
||||
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
@@ -170,5 +170,5 @@ protected:
|
||||
TConsumerVector m_consumers;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_MANAGER_H_
|
||||
#endif // __GHOST_EVENTMANAGER_H__
|
||||
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_EventManager class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_NDOF_H_
|
||||
#define _GHOST_EVENT_NDOF_H_
|
||||
#ifndef __GHOST_EVENTNDOF_H__
|
||||
#define __GHOST_EVENTNDOF_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -59,4 +59,4 @@ class GHOST_EventNDOFButton : public GHOST_Event
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_EVENT_NDOF_H_
|
||||
#endif // __GHOST_EVENTNDOF_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventPrinter class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_PRINTER_H_
|
||||
#define _GHOST_EVENT_PRINTER_H_
|
||||
#ifndef __GHOST_EVENTPRINTER_H__
|
||||
#define __GHOST_EVENTPRINTER_H__
|
||||
|
||||
#include "GHOST_IEventConsumer.h"
|
||||
|
||||
@@ -60,5 +60,5 @@ protected:
|
||||
void getKeyString(GHOST_TKey key, char str[32]) const;
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENT_PRINTER_H_
|
||||
#endif // __GHOST_EVENTPRINTER_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventString class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENTSTRING_H_
|
||||
#define _GHOST_EVENTSTRING_H_
|
||||
#ifndef __GHOST_EVENTSTRING_H__
|
||||
#define __GHOST_EVENTSTRING_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -62,5 +62,5 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // _GHOST_EVENTSTRING_H_
|
||||
#endif // __GHOST_EVENTSTRING_H__
|
||||
|
||||
|
@@ -31,8 +31,8 @@
|
||||
* Declaration of GHOST_EventTrackpad class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_TRACKPAD_H_
|
||||
#define _GHOST_EVENT_TRACKPAD_H_
|
||||
#ifndef __GHOST_EVENTTRACKPAD_H__
|
||||
#define __GHOST_EVENTTRACKPAD_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_EventWheel class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_EVENT_WHEEL_H_
|
||||
#define _GHOST_EVENT_WHEEL_H_
|
||||
#ifndef __GHOST_EVENTWHEEL_H__
|
||||
#define __GHOST_EVENTWHEEL_H__
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
@@ -64,5 +64,5 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_EVENT_WHEEL_H_
|
||||
#endif // __GHOST_EVENTWHEEL_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_ModifierKeys struct.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_MODIFIER_KEYS_H_
|
||||
#define _GHOST_MODIFIER_KEYS_H_
|
||||
#ifndef __GHOST_MODIFIERKEYS_H__
|
||||
#define __GHOST_MODIFIERKEYS_H__
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
@@ -100,5 +100,5 @@ struct GHOST_ModifierKeys
|
||||
GHOST_TUns8 m_OS : 1;
|
||||
};
|
||||
|
||||
#endif // _GHOST_MODIFIER_KEYS_H_
|
||||
#endif // __GHOST_MODIFIERKEYS_H__
|
||||
|
||||
|
@@ -21,8 +21,8 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_NDOFMANAGER_H_
|
||||
#define _GHOST_NDOFMANAGER_H_
|
||||
#ifndef __GHOST_NDOFMANAGER_H__
|
||||
#define __GHOST_NDOFMANAGER_H__
|
||||
|
||||
#include "GHOST_System.h"
|
||||
|
||||
|
@@ -21,8 +21,8 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_NDOFMANAGERCOCOA_H_
|
||||
#define _GHOST_NDOFMANAGERCOCOA_H_
|
||||
#ifndef __GHOST_NDOFMANAGERCOCOA_H__
|
||||
#define __GHOST_NDOFMANAGERCOCOA_H__
|
||||
|
||||
#ifdef WITH_INPUT_NDOF
|
||||
|
||||
|
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_NDOFMANAGERWIN32_H_
|
||||
#define _GHOST_NDOFMANAGERWIN32_H_
|
||||
#ifndef __GHOST_NDOFMANAGERWIN32_H__
|
||||
#define __GHOST_NDOFMANAGERWIN32_H__
|
||||
|
||||
#ifdef WITH_INPUT_NDOF
|
||||
|
||||
|
@@ -21,8 +21,8 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_NDOFMANAGERX11_H_
|
||||
#define _GHOST_NDOFMANAGERX11_H_
|
||||
#ifndef __GHOST_NDOFMANAGERX11_H__
|
||||
#define __GHOST_NDOFMANAGERX11_H__
|
||||
|
||||
#ifdef WITH_INPUT_NDOF
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_System class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_H_
|
||||
#define _GHOST_SYSTEM_H_
|
||||
#ifndef __GHOST_SYSTEM_H__
|
||||
#define __GHOST_SYSTEM_H__
|
||||
|
||||
#include "GHOST_ISystem.h"
|
||||
|
||||
@@ -367,5 +367,5 @@ inline GHOST_NDOFManager* GHOST_System::getNDOFManager() const
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _GHOST_SYSTEM_H_
|
||||
#endif // __GHOST_SYSTEM_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_SystemCarbon class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_CARBON_H_
|
||||
#define _GHOST_SYSTEM_CARBON_H_
|
||||
#ifndef __GHOST_SYSTEMCARBON_H__
|
||||
#define __GHOST_SYSTEMCARBON_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -285,5 +285,5 @@ protected:
|
||||
bool m_ignoreWindowSizedMessages;
|
||||
};
|
||||
|
||||
#endif // _GHOST_SYSTEM_CARBON_H_
|
||||
#endif // __GHOST_SYSTEMCARBON_H__
|
||||
|
||||
|
@@ -31,8 +31,8 @@
|
||||
* Declaration of GHOST_SystemCocoa class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_COCOA_H_
|
||||
#define _GHOST_SYSTEM_COCOA_H_
|
||||
#ifndef __GHOST_SYSTEMCOCOA_H__
|
||||
#define __GHOST_SYSTEMCOCOA_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -300,5 +300,5 @@ protected:
|
||||
bool m_isGestureInProgress;
|
||||
};
|
||||
|
||||
#endif // _GHOST_SYSTEM_COCOA_H_
|
||||
#endif // __GHOST_SYSTEMCOCOA_H__
|
||||
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_SystemNULL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_NULL_H_
|
||||
#define _GHOST_SYSTEM_NULL_H_
|
||||
#ifndef __GHOST_SYSTEMNULL_H__
|
||||
#define __GHOST_SYSTEMNULL_H__
|
||||
|
||||
#include "GHOST_System.h"
|
||||
#include "../GHOST_Types.h"
|
||||
|
@@ -28,8 +28,8 @@
|
||||
* \ingroup GHOST
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEMPATHS_H_
|
||||
#define _GHOST_SYSTEMPATHS_H_
|
||||
#ifndef __GHOST_SYSTEMPATHS_H__
|
||||
#define __GHOST_SYSTEMPATHS_H__
|
||||
|
||||
#include "GHOST_ISystemPaths.h"
|
||||
|
||||
|
@@ -29,8 +29,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_SYSTEM_PATHS_CARBON_H_
|
||||
#define _GHOST_SYSTEM_PATHS_CARBON_H_
|
||||
#ifndef __GHOST_SYSTEMPATHSCARBON_H__
|
||||
#define __GHOST_SYSTEMPATHSCARBON_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -84,7 +84,4 @@ public:
|
||||
void addToSystemRecentFiles(const char* filename) const;
|
||||
};
|
||||
|
||||
#endif // _GHOST_SYSTEM_CARBON_H_
|
||||
|
||||
|
||||
|
||||
#endif // __GHOST_SYSTEMPATHSCARBON_H__
|
||||
|
@@ -29,8 +29,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_SYSTEM_PATHS_COCOA_H_
|
||||
#define _GHOST_SYSTEM_PATHS_COCOA_H_
|
||||
#ifndef __GHOST_SYSTEMPATHSCOCOA_H__
|
||||
#define __GHOST_SYSTEMPATHSCOCOA_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -78,5 +78,4 @@ public:
|
||||
void addToSystemRecentFiles(const char* filename) const;
|
||||
};
|
||||
|
||||
#endif // _GHOST_SYSTEM_COCOA_H_
|
||||
|
||||
#endif // __GHOST_SYSTEMPATHSCOCOA_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_SYSTEM_PATHS_WIN32_H_
|
||||
#define _GHOST_SYSTEM_PATHS_WIN32_H_
|
||||
#ifndef __GHOST_SYSTEMPATHSWIN32_H__
|
||||
#define __GHOST_SYSTEMPATHSWIN32_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
@@ -88,5 +88,5 @@ public:
|
||||
void addToSystemRecentFiles(const char* filename) const;
|
||||
};
|
||||
|
||||
#endif // _GHOST_SYSTEM_PATHS_WIN32_H_
|
||||
#endif // __GHOST_SYSTEMPATHSWIN32_H__
|
||||
|
||||
|
@@ -29,8 +29,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GHOST_SYSTEM_PATHS_X11_H_
|
||||
#define _GHOST_SYSTEM_PATHS_X11_H_
|
||||
#ifndef __GHOST_SYSTEMPATHSX11_H__
|
||||
#define __GHOST_SYSTEMPATHSX11_H__
|
||||
|
||||
#include "GHOST_SystemPaths.h"
|
||||
#include "../GHOST_Types.h"
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_SystemSDL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_SDL_H_
|
||||
#define _GHOST_SYSTEM_SDL_H_
|
||||
#ifndef __GHOST_SYSTEMSDL_H__
|
||||
#define __GHOST_SYSTEMSDL_H__
|
||||
|
||||
#include "GHOST_System.h"
|
||||
#include "../GHOST_Types.h"
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_SystemWin32 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_WIN32_H_
|
||||
#define _GHOST_SYSTEM_WIN32_H_
|
||||
#ifndef __GHOST_SYSTEMWIN32_H__
|
||||
#define __GHOST_SYSTEMWIN32_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
@@ -395,4 +395,4 @@ inline void GHOST_SystemWin32::handleKeyboardChange(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // _GHOST_SYSTEM_WIN32_H_
|
||||
#endif // __GHOST_SYSTEMWIN32_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_SystemX11 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_SYSTEM_X11_H_
|
||||
#define _GHOST_SYSTEM_X11_H_
|
||||
#ifndef __GHOST_SYSTEMX11_H__
|
||||
#define __GHOST_SYSTEMX11_H__
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/** \file ghost/intern/GHOST_TaskbarWin32.h
|
||||
* \ingroup GHOST
|
||||
*/
|
||||
#ifndef GHOST_TASKBARWIN32_H_
|
||||
#define GHOST_TASKBARWIN32_H_
|
||||
#ifndef __GHOST_TASKBARWIN32_H__
|
||||
#define __GHOST_TASKBARWIN32_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
@@ -69,4 +69,4 @@ typedef enum TBPFLAG {TBPF_NOPROGRESS = 0, TBPF_INDETERMINATE = 0x1, TBPF_NORMA
|
||||
};
|
||||
#endif /* ITaskbarList3 */
|
||||
|
||||
#endif /*GHOST_TASKBARWIN32_H_*/
|
||||
#endif /*__GHOST_TASKBARWIN32_H__*/
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_TimerManager class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_TIMER_MANAGER_H_
|
||||
#define _GHOST_TIMER_MANAGER_H_
|
||||
#ifndef __GHOST_TIMERMANAGER_H__
|
||||
#define __GHOST_TIMERMANAGER_H__
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -121,5 +121,5 @@ protected:
|
||||
TTimerVector m_timers;
|
||||
};
|
||||
|
||||
#endif // _GHOST_TIMER_MANAGER_H_
|
||||
#endif // __GHOST_TIMERMANAGER_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_TimerTask class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_TIMER_TASK_H_
|
||||
#define _GHOST_TIMER_TASK_H_
|
||||
#ifndef __GHOST_TIMERTASK_H__
|
||||
#define __GHOST_TIMERTASK_H__
|
||||
|
||||
#include "GHOST_ITimerTask.h"
|
||||
|
||||
@@ -192,5 +192,5 @@ protected:
|
||||
GHOST_TUns32 m_auxData;
|
||||
};
|
||||
|
||||
#endif // _GHOST_TIMER_TASK_H_
|
||||
#endif // __GHOST_TIMERTASK_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_Window class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOW_H_
|
||||
#define _GHOST_WINDOW_H_
|
||||
#ifndef __GHOST_WINDOW_H__
|
||||
#define __GHOST_WINDOW_H__
|
||||
|
||||
#include "GHOST_IWindow.h"
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_WindowCarbon class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOW_CARBON_H_
|
||||
#define _GHOST_WINDOW_CARBON_H_
|
||||
#ifndef __GHOST_WINDOWCARBON_H__
|
||||
#define __GHOST_WINDOWCARBON_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -308,5 +308,5 @@ protected:
|
||||
#endif // GHOST_DRAW_CARBON_GUTTER
|
||||
};
|
||||
|
||||
#endif // _GHOST_WINDOW_CARBON_H_
|
||||
#endif // __GHOST_WINDOWCARBON_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_WindowCocoa class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOW_COCOA_H_
|
||||
#define _GHOST_WINDOW_COCOA_H_
|
||||
#ifndef __GHOST_WINDOWCOCOA_H__
|
||||
#define __GHOST_WINDOWCOCOA_H__
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
@@ -325,5 +325,5 @@ protected:
|
||||
GHOST_TabletData m_tablet;
|
||||
};
|
||||
|
||||
#endif // _GHOST_WINDOW_COCOA_H_
|
||||
#endif // __GHOST_WINDOWCOCOA_H__
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_WindowManager class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOW_MANAGER_H_
|
||||
#define _GHOST_WINDOW_MANAGER_H_
|
||||
#ifndef __GHOST_WINDOWMANAGER_H__
|
||||
#define __GHOST_WINDOWMANAGER_H__
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -169,5 +169,5 @@ public:
|
||||
|
||||
};
|
||||
|
||||
#endif // _GHOST_WINDOW_MANAGER_H_
|
||||
#endif // __GHOST_WINDOWMANAGER_H__
|
||||
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_WindowNULL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOWNULL_H_
|
||||
#define _GHOST_WINDOWNULL_H_
|
||||
#ifndef __GHOST_WINDOWNULL_H__
|
||||
#define __GHOST_WINDOWNULL_H__
|
||||
|
||||
#include "GHOST_Window.h"
|
||||
|
||||
@@ -92,4 +92,4 @@ private :
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_WINDOWNULL_H_
|
||||
#endif // __GHOST_WINDOWNULL_H__
|
||||
|
@@ -25,8 +25,8 @@
|
||||
* Declaration of GHOST_WindowSDL class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOWSDL_H_
|
||||
#define _GHOST_WINDOWSDL_H_
|
||||
#ifndef __GHOST_WINDOWSDL_H__
|
||||
#define __GHOST_WINDOWSDL_H__
|
||||
|
||||
#include "GHOST_Window.h"
|
||||
#include "GHOST_SystemSDL.h"
|
||||
@@ -163,4 +163,4 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_WINDOWSDL_H_
|
||||
#endif // __GHOST_WINDOWSDL_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_WindowWin32 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOW_WIN32_H_
|
||||
#define _GHOST_WINDOW_WIN32_H_
|
||||
#ifndef __GHOST_WINDOWWIN32_H__
|
||||
#define __GHOST_WINDOWWIN32_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
@@ -390,4 +390,4 @@ protected:
|
||||
GHOST_TEmbedderWindowID m_parentWindowHwnd;
|
||||
};
|
||||
|
||||
#endif // _GHOST_WINDOW_WIN32_H_
|
||||
#endif // __GHOST_WINDOWWIN32_H__
|
||||
|
@@ -30,8 +30,8 @@
|
||||
* Declaration of GHOST_WindowX11 class.
|
||||
*/
|
||||
|
||||
#ifndef _GHOST_WINDOWX11_H_
|
||||
#define _GHOST_WINDOWX11_H_
|
||||
#ifndef __GHOST_WINDOWX11_H__
|
||||
#define __GHOST_WINDOWX11_H__
|
||||
|
||||
#include "GHOST_Window.h"
|
||||
#include <X11/Xlib.h>
|
||||
@@ -390,4 +390,4 @@ private :
|
||||
};
|
||||
|
||||
|
||||
#endif // _GHOST_WINDOWX11_H_
|
||||
#endif // __GHOST_WINDOWX11_H__
|
||||
|
Reference in New Issue
Block a user