From b626f1fd18e98b18a8ea1ac90fbf659cd23ee361 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 Apr 2023 07:40:07 +1000 Subject: [PATCH] Cleanup: use ".cc" & ".hh" extensions for intern/ghost --- intern/ghost/CMakeLists.txt | 286 +++++++++--------- .../{GHOST_IContext.h => GHOST_IContext.hh} | 0 .../ghost/{GHOST_IEvent.h => GHOST_IEvent.hh} | 0 ...ventConsumer.h => GHOST_IEventConsumer.hh} | 2 +- .../{GHOST_ISystem.h => GHOST_ISystem.hh} | 18 +- ...T_ISystemPaths.h => GHOST_ISystemPaths.hh} | 0 ...GHOST_ITimerTask.h => GHOST_ITimerTask.hh} | 0 .../{GHOST_IWindow.h => GHOST_IWindow.hh} | 2 +- ...GHOST_IXrContext.h => GHOST_IXrContext.hh} | 0 .../{GHOST_Path-api.h => GHOST_Path-api.hh} | 0 intern/ghost/{GHOST_Rect.h => GHOST_Rect.hh} | 0 .../{GHOST_Buttons.cpp => GHOST_Buttons.cc} | 2 +- .../{GHOST_Buttons.h => GHOST_Buttons.hh} | 0 .../{GHOST_C-api.cpp => GHOST_C-api.cc} | 16 +- ...mer.cpp => GHOST_CallbackEventConsumer.cc} | 4 +- ...sumer.h => GHOST_CallbackEventConsumer.hh} | 2 +- .../{GHOST_Context.cpp => GHOST_Context.cc} | 2 +- .../{GHOST_Context.h => GHOST_Context.hh} | 2 +- ...GHOST_ContextCGL.h => GHOST_ContextCGL.hh} | 2 +- intern/ghost/intern/GHOST_ContextCGL.mm | 2 +- ...OST_ContextD3D.cpp => GHOST_ContextD3D.cc} | 4 +- ...GHOST_ContextD3D.h => GHOST_ContextD3D.hh} | 2 +- ...OST_ContextEGL.cpp => GHOST_ContextEGL.cc} | 2 +- ...GHOST_ContextEGL.h => GHOST_ContextEGL.hh} | 4 +- ...OST_ContextGLX.cpp => GHOST_ContextGLX.cc} | 4 +- ...GHOST_ContextGLX.h => GHOST_ContextGLX.hh} | 2 +- ...T_ContextNone.cpp => GHOST_ContextNone.cc} | 2 +- ...OST_ContextNone.h => GHOST_ContextNone.hh} | 2 +- ...OST_ContextSDL.cpp => GHOST_ContextSDL.cc} | 2 +- ...GHOST_ContextSDL.h => GHOST_ContextSDL.hh} | 2 +- ...GHOST_ContextVK.cpp => GHOST_ContextVK.cc} | 2 +- .../{GHOST_ContextVK.h => GHOST_ContextVK.hh} | 10 +- ...OST_ContextWGL.cpp => GHOST_ContextWGL.cc} | 2 +- ...GHOST_ContextWGL.h => GHOST_ContextWGL.hh} | 2 +- .../intern/{GHOST_Debug.h => GHOST_Debug.hh} | 0 ...layManager.cpp => GHOST_DisplayManager.cc} | 4 +- ...splayManager.h => GHOST_DisplayManager.hh} | 0 ...erCocoa.h => GHOST_DisplayManagerCocoa.hh} | 2 +- .../ghost/intern/GHOST_DisplayManagerCocoa.mm | 4 +- ...agerNULL.h => GHOST_DisplayManagerNULL.hh} | 4 +- ...agerSDL.cpp => GHOST_DisplayManagerSDL.cc} | 6 +- ...anagerSDL.h => GHOST_DisplayManagerSDL.hh} | 2 +- ...Win32.cpp => GHOST_DisplayManagerWin32.cc} | 4 +- ...erWin32.h => GHOST_DisplayManagerWin32.hh} | 2 +- ...agerX11.cpp => GHOST_DisplayManagerX11.cc} | 4 +- ...anagerX11.h => GHOST_DisplayManagerX11.hh} | 2 +- ...rgetWin32.cpp => GHOST_DropTargetWin32.cc} | 4 +- ...TargetWin32.h => GHOST_DropTargetWin32.hh} | 4 +- ...opTargetX11.cpp => GHOST_DropTargetX11.cc} | 8 +- ...DropTargetX11.h => GHOST_DropTargetX11.hh} | 4 +- .../intern/{GHOST_Event.h => GHOST_Event.hh} | 2 +- ...OST_EventButton.h => GHOST_EventButton.hh} | 4 +- ...OST_EventCursor.h => GHOST_EventCursor.hh} | 2 +- ...entDragnDrop.h => GHOST_EventDragnDrop.hh} | 2 +- .../{GHOST_EventKey.h => GHOST_EventKey.hh} | 2 +- ...EventManager.cpp => GHOST_EventManager.cc} | 4 +- ...T_EventManager.h => GHOST_EventManager.hh} | 2 +- .../{GHOST_EventNDOF.h => GHOST_EventNDOF.hh} | 2 +- ...EventPrinter.cpp => GHOST_EventPrinter.cc} | 8 +- ...T_EventPrinter.h => GHOST_EventPrinter.hh} | 2 +- ...OST_EventString.h => GHOST_EventString.hh} | 2 +- ...EventTrackpad.h => GHOST_EventTrackpad.hh} | 2 +- ...GHOST_EventWheel.h => GHOST_EventWheel.hh} | 2 +- .../{GHOST_ISystem.cpp => GHOST_ISystem.cc} | 18 +- ...ISystemPaths.cpp => GHOST_ISystemPaths.cc} | 8 +- ...sBinding.h => GHOST_IXrGraphicsBinding.hh} | 2 +- .../{GHOST_IconX11.h => GHOST_IconX11.hh} | 0 .../{GHOST_ImeWin32.cpp => GHOST_ImeWin32.cc} | 4 +- .../{GHOST_ImeWin32.h => GHOST_ImeWin32.hh} | 4 +- ...ModifierKeys.cpp => GHOST_ModifierKeys.cc} | 4 +- ...T_ModifierKeys.h => GHOST_ModifierKeys.hh} | 0 ...T_NDOFManager.cpp => GHOST_NDOFManager.cc} | 12 +- ...OST_NDOFManager.h => GHOST_NDOFManager.hh} | 2 +- ...nagerCocoa.h => GHOST_NDOFManagerCocoa.hh} | 2 +- intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | 4 +- ...nagerUnix.cpp => GHOST_NDOFManagerUnix.cc} | 4 +- ...ManagerUnix.h => GHOST_NDOFManagerUnix.hh} | 2 +- ...gerWin32.cpp => GHOST_NDOFManagerWin32.cc} | 2 +- ...nagerWin32.h => GHOST_NDOFManagerWin32.hh} | 2 +- .../{GHOST_Path-api.cpp => GHOST_Path-api.cc} | 6 +- ...GHOST_PathUtils.cpp => GHOST_PathUtils.cc} | 2 +- .../{GHOST_PathUtils.h => GHOST_PathUtils.hh} | 0 .../intern/{GHOST_Rect.cpp => GHOST_Rect.cc} | 2 +- .../{GHOST_System.cpp => GHOST_System.cc} | 14 +- .../{GHOST_System.h => GHOST_System.hh} | 12 +- ...OST_SystemCocoa.h => GHOST_SystemCocoa.hh} | 2 +- intern/ghost/intern/GHOST_SystemCocoa.mm | 32 +- ...stemHeadless.h => GHOST_SystemHeadless.hh} | 10 +- ...OST_SystemPaths.h => GHOST_SystemPaths.hh} | 2 +- ...PathsCocoa.h => GHOST_SystemPathsCocoa.hh} | 2 +- intern/ghost/intern/GHOST_SystemPathsCocoa.mm | 4 +- ...PathsUnix.cpp => GHOST_SystemPathsUnix.cc} | 4 +- ...emPathsUnix.h => GHOST_SystemPathsUnix.hh} | 2 +- ...thsWin32.cpp => GHOST_SystemPathsWin32.cc} | 4 +- ...PathsWin32.h => GHOST_SystemPathsWin32.hh} | 2 +- ...GHOST_SystemSDL.cpp => GHOST_SystemSDL.cc} | 16 +- .../{GHOST_SystemSDL.h => GHOST_SystemSDL.hh} | 10 +- ...stemWayland.cpp => GHOST_SystemWayland.cc} | 36 +-- ...SystemWayland.h => GHOST_SystemWayland.hh} | 4 +- ...T_SystemWin32.cpp => GHOST_SystemWin32.cc} | 32 +- ...OST_SystemWin32.h => GHOST_SystemWin32.hh} | 2 +- ...GHOST_SystemX11.cpp => GHOST_SystemX11.cc} | 36 +-- .../{GHOST_SystemX11.h => GHOST_SystemX11.hh} | 2 +- ...T_TaskbarWin32.h => GHOST_TaskbarWin32.hh} | 0 ...OST_TaskbarX11.cpp => GHOST_TaskbarX11.cc} | 2 +- ...GHOST_TaskbarX11.h => GHOST_TaskbarX11.hh} | 0 ...TimerManager.cpp => GHOST_TimerManager.cc} | 4 +- ...T_TimerManager.h => GHOST_TimerManager.hh} | 0 .../{GHOST_TimerTask.h => GHOST_TimerTask.hh} | 2 +- ...ackpadWin32.cpp => GHOST_TrackpadWin32.cc} | 4 +- ...TrackpadWin32.h => GHOST_TrackpadWin32.hh} | 0 .../intern/{GHOST_Util.h => GHOST_Util.hh} | 0 ...tings.h => GHOST_WaylandCursorSettings.hh} | 0 ...T_WaylandUtils.h => GHOST_WaylandUtils.hh} | 0 .../{GHOST_Window.cpp => GHOST_Window.cc} | 4 +- .../{GHOST_Window.h => GHOST_Window.hh} | 2 +- ...OST_WindowCocoa.h => GHOST_WindowCocoa.hh} | 4 +- intern/ghost/intern/GHOST_WindowCocoa.mm | 16 +- ...ndowManager.cpp => GHOST_WindowManager.cc} | 6 +- ...WindowManager.h => GHOST_WindowManager.hh} | 4 +- ...GHOST_WindowNULL.h => GHOST_WindowNULL.hh} | 2 +- ...GHOST_WindowSDL.cpp => GHOST_WindowSDL.cc} | 4 +- .../{GHOST_WindowSDL.h => GHOST_WindowSDL.hh} | 4 +- ...owViewCocoa.h => GHOST_WindowViewCocoa.hh} | 0 ...ndowWayland.cpp => GHOST_WindowWayland.cc} | 18 +- ...WindowWayland.h => GHOST_WindowWayland.hh} | 2 +- ...T_WindowWin32.cpp => GHOST_WindowWin32.cc} | 16 +- ...OST_WindowWin32.h => GHOST_WindowWin32.hh} | 10 +- ...GHOST_WindowX11.cpp => GHOST_WindowX11.cc} | 18 +- .../{GHOST_WindowX11.h => GHOST_WindowX11.hh} | 6 +- .../{GHOST_Wintab.cpp => GHOST_Wintab.cc} | 2 +- .../{GHOST_Wintab.h => GHOST_Wintab.hh} | 0 .../intern/{GHOST_Xr.cpp => GHOST_Xr.cc} | 6 +- .../{GHOST_XrAction.cpp => GHOST_XrAction.cc} | 6 +- .../{GHOST_XrAction.h => GHOST_XrAction.hh} | 2 +- ...GHOST_XrContext.cpp => GHOST_XrContext.cc} | 8 +- .../{GHOST_XrContext.h => GHOST_XrContext.hh} | 4 +- ...erModel.cpp => GHOST_XrControllerModel.cc} | 6 +- ...llerModel.h => GHOST_XrControllerModel.hh} | 0 .../{GHOST_XrEvent.cpp => GHOST_XrEvent.cc} | 4 +- ...OST_XrException.h => GHOST_XrException.hh} | 0 ...Binding.cpp => GHOST_XrGraphicsBinding.cc} | 22 +- ...GHOST_XrSession.cpp => GHOST_XrSession.cc} | 16 +- .../{GHOST_XrSession.h => GHOST_XrSession.hh} | 2 +- ...T_XrSwapchain.cpp => GHOST_XrSwapchain.cc} | 10 +- ...OST_XrSwapchain.h => GHOST_XrSwapchain.hh} | 0 .../{GHOST_Xr_intern.h => GHOST_Xr_intern.hh} | 2 +- ...includes.h => GHOST_Xr_openxr_includes.hh} | 0 ...OST_utildefines.h => GHOST_utildefines.hh} | 2 +- ...riadic.h => GHOST_utildefines_variadic.hh} | 0 intern/ghost/test/gears/GHOST_Test.cpp | 8 +- source/blender/blenkernel/intern/appdir.c | 2 +- .../blender/blenkernel/intern/layer_test.cc | 2 +- .../tests/blendfile_loading_base_test.cc | 2 +- .../blender/gpu/metal/mtl_command_buffer.mm | 2 +- source/blender/gpu/metal/mtl_context.hh | 6 +- .../blender/windowmanager/intern/wm_files.cc | 2 +- .../windowmanager/intern/wm_init_exit.cc | 2 +- source/blender/windowmanager/wm_event_types.h | 2 +- 159 files changed, 514 insertions(+), 514 deletions(-) rename intern/ghost/{GHOST_IContext.h => GHOST_IContext.hh} (100%) rename intern/ghost/{GHOST_IEvent.h => GHOST_IEvent.hh} (100%) rename intern/ghost/{GHOST_IEventConsumer.h => GHOST_IEventConsumer.hh} (97%) rename intern/ghost/{GHOST_ISystem.h => GHOST_ISystem.hh} (98%) rename intern/ghost/{GHOST_ISystemPaths.h => GHOST_ISystemPaths.hh} (100%) rename intern/ghost/{GHOST_ITimerTask.h => GHOST_ITimerTask.hh} (100%) rename intern/ghost/{GHOST_IWindow.h => GHOST_IWindow.hh} (99%) rename intern/ghost/{GHOST_IXrContext.h => GHOST_IXrContext.hh} (100%) rename intern/ghost/{GHOST_Path-api.h => GHOST_Path-api.hh} (100%) rename intern/ghost/{GHOST_Rect.h => GHOST_Rect.hh} (100%) rename intern/ghost/intern/{GHOST_Buttons.cpp => GHOST_Buttons.cc} (98%) rename intern/ghost/intern/{GHOST_Buttons.h => GHOST_Buttons.hh} (100%) rename intern/ghost/intern/{GHOST_C-api.cpp => GHOST_C-api.cc} (99%) rename intern/ghost/intern/{GHOST_CallbackEventConsumer.cpp => GHOST_CallbackEventConsumer.cc} (89%) rename intern/ghost/intern/{GHOST_CallbackEventConsumer.h => GHOST_CallbackEventConsumer.hh} (97%) rename intern/ghost/intern/{GHOST_Context.cpp => GHOST_Context.cc} (99%) rename intern/ghost/intern/{GHOST_Context.h => GHOST_Context.hh} (99%) rename intern/ghost/intern/{GHOST_ContextCGL.h => GHOST_ContextCGL.hh} (99%) rename intern/ghost/intern/{GHOST_ContextD3D.cpp => GHOST_ContextD3D.cc} (99%) rename intern/ghost/intern/{GHOST_ContextD3D.h => GHOST_ContextD3D.hh} (99%) rename intern/ghost/intern/{GHOST_ContextEGL.cpp => GHOST_ContextEGL.cc} (99%) rename intern/ghost/intern/{GHOST_ContextEGL.h => GHOST_ContextEGL.hh} (98%) rename intern/ghost/intern/{GHOST_ContextGLX.cpp => GHOST_ContextGLX.cc} (99%) rename intern/ghost/intern/{GHOST_ContextGLX.h => GHOST_ContextGLX.hh} (99%) rename intern/ghost/intern/{GHOST_ContextNone.cpp => GHOST_ContextNone.cc} (96%) rename intern/ghost/intern/{GHOST_ContextNone.h => GHOST_ContextNone.hh} (97%) rename intern/ghost/intern/{GHOST_ContextSDL.cpp => GHOST_ContextSDL.cc} (99%) rename intern/ghost/intern/{GHOST_ContextSDL.h => GHOST_ContextSDL.hh} (99%) rename intern/ghost/intern/{GHOST_ContextVK.cpp => GHOST_ContextVK.cc} (99%) rename intern/ghost/intern/{GHOST_ContextVK.h => GHOST_ContextVK.hh} (97%) rename intern/ghost/intern/{GHOST_ContextWGL.cpp => GHOST_ContextWGL.cc} (99%) rename intern/ghost/intern/{GHOST_ContextWGL.h => GHOST_ContextWGL.hh} (99%) rename intern/ghost/intern/{GHOST_Debug.h => GHOST_Debug.hh} (100%) rename intern/ghost/intern/{GHOST_DisplayManager.cpp => GHOST_DisplayManager.cc} (98%) rename intern/ghost/intern/{GHOST_DisplayManager.h => GHOST_DisplayManager.hh} (100%) rename intern/ghost/intern/{GHOST_DisplayManagerCocoa.h => GHOST_DisplayManagerCocoa.hh} (98%) rename intern/ghost/intern/{GHOST_DisplayManagerNULL.h => GHOST_DisplayManagerNULL.hh} (94%) rename intern/ghost/intern/{GHOST_DisplayManagerSDL.cpp => GHOST_DisplayManagerSDL.cc} (97%) rename intern/ghost/intern/{GHOST_DisplayManagerSDL.h => GHOST_DisplayManagerSDL.hh} (96%) rename intern/ghost/intern/{GHOST_DisplayManagerWin32.cpp => GHOST_DisplayManagerWin32.cc} (98%) rename intern/ghost/intern/{GHOST_DisplayManagerWin32.h => GHOST_DisplayManagerWin32.hh} (98%) rename intern/ghost/intern/{GHOST_DisplayManagerX11.cpp => GHOST_DisplayManagerX11.cc} (98%) rename intern/ghost/intern/{GHOST_DisplayManagerX11.h => GHOST_DisplayManagerX11.hh} (98%) rename intern/ghost/intern/{GHOST_DropTargetWin32.cpp => GHOST_DropTargetWin32.cc} (99%) rename intern/ghost/intern/{GHOST_DropTargetWin32.h => GHOST_DropTargetWin32.hh} (98%) rename intern/ghost/intern/{GHOST_DropTargetX11.cpp => GHOST_DropTargetX11.cc} (97%) rename intern/ghost/intern/{GHOST_DropTargetX11.h => GHOST_DropTargetX11.hh} (97%) rename intern/ghost/intern/{GHOST_Event.h => GHOST_Event.hh} (98%) rename intern/ghost/intern/{GHOST_EventButton.h => GHOST_EventButton.hh} (95%) rename intern/ghost/intern/{GHOST_EventCursor.h => GHOST_EventCursor.hh} (97%) rename intern/ghost/intern/{GHOST_EventDragnDrop.h => GHOST_EventDragnDrop.hh} (99%) rename intern/ghost/intern/{GHOST_EventKey.h => GHOST_EventKey.hh} (98%) rename intern/ghost/intern/{GHOST_EventManager.cpp => GHOST_EventManager.cc} (98%) rename intern/ghost/intern/{GHOST_EventManager.h => GHOST_EventManager.hh} (98%) rename intern/ghost/intern/{GHOST_EventNDOF.h => GHOST_EventNDOF.hh} (96%) rename intern/ghost/intern/{GHOST_EventPrinter.cpp => GHOST_EventPrinter.cc} (98%) rename intern/ghost/intern/{GHOST_EventPrinter.h => GHOST_EventPrinter.hh} (96%) rename intern/ghost/intern/{GHOST_EventString.h => GHOST_EventString.hh} (97%) rename intern/ghost/intern/{GHOST_EventTrackpad.h => GHOST_EventTrackpad.hh} (98%) rename intern/ghost/intern/{GHOST_EventWheel.h => GHOST_EventWheel.hh} (97%) rename intern/ghost/intern/{GHOST_ISystem.cpp => GHOST_ISystem.cc} (94%) rename intern/ghost/intern/{GHOST_ISystemPaths.cpp => GHOST_ISystemPaths.cc} (88%) rename intern/ghost/intern/{GHOST_IXrGraphicsBinding.h => GHOST_IXrGraphicsBinding.hh} (98%) rename intern/ghost/intern/{GHOST_IconX11.h => GHOST_IconX11.hh} (100%) rename intern/ghost/intern/{GHOST_ImeWin32.cpp => GHOST_ImeWin32.cc} (99%) rename intern/ghost/intern/{GHOST_ImeWin32.h => GHOST_ImeWin32.hh} (99%) rename intern/ghost/intern/{GHOST_ModifierKeys.cpp => GHOST_ModifierKeys.cc} (98%) rename intern/ghost/intern/{GHOST_ModifierKeys.h => GHOST_ModifierKeys.hh} (100%) rename intern/ghost/intern/{GHOST_NDOFManager.cpp => GHOST_NDOFManager.cc} (99%) rename intern/ghost/intern/{GHOST_NDOFManager.h => GHOST_NDOFManager.hh} (99%) rename intern/ghost/intern/{GHOST_NDOFManagerCocoa.h => GHOST_NDOFManagerCocoa.hh} (91%) rename intern/ghost/intern/{GHOST_NDOFManagerUnix.cpp => GHOST_NDOFManagerUnix.cc} (98%) rename intern/ghost/intern/{GHOST_NDOFManagerUnix.h => GHOST_NDOFManagerUnix.hh} (92%) rename intern/ghost/intern/{GHOST_NDOFManagerWin32.cpp => GHOST_NDOFManagerWin32.cc} (91%) rename intern/ghost/intern/{GHOST_NDOFManagerWin32.h => GHOST_NDOFManagerWin32.hh} (85%) rename intern/ghost/intern/{GHOST_Path-api.cpp => GHOST_Path-api.cc} (93%) rename intern/ghost/intern/{GHOST_PathUtils.cpp => GHOST_PathUtils.cc} (98%) rename intern/ghost/intern/{GHOST_PathUtils.h => GHOST_PathUtils.hh} (100%) rename intern/ghost/intern/{GHOST_Rect.cpp => GHOST_Rect.cc} (98%) rename intern/ghost/intern/{GHOST_System.cpp => GHOST_System.cc} (98%) rename intern/ghost/intern/{GHOST_System.h => GHOST_System.hh} (98%) rename intern/ghost/intern/{GHOST_SystemCocoa.h => GHOST_SystemCocoa.hh} (99%) rename intern/ghost/intern/{GHOST_SystemHeadless.h => GHOST_SystemHeadless.hh} (96%) rename intern/ghost/intern/{GHOST_SystemPaths.h => GHOST_SystemPaths.hh} (97%) rename intern/ghost/intern/{GHOST_SystemPathsCocoa.h => GHOST_SystemPathsCocoa.hh} (97%) rename intern/ghost/intern/{GHOST_SystemPathsUnix.cpp => GHOST_SystemPathsUnix.cc} (98%) rename intern/ghost/intern/{GHOST_SystemPathsUnix.h => GHOST_SystemPathsUnix.hh} (98%) rename intern/ghost/intern/{GHOST_SystemPathsWin32.cpp => GHOST_SystemPathsWin32.cc} (98%) rename intern/ghost/intern/{GHOST_SystemPathsWin32.h => GHOST_SystemPathsWin32.hh} (98%) rename intern/ghost/intern/{GHOST_SystemSDL.cpp => GHOST_SystemSDL.cc} (98%) rename intern/ghost/intern/{GHOST_SystemSDL.h => GHOST_SystemSDL.hh} (93%) rename intern/ghost/intern/{GHOST_SystemWayland.cpp => GHOST_SystemWayland.cc} (99%) rename intern/ghost/intern/{GHOST_SystemWayland.h => GHOST_SystemWayland.hh} (99%) rename intern/ghost/intern/{GHOST_SystemWin32.cpp => GHOST_SystemWin32.cc} (99%) rename intern/ghost/intern/{GHOST_SystemWin32.h => GHOST_SystemWin32.hh} (99%) rename intern/ghost/intern/{GHOST_SystemX11.cpp => GHOST_SystemX11.cc} (99%) rename intern/ghost/intern/{GHOST_SystemX11.h => GHOST_SystemX11.hh} (99%) rename intern/ghost/intern/{GHOST_TaskbarWin32.h => GHOST_TaskbarWin32.hh} (100%) rename intern/ghost/intern/{GHOST_TaskbarX11.cpp => GHOST_TaskbarX11.cc} (98%) rename intern/ghost/intern/{GHOST_TaskbarX11.h => GHOST_TaskbarX11.hh} (100%) rename intern/ghost/intern/{GHOST_TimerManager.cpp => GHOST_TimerManager.cc} (97%) rename intern/ghost/intern/{GHOST_TimerManager.h => GHOST_TimerManager.hh} (100%) rename intern/ghost/intern/{GHOST_TimerTask.h => GHOST_TimerTask.hh} (99%) rename intern/ghost/intern/{GHOST_TrackpadWin32.cpp => GHOST_TrackpadWin32.cc} (99%) rename intern/ghost/intern/{GHOST_TrackpadWin32.h => GHOST_TrackpadWin32.hh} (100%) rename intern/ghost/intern/{GHOST_Util.h => GHOST_Util.hh} (100%) rename intern/ghost/intern/{GHOST_WaylandCursorSettings.h => GHOST_WaylandCursorSettings.hh} (100%) rename intern/ghost/intern/{GHOST_WaylandUtils.h => GHOST_WaylandUtils.hh} (100%) rename intern/ghost/intern/{GHOST_Window.cpp => GHOST_Window.cc} (99%) rename intern/ghost/intern/{GHOST_Window.h => GHOST_Window.hh} (99%) rename intern/ghost/intern/{GHOST_WindowCocoa.h => GHOST_WindowCocoa.hh} (99%) rename intern/ghost/intern/{GHOST_WindowManager.cpp => GHOST_WindowManager.cc} (97%) rename intern/ghost/intern/{GHOST_WindowManager.h => GHOST_WindowManager.hh} (98%) rename intern/ghost/intern/{GHOST_WindowNULL.h => GHOST_WindowNULL.hh} (99%) rename intern/ghost/intern/{GHOST_WindowSDL.cpp => GHOST_WindowSDL.cc} (99%) rename intern/ghost/intern/{GHOST_WindowSDL.h => GHOST_WindowSDL.hh} (98%) rename intern/ghost/intern/{GHOST_WindowViewCocoa.h => GHOST_WindowViewCocoa.hh} (100%) rename intern/ghost/intern/{GHOST_WindowWayland.cpp => GHOST_WindowWayland.cc} (99%) rename intern/ghost/intern/{GHOST_WindowWayland.h => GHOST_WindowWayland.hh} (99%) rename intern/ghost/intern/{GHOST_WindowWin32.cpp => GHOST_WindowWin32.cc} (99%) rename intern/ghost/intern/{GHOST_WindowWin32.h => GHOST_WindowWin32.hh} (98%) rename intern/ghost/intern/{GHOST_WindowX11.cpp => GHOST_WindowX11.cc} (99%) rename intern/ghost/intern/{GHOST_WindowX11.h => GHOST_WindowX11.hh} (98%) rename intern/ghost/intern/{GHOST_Wintab.cpp => GHOST_Wintab.cc} (99%) rename intern/ghost/intern/{GHOST_Wintab.h => GHOST_Wintab.hh} (100%) rename intern/ghost/intern/{GHOST_Xr.cpp => GHOST_Xr.cc} (91%) rename intern/ghost/intern/{GHOST_XrAction.cpp => GHOST_XrAction.cc} (99%) rename intern/ghost/intern/{GHOST_XrAction.h => GHOST_XrAction.hh} (99%) rename intern/ghost/intern/{GHOST_XrContext.cpp => GHOST_XrContext.cc} (99%) rename intern/ghost/intern/{GHOST_XrContext.h => GHOST_XrContext.hh} (98%) rename intern/ghost/intern/{GHOST_XrControllerModel.cpp => GHOST_XrControllerModel.cc} (99%) rename intern/ghost/intern/{GHOST_XrControllerModel.h => GHOST_XrControllerModel.hh} (100%) rename intern/ghost/intern/{GHOST_XrEvent.cpp => GHOST_XrEvent.cc} (95%) rename intern/ghost/intern/{GHOST_XrException.h => GHOST_XrException.hh} (100%) rename intern/ghost/intern/{GHOST_XrGraphicsBinding.cpp => GHOST_XrGraphicsBinding.cc} (98%) rename intern/ghost/intern/{GHOST_XrSession.cpp => GHOST_XrSession.cc} (99%) rename intern/ghost/intern/{GHOST_XrSession.h => GHOST_XrSession.hh} (99%) rename intern/ghost/intern/{GHOST_XrSwapchain.cpp => GHOST_XrSwapchain.cc} (96%) rename intern/ghost/intern/{GHOST_XrSwapchain.h => GHOST_XrSwapchain.hh} (100%) rename intern/ghost/intern/{GHOST_Xr_intern.h => GHOST_Xr_intern.hh} (97%) rename intern/ghost/intern/{GHOST_Xr_openxr_includes.h => GHOST_Xr_openxr_includes.hh} (100%) rename intern/ghost/intern/{GHOST_utildefines.h => GHOST_utildefines.hh} (99%) rename intern/ghost/intern/{GHOST_utildefines_variadic.h => GHOST_utildefines_variadic.hh} (100%) diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index f1b3ec87a83..b5d3c4f16a6 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -14,62 +14,62 @@ set(INC_SYS ) set(SRC - intern/GHOST_Buttons.cpp - intern/GHOST_C-api.cpp - intern/GHOST_CallbackEventConsumer.cpp - intern/GHOST_Context.cpp - intern/GHOST_ContextNone.cpp - intern/GHOST_DisplayManager.cpp - intern/GHOST_EventManager.cpp - intern/GHOST_ISystem.cpp - intern/GHOST_ISystemPaths.cpp - intern/GHOST_ModifierKeys.cpp - intern/GHOST_Path-api.cpp - intern/GHOST_PathUtils.cpp - intern/GHOST_Rect.cpp - intern/GHOST_System.cpp - intern/GHOST_TimerManager.cpp - intern/GHOST_Window.cpp - intern/GHOST_WindowManager.cpp + intern/GHOST_Buttons.cc + intern/GHOST_C-api.cc + intern/GHOST_CallbackEventConsumer.cc + intern/GHOST_Context.cc + intern/GHOST_ContextNone.cc + intern/GHOST_DisplayManager.cc + intern/GHOST_EventManager.cc + intern/GHOST_ISystem.cc + intern/GHOST_ISystemPaths.cc + intern/GHOST_ModifierKeys.cc + intern/GHOST_Path-api.cc + intern/GHOST_PathUtils.cc + intern/GHOST_Rect.cc + intern/GHOST_System.cc + intern/GHOST_TimerManager.cc + intern/GHOST_Window.cc + intern/GHOST_WindowManager.cc GHOST_C-api.h - GHOST_IContext.h - GHOST_IEvent.h - GHOST_IEventConsumer.h - GHOST_ISystem.h - GHOST_ISystemPaths.h - GHOST_ITimerTask.h - GHOST_IWindow.h - GHOST_Path-api.h - GHOST_Rect.h + GHOST_IContext.hh + GHOST_IEvent.hh + GHOST_IEventConsumer.hh + GHOST_ISystem.hh + GHOST_ISystemPaths.hh + GHOST_ITimerTask.hh + GHOST_IWindow.hh + GHOST_Path-api.hh + GHOST_Rect.hh GHOST_Types.h - intern/GHOST_Buttons.h - intern/GHOST_CallbackEventConsumer.h - intern/GHOST_Context.h - intern/GHOST_ContextNone.h - intern/GHOST_Debug.h - intern/GHOST_DisplayManager.h - intern/GHOST_Event.h - intern/GHOST_EventButton.h - intern/GHOST_EventCursor.h - intern/GHOST_EventDragnDrop.h - intern/GHOST_EventKey.h - intern/GHOST_EventManager.h - intern/GHOST_EventString.h - intern/GHOST_EventTrackpad.h - intern/GHOST_EventWheel.h - intern/GHOST_ModifierKeys.h - intern/GHOST_PathUtils.h - intern/GHOST_System.h - intern/GHOST_SystemPaths.h - intern/GHOST_TimerManager.h - intern/GHOST_TimerTask.h - intern/GHOST_Util.h - intern/GHOST_Window.h - intern/GHOST_WindowManager.h - intern/GHOST_utildefines.h - intern/GHOST_utildefines_variadic.h + intern/GHOST_Buttons.hh + intern/GHOST_CallbackEventConsumer.hh + intern/GHOST_Context.hh + intern/GHOST_ContextNone.hh + intern/GHOST_Debug.hh + intern/GHOST_DisplayManager.hh + intern/GHOST_Event.hh + intern/GHOST_EventButton.hh + intern/GHOST_EventCursor.hh + intern/GHOST_EventDragnDrop.hh + intern/GHOST_EventKey.hh + intern/GHOST_EventManager.hh + intern/GHOST_EventString.hh + intern/GHOST_EventTrackpad.hh + intern/GHOST_EventWheel.hh + intern/GHOST_ModifierKeys.hh + intern/GHOST_PathUtils.hh + intern/GHOST_System.hh + intern/GHOST_SystemPaths.hh + intern/GHOST_TimerManager.hh + intern/GHOST_TimerTask.hh + intern/GHOST_Util.hh + intern/GHOST_Window.hh + intern/GHOST_WindowManager.hh + intern/GHOST_utildefines.hh + intern/GHOST_utildefines_variadic.hh ) set(LIB @@ -78,9 +78,9 @@ set(LIB if(WITH_VULKAN_BACKEND) list(APPEND SRC - intern/GHOST_ContextVK.cpp + intern/GHOST_ContextVK.cc - intern/GHOST_ContextVK.h + intern/GHOST_ContextVK.hh ) list(APPEND INC_SYS @@ -98,9 +98,9 @@ endif() if(WITH_GHOST_DEBUG) list(APPEND SRC - intern/GHOST_EventPrinter.cpp + intern/GHOST_EventPrinter.cc - intern/GHOST_EventPrinter.h + intern/GHOST_EventPrinter.hh ) add_definitions(-DWITH_GHOST_DEBUG) endif() @@ -109,10 +109,10 @@ if(WITH_INPUT_NDOF) add_definitions(-DWITH_INPUT_NDOF) list(APPEND SRC - intern/GHOST_NDOFManager.cpp + intern/GHOST_NDOFManager.cc - intern/GHOST_EventNDOF.h - intern/GHOST_NDOFManager.h + intern/GHOST_EventNDOF.hh + intern/GHOST_NDOFManager.hh ) list(APPEND INC_SYS @@ -124,24 +124,24 @@ if(WITH_INPUT_NDOF) endif() list(APPEND SRC - intern/GHOST_DisplayManagerNULL.h - intern/GHOST_SystemHeadless.h - intern/GHOST_WindowNULL.h + intern/GHOST_DisplayManagerNULL.hh + intern/GHOST_SystemHeadless.hh + intern/GHOST_WindowNULL.hh ) if(WITH_HEADLESS) add_definitions(-DWITH_HEADLESS) elseif(WITH_GHOST_SDL) list(APPEND SRC - intern/GHOST_ContextSDL.cpp - intern/GHOST_DisplayManagerSDL.cpp - intern/GHOST_SystemSDL.cpp - intern/GHOST_WindowSDL.cpp + intern/GHOST_ContextSDL.cc + intern/GHOST_DisplayManagerSDL.cc + intern/GHOST_SystemSDL.cc + intern/GHOST_WindowSDL.cc - intern/GHOST_ContextSDL.h - intern/GHOST_DisplayManagerSDL.h - intern/GHOST_SystemSDL.h - intern/GHOST_WindowSDL.h + intern/GHOST_ContextSDL.hh + intern/GHOST_DisplayManagerSDL.hh + intern/GHOST_SystemSDL.hh + intern/GHOST_WindowSDL.hh ) add_definitions(-DWITH_GHOST_SDL) @@ -167,23 +167,23 @@ elseif(APPLE AND NOT WITH_GHOST_X11) intern/GHOST_SystemCocoa.mm intern/GHOST_WindowCocoa.mm - intern/GHOST_DisplayManagerCocoa.h - intern/GHOST_SystemCocoa.h - intern/GHOST_WindowCocoa.h - intern/GHOST_WindowViewCocoa.h + intern/GHOST_DisplayManagerCocoa.hh + intern/GHOST_SystemCocoa.hh + intern/GHOST_WindowCocoa.hh + intern/GHOST_WindowViewCocoa.hh ) list(APPEND SRC intern/GHOST_ContextCGL.mm - intern/GHOST_ContextCGL.h + intern/GHOST_ContextCGL.hh ) if(WITH_INPUT_NDOF) list(APPEND SRC intern/GHOST_NDOFManagerCocoa.mm - intern/GHOST_NDOFManagerCocoa.h + intern/GHOST_NDOFManagerCocoa.hh ) endif() @@ -199,22 +199,22 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND) ) list(APPEND SRC - intern/GHOST_DisplayManagerX11.cpp - intern/GHOST_SystemX11.cpp - intern/GHOST_TaskbarX11.cpp - intern/GHOST_WindowX11.cpp + intern/GHOST_DisplayManagerX11.cc + intern/GHOST_SystemX11.cc + intern/GHOST_TaskbarX11.cc + intern/GHOST_WindowX11.cc - intern/GHOST_DisplayManagerX11.h - intern/GHOST_IconX11.h - intern/GHOST_SystemX11.h - intern/GHOST_TaskbarX11.h - intern/GHOST_WindowX11.h + intern/GHOST_DisplayManagerX11.hh + intern/GHOST_IconX11.hh + intern/GHOST_SystemX11.hh + intern/GHOST_TaskbarX11.hh + intern/GHOST_WindowX11.hh ) list(APPEND SRC - intern/GHOST_ContextGLX.cpp + intern/GHOST_ContextGLX.cc - intern/GHOST_ContextGLX.h + intern/GHOST_ContextGLX.hh ) if(WITH_GHOST_XDND) @@ -229,9 +229,9 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND) ) list(APPEND SRC - intern/GHOST_DropTargetX11.cpp + intern/GHOST_DropTargetX11.cc - intern/GHOST_DropTargetX11.h + intern/GHOST_DropTargetX11.hh ) endif() @@ -336,13 +336,13 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND) endif() list(APPEND SRC - intern/GHOST_SystemWayland.cpp - intern/GHOST_WindowWayland.cpp + intern/GHOST_SystemWayland.cc + intern/GHOST_WindowWayland.cc - intern/GHOST_SystemWayland.h - intern/GHOST_WaylandCursorSettings.h - intern/GHOST_WaylandUtils.h - intern/GHOST_WindowWayland.h + intern/GHOST_SystemWayland.hh + intern/GHOST_WaylandCursorSettings.hh + intern/GHOST_WaylandUtils.hh + intern/GHOST_WindowWayland.hh ) set(INC_DST ${CMAKE_CURRENT_BINARY_DIR}/libwayland) @@ -441,9 +441,9 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND) if(WITH_INPUT_NDOF) list(APPEND SRC - intern/GHOST_NDOFManagerUnix.cpp + intern/GHOST_NDOFManagerUnix.cc - intern/GHOST_NDOFManagerUnix.h + intern/GHOST_NDOFManagerUnix.hh ) endif() @@ -463,67 +463,67 @@ elseif(WIN32) ) list(APPEND SRC - intern/GHOST_ContextD3D.cpp - intern/GHOST_DisplayManagerWin32.cpp - intern/GHOST_DropTargetWin32.cpp - intern/GHOST_SystemWin32.cpp - intern/GHOST_TrackpadWin32.cpp - intern/GHOST_WindowWin32.cpp - intern/GHOST_Wintab.cpp + intern/GHOST_ContextD3D.cc + intern/GHOST_DisplayManagerWin32.cc + intern/GHOST_DropTargetWin32.cc + intern/GHOST_SystemWin32.cc + intern/GHOST_TrackpadWin32.cc + intern/GHOST_WindowWin32.cc + intern/GHOST_Wintab.cc - intern/GHOST_ContextD3D.h - intern/GHOST_DisplayManagerWin32.h - intern/GHOST_DropTargetWin32.h - intern/GHOST_SystemWin32.h - intern/GHOST_TaskbarWin32.h - intern/GHOST_TrackpadWin32.h - intern/GHOST_WindowWin32.h - intern/GHOST_Wintab.h + intern/GHOST_ContextD3D.hh + intern/GHOST_DisplayManagerWin32.hh + intern/GHOST_DropTargetWin32.hh + intern/GHOST_SystemWin32.hh + intern/GHOST_TaskbarWin32.hh + intern/GHOST_TrackpadWin32.hh + intern/GHOST_WindowWin32.hh + intern/GHOST_Wintab.hh ) list(APPEND SRC - intern/GHOST_ContextWGL.cpp + intern/GHOST_ContextWGL.cc - intern/GHOST_ContextWGL.h + intern/GHOST_ContextWGL.hh ) if(WITH_INPUT_IME) add_definitions(-DWITH_INPUT_IME) list(APPEND SRC - intern/GHOST_ImeWin32.cpp + intern/GHOST_ImeWin32.cc - intern/GHOST_ImeWin32.h + intern/GHOST_ImeWin32.hh ) endif() if(WITH_INPUT_NDOF) list(APPEND SRC - intern/GHOST_NDOFManagerWin32.cpp + intern/GHOST_NDOFManagerWin32.cc - intern/GHOST_NDOFManagerWin32.h + intern/GHOST_NDOFManagerWin32.hh ) endif() endif() if(UNIX AND NOT APPLE) list(APPEND SRC - intern/GHOST_ContextEGL.cpp + intern/GHOST_ContextEGL.cc - intern/GHOST_ContextEGL.h + intern/GHOST_ContextEGL.hh ) endif() if(APPLE) list(APPEND SRC - intern/GHOST_SystemPathsCocoa.h + intern/GHOST_SystemPathsCocoa.hh intern/GHOST_SystemPathsCocoa.mm ) elseif(UNIX) list(APPEND SRC - intern/GHOST_SystemPathsUnix.cpp - intern/GHOST_SystemPathsUnix.h + intern/GHOST_SystemPathsUnix.cc + intern/GHOST_SystemPathsUnix.hh ) if(NOT WITH_INSTALL_PORTABLE) @@ -532,8 +532,8 @@ elseif(UNIX) elseif(WIN32) list(APPEND SRC - intern/GHOST_SystemPathsWin32.cpp - intern/GHOST_SystemPathsWin32.h + intern/GHOST_SystemPathsWin32.cc + intern/GHOST_SystemPathsWin32.hh ) list(APPEND INC @@ -544,25 +544,25 @@ endif() if(WITH_XR_OPENXR) list(APPEND SRC - intern/GHOST_Xr.cpp - intern/GHOST_XrAction.cpp - intern/GHOST_XrContext.cpp - intern/GHOST_XrControllerModel.cpp - intern/GHOST_XrEvent.cpp - intern/GHOST_XrGraphicsBinding.cpp - intern/GHOST_XrSession.cpp - intern/GHOST_XrSwapchain.cpp + intern/GHOST_Xr.cc + intern/GHOST_XrAction.cc + intern/GHOST_XrContext.cc + intern/GHOST_XrControllerModel.cc + intern/GHOST_XrEvent.cc + intern/GHOST_XrGraphicsBinding.cc + intern/GHOST_XrSession.cc + intern/GHOST_XrSwapchain.cc - GHOST_IXrContext.h - intern/GHOST_IXrGraphicsBinding.h - intern/GHOST_XrAction.h - intern/GHOST_XrContext.h - intern/GHOST_XrControllerModel.h - intern/GHOST_XrException.h - intern/GHOST_XrSession.h - intern/GHOST_XrSwapchain.h - intern/GHOST_Xr_intern.h - intern/GHOST_Xr_openxr_includes.h + GHOST_IXrContext.hh + intern/GHOST_IXrGraphicsBinding.hh + intern/GHOST_XrAction.hh + intern/GHOST_XrContext.hh + intern/GHOST_XrControllerModel.hh + intern/GHOST_XrException.hh + intern/GHOST_XrSession.hh + intern/GHOST_XrSwapchain.hh + intern/GHOST_Xr_intern.hh + intern/GHOST_Xr_openxr_includes.hh # Header only library. ../../extern/tinygltf/tiny_gltf.h diff --git a/intern/ghost/GHOST_IContext.h b/intern/ghost/GHOST_IContext.hh similarity index 100% rename from intern/ghost/GHOST_IContext.h rename to intern/ghost/GHOST_IContext.hh diff --git a/intern/ghost/GHOST_IEvent.h b/intern/ghost/GHOST_IEvent.hh similarity index 100% rename from intern/ghost/GHOST_IEvent.h rename to intern/ghost/GHOST_IEvent.hh diff --git a/intern/ghost/GHOST_IEventConsumer.h b/intern/ghost/GHOST_IEventConsumer.hh similarity index 97% rename from intern/ghost/GHOST_IEventConsumer.h rename to intern/ghost/GHOST_IEventConsumer.hh index eb07a3fde05..c9d111ca499 100644 --- a/intern/ghost/GHOST_IEventConsumer.h +++ b/intern/ghost/GHOST_IEventConsumer.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_IEvent.h" +#include "GHOST_IEvent.hh" /** * Interface class for objects interested in receiving events. diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.hh similarity index 98% rename from intern/ghost/GHOST_ISystem.h rename to intern/ghost/GHOST_ISystem.hh index 83828fb43c6..de36dd19e93 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.hh @@ -12,9 +12,9 @@ #include -#include "GHOST_IContext.h" -#include "GHOST_ITimerTask.h" -#include "GHOST_IWindow.h" +#include "GHOST_IContext.hh" +#include "GHOST_ITimerTask.hh" +#include "GHOST_IWindow.hh" #include "GHOST_Types.h" class GHOST_IEventConsumer; @@ -77,12 +77,12 @@ class GHOST_IEventConsumer; * * \subsection cplusplus_api The C++ API consists of the following files: * - * - GHOST_IEvent.h - * - GHOST_IEventConsumer.h - * - GHOST_ISystem.h - * - GHOST_ITimerTask.h - * - GHOST_IWindow.h - * - GHOST_Rect.h + * - GHOST_IEvent.hh + * - GHOST_IEventConsumer.hh + * - GHOST_ISystem.hh + * - GHOST_ITimerTask.hh + * - GHOST_IWindow.hh + * - GHOST_Rect.hh * - GHOST_Types.h * * For an example of using the C++-API, have a look at the GHOST_C-Test.cpp diff --git a/intern/ghost/GHOST_ISystemPaths.h b/intern/ghost/GHOST_ISystemPaths.hh similarity index 100% rename from intern/ghost/GHOST_ISystemPaths.h rename to intern/ghost/GHOST_ISystemPaths.hh diff --git a/intern/ghost/GHOST_ITimerTask.h b/intern/ghost/GHOST_ITimerTask.hh similarity index 100% rename from intern/ghost/GHOST_ITimerTask.h rename to intern/ghost/GHOST_ITimerTask.hh diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.hh similarity index 99% rename from intern/ghost/GHOST_IWindow.h rename to intern/ghost/GHOST_IWindow.hh index a8092c40ea7..dfbc3ef76c6 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Rect.h" +#include "GHOST_Rect.hh" #include "GHOST_Types.h" #include diff --git a/intern/ghost/GHOST_IXrContext.h b/intern/ghost/GHOST_IXrContext.hh similarity index 100% rename from intern/ghost/GHOST_IXrContext.h rename to intern/ghost/GHOST_IXrContext.hh diff --git a/intern/ghost/GHOST_Path-api.h b/intern/ghost/GHOST_Path-api.hh similarity index 100% rename from intern/ghost/GHOST_Path-api.h rename to intern/ghost/GHOST_Path-api.hh diff --git a/intern/ghost/GHOST_Rect.h b/intern/ghost/GHOST_Rect.hh similarity index 100% rename from intern/ghost/GHOST_Rect.h rename to intern/ghost/GHOST_Rect.hh diff --git a/intern/ghost/intern/GHOST_Buttons.cpp b/intern/ghost/intern/GHOST_Buttons.cc similarity index 98% rename from intern/ghost/intern/GHOST_Buttons.cpp rename to intern/ghost/intern/GHOST_Buttons.cc index a5b3a8fb524..96aa361293b 100644 --- a/intern/ghost/intern/GHOST_Buttons.cpp +++ b/intern/ghost/intern/GHOST_Buttons.cc @@ -5,7 +5,7 @@ * \ingroup GHOST */ -#include "GHOST_Buttons.h" +#include "GHOST_Buttons.hh" GHOST_Buttons::GHOST_Buttons() { diff --git a/intern/ghost/intern/GHOST_Buttons.h b/intern/ghost/intern/GHOST_Buttons.hh similarity index 100% rename from intern/ghost/intern/GHOST_Buttons.h rename to intern/ghost/intern/GHOST_Buttons.hh diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cc similarity index 99% rename from intern/ghost/intern/GHOST_C-api.cpp rename to intern/ghost/intern/GHOST_C-api.cc index 00436ceb4cc..9b9d9465811 100644 --- a/intern/ghost/intern/GHOST_C-api.cpp +++ b/intern/ghost/intern/GHOST_C-api.cc @@ -11,16 +11,16 @@ #include #include "GHOST_C-api.h" -#include "GHOST_IEvent.h" -#include "GHOST_IEventConsumer.h" -#include "GHOST_ISystem.h" -#include "intern/GHOST_Debug.h" +#include "GHOST_IEvent.hh" +#include "GHOST_IEventConsumer.hh" +#include "GHOST_ISystem.hh" +#include "intern/GHOST_Debug.hh" #ifdef WITH_XR_OPENXR -# include "GHOST_IXrContext.h" -# include "intern/GHOST_XrSession.h" +# include "GHOST_IXrContext.hh" +# include "intern/GHOST_XrSession.hh" #endif -#include "intern/GHOST_CallbackEventConsumer.h" -#include "intern/GHOST_XrException.h" +#include "intern/GHOST_CallbackEventConsumer.hh" +#include "intern/GHOST_XrException.hh" GHOST_SystemHandle GHOST_CreateSystem(void) { diff --git a/intern/ghost/intern/GHOST_CallbackEventConsumer.cpp b/intern/ghost/intern/GHOST_CallbackEventConsumer.cc similarity index 89% rename from intern/ghost/intern/GHOST_CallbackEventConsumer.cpp rename to intern/ghost/intern/GHOST_CallbackEventConsumer.cc index 9f14d56cd9a..d47a1394306 100644 --- a/intern/ghost/intern/GHOST_CallbackEventConsumer.cpp +++ b/intern/ghost/intern/GHOST_CallbackEventConsumer.cc @@ -9,9 +9,9 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_CallbackEventConsumer.h" +#include "GHOST_CallbackEventConsumer.hh" #include "GHOST_C-api.h" -#include "GHOST_Debug.h" +#include "GHOST_Debug.hh" GHOST_CallbackEventConsumer::GHOST_CallbackEventConsumer(GHOST_EventCallbackProcPtr eventCallback, GHOST_TUserDataPtr userData) diff --git a/intern/ghost/intern/GHOST_CallbackEventConsumer.h b/intern/ghost/intern/GHOST_CallbackEventConsumer.hh similarity index 97% rename from intern/ghost/intern/GHOST_CallbackEventConsumer.h rename to intern/ghost/intern/GHOST_CallbackEventConsumer.hh index cb8676c6f2e..30b525e8d2e 100644 --- a/intern/ghost/intern/GHOST_CallbackEventConsumer.h +++ b/intern/ghost/intern/GHOST_CallbackEventConsumer.hh @@ -9,7 +9,7 @@ #pragma once #include "GHOST_C-api.h" -#include "GHOST_IEventConsumer.h" +#include "GHOST_IEventConsumer.hh" /** * Event consumer that will forward events to a call-back routine. diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cc similarity index 99% rename from intern/ghost/intern/GHOST_Context.cpp rename to intern/ghost/intern/GHOST_Context.cc index 6a670e51deb..cb7bfa61fd8 100644 --- a/intern/ghost/intern/GHOST_Context.cpp +++ b/intern/ghost/intern/GHOST_Context.cc @@ -7,7 +7,7 @@ * Definition of GHOST_Context class. */ -#include "GHOST_Context.h" +#include "GHOST_Context.hh" #ifdef _WIN32 # include diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.hh similarity index 99% rename from intern/ghost/intern/GHOST_Context.h rename to intern/ghost/intern/GHOST_Context.hh index 82972b81468..e79f2847fe8 100644 --- a/intern/ghost/intern/GHOST_Context.h +++ b/intern/ghost/intern/GHOST_Context.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_IContext.h" +#include "GHOST_IContext.hh" #include "GHOST_Types.h" #include diff --git a/intern/ghost/intern/GHOST_ContextCGL.h b/intern/ghost/intern/GHOST_ContextCGL.hh similarity index 99% rename from intern/ghost/intern/GHOST_ContextCGL.h rename to intern/ghost/intern/GHOST_ContextCGL.hh index 2cc35a5d13e..f0ec062bf4b 100644 --- a/intern/ghost/intern/GHOST_ContextCGL.h +++ b/intern/ghost/intern/GHOST_ContextCGL.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_Context.h" +#include "GHOST_Context.hh" #include #include diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm index 9335dc6cd19..200e4ac2c3d 100644 --- a/intern/ghost/intern/GHOST_ContextCGL.mm +++ b/intern/ghost/intern/GHOST_ContextCGL.mm @@ -13,7 +13,7 @@ # pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -#include "GHOST_ContextCGL.h" +#include "GHOST_ContextCGL.hh" #include #include diff --git a/intern/ghost/intern/GHOST_ContextD3D.cpp b/intern/ghost/intern/GHOST_ContextD3D.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextD3D.cpp rename to intern/ghost/intern/GHOST_ContextD3D.cc index 53bb73ba258..4a7bac01741 100644 --- a/intern/ghost/intern/GHOST_ContextD3D.cpp +++ b/intern/ghost/intern/GHOST_ContextD3D.cc @@ -12,8 +12,8 @@ #include -#include "GHOST_ContextD3D.h" -#include "GHOST_ContextWGL.h" /* For shared drawing */ +#include "GHOST_ContextD3D.hh" +#include "GHOST_ContextWGL.hh" /* For shared drawing */ HMODULE GHOST_ContextD3D::s_d3d_lib = NULL; PFN_D3D11_CREATE_DEVICE GHOST_ContextD3D::s_D3D11CreateDeviceFn = NULL; diff --git a/intern/ghost/intern/GHOST_ContextD3D.h b/intern/ghost/intern/GHOST_ContextD3D.hh similarity index 99% rename from intern/ghost/intern/GHOST_ContextD3D.h rename to intern/ghost/intern/GHOST_ContextD3D.hh index c97064d9cce..f52d34bfedb 100644 --- a/intern/ghost/intern/GHOST_ContextD3D.h +++ b/intern/ghost/intern/GHOST_ContextD3D.hh @@ -12,7 +12,7 @@ #include -#include "GHOST_Context.h" +#include "GHOST_Context.hh" class GHOST_ContextD3D : public GHOST_Context { /* XR code needs low level graphics data to send to OpenXR. */ diff --git a/intern/ghost/intern/GHOST_ContextEGL.cpp b/intern/ghost/intern/GHOST_ContextEGL.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextEGL.cpp rename to intern/ghost/intern/GHOST_ContextEGL.cc index ca19a2e0e15..91f86bbd262 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.cpp +++ b/intern/ghost/intern/GHOST_ContextEGL.cc @@ -7,7 +7,7 @@ * Definition of GHOST_ContextEGL class. */ -#include "GHOST_ContextEGL.h" +#include "GHOST_ContextEGL.hh" #include #include diff --git a/intern/ghost/intern/GHOST_ContextEGL.h b/intern/ghost/intern/GHOST_ContextEGL.hh similarity index 98% rename from intern/ghost/intern/GHOST_ContextEGL.h rename to intern/ghost/intern/GHOST_ContextEGL.hh index 931f55164f2..4fae6487d4d 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.h +++ b/intern/ghost/intern/GHOST_ContextEGL.hh @@ -7,8 +7,8 @@ #pragma once -#include "GHOST_Context.h" -#include "GHOST_System.h" +#include "GHOST_Context.hh" +#include "GHOST_System.hh" #include #include diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextGLX.cpp rename to intern/ghost/intern/GHOST_ContextGLX.cc index d4e5c39a01e..04021d05cda 100644 --- a/intern/ghost/intern/GHOST_ContextGLX.cpp +++ b/intern/ghost/intern/GHOST_ContextGLX.cc @@ -7,8 +7,8 @@ * Definition of GHOST_ContextGLX class. */ -#include "GHOST_ContextGLX.h" -#include "GHOST_SystemX11.h" +#include "GHOST_ContextGLX.hh" +#include "GHOST_SystemX11.hh" #include diff --git a/intern/ghost/intern/GHOST_ContextGLX.h b/intern/ghost/intern/GHOST_ContextGLX.hh similarity index 99% rename from intern/ghost/intern/GHOST_ContextGLX.h rename to intern/ghost/intern/GHOST_ContextGLX.hh index 448d6c16ef4..5df74464242 100644 --- a/intern/ghost/intern/GHOST_ContextGLX.h +++ b/intern/ghost/intern/GHOST_ContextGLX.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_Context.h" +#include "GHOST_Context.hh" #include diff --git a/intern/ghost/intern/GHOST_ContextNone.cpp b/intern/ghost/intern/GHOST_ContextNone.cc similarity index 96% rename from intern/ghost/intern/GHOST_ContextNone.cpp rename to intern/ghost/intern/GHOST_ContextNone.cc index 24c9deb04c8..d8cb9505200 100644 --- a/intern/ghost/intern/GHOST_ContextNone.cpp +++ b/intern/ghost/intern/GHOST_ContextNone.cc @@ -7,7 +7,7 @@ * Definition of GHOST_ContextNone class. */ -#include "GHOST_ContextNone.h" +#include "GHOST_ContextNone.hh" GHOST_TSuccess GHOST_ContextNone::swapBuffers() { diff --git a/intern/ghost/intern/GHOST_ContextNone.h b/intern/ghost/intern/GHOST_ContextNone.hh similarity index 97% rename from intern/ghost/intern/GHOST_ContextNone.h rename to intern/ghost/intern/GHOST_ContextNone.hh index ac8b5ae6478..06983caff11 100644 --- a/intern/ghost/intern/GHOST_ContextNone.h +++ b/intern/ghost/intern/GHOST_ContextNone.hh @@ -9,7 +9,7 @@ #pragma once -#include "GHOST_Context.h" +#include "GHOST_Context.hh" class GHOST_ContextNone : public GHOST_Context { public: diff --git a/intern/ghost/intern/GHOST_ContextSDL.cpp b/intern/ghost/intern/GHOST_ContextSDL.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextSDL.cpp rename to intern/ghost/intern/GHOST_ContextSDL.cc index d06ece6e75c..a0450c065dd 100644 --- a/intern/ghost/intern/GHOST_ContextSDL.cpp +++ b/intern/ghost/intern/GHOST_ContextSDL.cc @@ -7,7 +7,7 @@ * Definition of GHOST_ContextSDL class. */ -#include "GHOST_ContextSDL.h" +#include "GHOST_ContextSDL.hh" #include diff --git a/intern/ghost/intern/GHOST_ContextSDL.h b/intern/ghost/intern/GHOST_ContextSDL.hh similarity index 99% rename from intern/ghost/intern/GHOST_ContextSDL.h rename to intern/ghost/intern/GHOST_ContextSDL.hh index 56bc39a7e59..ad6db6b63a0 100644 --- a/intern/ghost/intern/GHOST_ContextSDL.h +++ b/intern/ghost/intern/GHOST_ContextSDL.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_Context.h" +#include "GHOST_Context.hh" extern "C" { #include "SDL.h" diff --git a/intern/ghost/intern/GHOST_ContextVK.cpp b/intern/ghost/intern/GHOST_ContextVK.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextVK.cpp rename to intern/ghost/intern/GHOST_ContextVK.cc index b6d64b157eb..d1dc8083955 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cpp +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -4,7 +4,7 @@ * \ingroup GHOST */ -#include "GHOST_ContextVK.h" +#include "GHOST_ContextVK.hh" #ifdef _WIN32 # include diff --git a/intern/ghost/intern/GHOST_ContextVK.h b/intern/ghost/intern/GHOST_ContextVK.hh similarity index 97% rename from intern/ghost/intern/GHOST_ContextVK.h rename to intern/ghost/intern/GHOST_ContextVK.hh index 1fdf6658a82..aa8af898b1b 100644 --- a/intern/ghost/intern/GHOST_ContextVK.h +++ b/intern/ghost/intern/GHOST_ContextVK.hh @@ -6,16 +6,16 @@ #pragma once -#include "GHOST_Context.h" +#include "GHOST_Context.hh" #ifdef _WIN32 -# include "GHOST_SystemWin32.h" +# include "GHOST_SystemWin32.hh" #elif defined(__APPLE__) -# include "GHOST_SystemCocoa.h" +# include "GHOST_SystemCocoa.hh" #else -# include "GHOST_SystemX11.h" +# include "GHOST_SystemX11.hh" # ifdef WITH_GHOST_WAYLAND -# include "GHOST_SystemWayland.h" +# include "GHOST_SystemWayland.hh" # else # define wl_surface void # define wl_display void diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cc similarity index 99% rename from intern/ghost/intern/GHOST_ContextWGL.cpp rename to intern/ghost/intern/GHOST_ContextWGL.cc index 3a33475d71a..dcf877106fd 100644 --- a/intern/ghost/intern/GHOST_ContextWGL.cpp +++ b/intern/ghost/intern/GHOST_ContextWGL.cc @@ -7,7 +7,7 @@ * Definition of GHOST_ContextWGL class. */ -#include "GHOST_ContextWGL.h" +#include "GHOST_ContextWGL.hh" #include diff --git a/intern/ghost/intern/GHOST_ContextWGL.h b/intern/ghost/intern/GHOST_ContextWGL.hh similarity index 99% rename from intern/ghost/intern/GHOST_ContextWGL.h rename to intern/ghost/intern/GHOST_ContextWGL.hh index 23d5382d7ac..943dba7c89a 100644 --- a/intern/ghost/intern/GHOST_ContextWGL.h +++ b/intern/ghost/intern/GHOST_ContextWGL.hh @@ -9,7 +9,7 @@ //#define WIN32_COMPOSITING -#include "GHOST_Context.h" +#include "GHOST_Context.hh" #include diff --git a/intern/ghost/intern/GHOST_Debug.h b/intern/ghost/intern/GHOST_Debug.hh similarity index 100% rename from intern/ghost/intern/GHOST_Debug.h rename to intern/ghost/intern/GHOST_Debug.hh diff --git a/intern/ghost/intern/GHOST_DisplayManager.cpp b/intern/ghost/intern/GHOST_DisplayManager.cc similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManager.cpp rename to intern/ghost/intern/GHOST_DisplayManager.cc index dfc1dd9aa49..42a816b645a 100644 --- a/intern/ghost/intern/GHOST_DisplayManager.cpp +++ b/intern/ghost/intern/GHOST_DisplayManager.cc @@ -9,8 +9,8 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_DisplayManager.h" -#include "GHOST_Debug.h" +#include "GHOST_DisplayManager.hh" +#include "GHOST_Debug.hh" GHOST_DisplayManager::GHOST_DisplayManager() : m_settingsInitialized(false) {} diff --git a/intern/ghost/intern/GHOST_DisplayManager.h b/intern/ghost/intern/GHOST_DisplayManager.hh similarity index 100% rename from intern/ghost/intern/GHOST_DisplayManager.h rename to intern/ghost/intern/GHOST_DisplayManager.hh diff --git a/intern/ghost/intern/GHOST_DisplayManagerCocoa.h b/intern/ghost/intern/GHOST_DisplayManagerCocoa.hh similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManagerCocoa.h rename to intern/ghost/intern/GHOST_DisplayManagerCocoa.hh index 7106db314ea..b68946861b0 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerCocoa.h +++ b/intern/ghost/intern/GHOST_DisplayManagerCocoa.hh @@ -12,7 +12,7 @@ # error Apple only! #endif // __APPLE__ -#include "GHOST_DisplayManager.h" +#include "GHOST_DisplayManager.hh" /** * Manages system displays (Mac OSX/Cocoa implementation). diff --git a/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm b/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm index fba0795ee2b..09d8f09d956 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm +++ b/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm @@ -3,8 +3,8 @@ #include -#include "GHOST_Debug.h" -#include "GHOST_DisplayManagerCocoa.h" +#include "GHOST_Debug.hh" +#include "GHOST_DisplayManagerCocoa.hh" // We do not support multiple monitors at the moment diff --git a/intern/ghost/intern/GHOST_DisplayManagerNULL.h b/intern/ghost/intern/GHOST_DisplayManagerNULL.hh similarity index 94% rename from intern/ghost/intern/GHOST_DisplayManagerNULL.h rename to intern/ghost/intern/GHOST_DisplayManagerNULL.hh index dbef4fafd8f..9b6c39e570a 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerNULL.h +++ b/intern/ghost/intern/GHOST_DisplayManagerNULL.hh @@ -7,8 +7,8 @@ #pragma once -#include "GHOST_DisplayManager.h" -#include "GHOST_SystemHeadless.h" +#include "GHOST_DisplayManager.hh" +#include "GHOST_SystemHeadless.hh" class GHOST_SystemHeadless; diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp b/intern/ghost/intern/GHOST_DisplayManagerSDL.cc similarity index 97% rename from intern/ghost/intern/GHOST_DisplayManagerSDL.cpp rename to intern/ghost/intern/GHOST_DisplayManagerSDL.cc index eed437adc6c..9387b716061 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp +++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.cc @@ -8,10 +8,10 @@ * \ingroup GHOST */ -#include "GHOST_DisplayManagerSDL.h" -#include "GHOST_SystemSDL.h" +#include "GHOST_DisplayManagerSDL.hh" +#include "GHOST_SystemSDL.hh" -#include "GHOST_WindowManager.h" +#include "GHOST_WindowManager.hh" GHOST_DisplayManagerSDL::GHOST_DisplayManagerSDL(GHOST_SystemSDL *system) : GHOST_DisplayManager(), m_system(system) diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.h b/intern/ghost/intern/GHOST_DisplayManagerSDL.hh similarity index 96% rename from intern/ghost/intern/GHOST_DisplayManagerSDL.h rename to intern/ghost/intern/GHOST_DisplayManagerSDL.hh index 266eb9b8455..58dda0acfea 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerSDL.h +++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_DisplayManager.h" +#include "GHOST_DisplayManager.hh" extern "C" { #include "SDL.h" diff --git a/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp b/intern/ghost/intern/GHOST_DisplayManagerWin32.cc similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManagerWin32.cpp rename to intern/ghost/intern/GHOST_DisplayManagerWin32.cc index ce107016877..69624dcf8b2 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp +++ b/intern/ghost/intern/GHOST_DisplayManagerWin32.cc @@ -5,8 +5,8 @@ * \ingroup GHOST */ -#include "GHOST_DisplayManagerWin32.h" -#include "GHOST_Debug.h" +#include "GHOST_DisplayManagerWin32.hh" +#include "GHOST_Debug.hh" #define WIN32_LEAN_AND_MEAN #include diff --git a/intern/ghost/intern/GHOST_DisplayManagerWin32.h b/intern/ghost/intern/GHOST_DisplayManagerWin32.hh similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManagerWin32.h rename to intern/ghost/intern/GHOST_DisplayManagerWin32.hh index 387867d2a5d..b1f62ab98e4 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerWin32.h +++ b/intern/ghost/intern/GHOST_DisplayManagerWin32.hh @@ -12,7 +12,7 @@ # error WIN32 only! #endif // WIN32 -#include "GHOST_DisplayManager.h" +#include "GHOST_DisplayManager.hh" /** * Manages system displays (WIN32 implementation). diff --git a/intern/ghost/intern/GHOST_DisplayManagerX11.cpp b/intern/ghost/intern/GHOST_DisplayManagerX11.cc similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManagerX11.cpp rename to intern/ghost/intern/GHOST_DisplayManagerX11.cc index 53189c6551b..a6a632a1efb 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerX11.cpp +++ b/intern/ghost/intern/GHOST_DisplayManagerX11.cc @@ -14,8 +14,8 @@ # include #endif -#include "GHOST_DisplayManagerX11.h" -#include "GHOST_SystemX11.h" +#include "GHOST_DisplayManagerX11.hh" +#include "GHOST_SystemX11.hh" GHOST_DisplayManagerX11::GHOST_DisplayManagerX11(GHOST_SystemX11 *system) : GHOST_DisplayManager(), m_system(system) diff --git a/intern/ghost/intern/GHOST_DisplayManagerX11.h b/intern/ghost/intern/GHOST_DisplayManagerX11.hh similarity index 98% rename from intern/ghost/intern/GHOST_DisplayManagerX11.h rename to intern/ghost/intern/GHOST_DisplayManagerX11.hh index 497759cb8af..76deeac1a7d 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerX11.h +++ b/intern/ghost/intern/GHOST_DisplayManagerX11.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_DisplayManager.h" +#include "GHOST_DisplayManager.hh" class GHOST_SystemX11; diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.cpp b/intern/ghost/intern/GHOST_DropTargetWin32.cc similarity index 99% rename from intern/ghost/intern/GHOST_DropTargetWin32.cpp rename to intern/ghost/intern/GHOST_DropTargetWin32.cc index c2c58d1867c..b21bd5fabad 100644 --- a/intern/ghost/intern/GHOST_DropTargetWin32.cpp +++ b/intern/ghost/intern/GHOST_DropTargetWin32.cc @@ -5,8 +5,8 @@ * \ingroup GHOST */ -#include "GHOST_DropTargetWin32.h" -#include "GHOST_Debug.h" +#include "GHOST_DropTargetWin32.hh" +#include "GHOST_Debug.hh" #include #include "utf_winfunc.h" diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.h b/intern/ghost/intern/GHOST_DropTargetWin32.hh similarity index 98% rename from intern/ghost/intern/GHOST_DropTargetWin32.h rename to intern/ghost/intern/GHOST_DropTargetWin32.hh index 03e5492fcb1..c7355baa23e 100644 --- a/intern/ghost/intern/GHOST_DropTargetWin32.h +++ b/intern/ghost/intern/GHOST_DropTargetWin32.hh @@ -7,8 +7,8 @@ #pragma once -#include "GHOST_SystemWin32.h" -#include "GHOST_WindowWin32.h" +#include "GHOST_SystemWin32.hh" +#include "GHOST_WindowWin32.hh" #include #include diff --git a/intern/ghost/intern/GHOST_DropTargetX11.cpp b/intern/ghost/intern/GHOST_DropTargetX11.cc similarity index 97% rename from intern/ghost/intern/GHOST_DropTargetX11.cpp rename to intern/ghost/intern/GHOST_DropTargetX11.cc index 7595f31c2e1..f3b42a1da93 100644 --- a/intern/ghost/intern/GHOST_DropTargetX11.cpp +++ b/intern/ghost/intern/GHOST_DropTargetX11.cc @@ -5,10 +5,10 @@ * \ingroup GHOST */ -#include "GHOST_DropTargetX11.h" -#include "GHOST_Debug.h" -#include "GHOST_PathUtils.h" -#include "GHOST_utildefines.h" +#include "GHOST_DropTargetX11.hh" +#include "GHOST_Debug.hh" +#include "GHOST_PathUtils.hh" +#include "GHOST_utildefines.hh" #include #include diff --git a/intern/ghost/intern/GHOST_DropTargetX11.h b/intern/ghost/intern/GHOST_DropTargetX11.hh similarity index 97% rename from intern/ghost/intern/GHOST_DropTargetX11.h rename to intern/ghost/intern/GHOST_DropTargetX11.hh index 484c76eacbe..66d16cc655f 100644 --- a/intern/ghost/intern/GHOST_DropTargetX11.h +++ b/intern/ghost/intern/GHOST_DropTargetX11.hh @@ -7,8 +7,8 @@ #pragma once -#include "GHOST_SystemX11.h" -#include "GHOST_WindowX11.h" +#include "GHOST_SystemX11.hh" +#include "GHOST_WindowX11.hh" #include #include "xdnd.h" diff --git a/intern/ghost/intern/GHOST_Event.h b/intern/ghost/intern/GHOST_Event.hh similarity index 98% rename from intern/ghost/intern/GHOST_Event.h rename to intern/ghost/intern/GHOST_Event.hh index 1e1c428e2ae..fa7948e3f90 100644 --- a/intern/ghost/intern/GHOST_Event.h +++ b/intern/ghost/intern/GHOST_Event.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_IEvent.h" +#include "GHOST_IEvent.hh" /** * Base class for events received the operating system. diff --git a/intern/ghost/intern/GHOST_EventButton.h b/intern/ghost/intern/GHOST_EventButton.hh similarity index 95% rename from intern/ghost/intern/GHOST_EventButton.h rename to intern/ghost/intern/GHOST_EventButton.hh index f42805e2c6b..c62fa79387f 100644 --- a/intern/ghost/intern/GHOST_EventButton.h +++ b/intern/ghost/intern/GHOST_EventButton.hh @@ -8,8 +8,8 @@ #pragma once -#include "GHOST_Event.h" -#include "GHOST_Window.h" +#include "GHOST_Event.hh" +#include "GHOST_Window.hh" /** * Mouse button event. diff --git a/intern/ghost/intern/GHOST_EventCursor.h b/intern/ghost/intern/GHOST_EventCursor.hh similarity index 97% rename from intern/ghost/intern/GHOST_EventCursor.h rename to intern/ghost/intern/GHOST_EventCursor.hh index a9e834e6531..8909ba095c8 100644 --- a/intern/ghost/intern/GHOST_EventCursor.h +++ b/intern/ghost/intern/GHOST_EventCursor.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Event.h" +#include "GHOST_Event.hh" /** * Cursor event. diff --git a/intern/ghost/intern/GHOST_EventDragnDrop.h b/intern/ghost/intern/GHOST_EventDragnDrop.hh similarity index 99% rename from intern/ghost/intern/GHOST_EventDragnDrop.h rename to intern/ghost/intern/GHOST_EventDragnDrop.hh index 3e703731ced..cebbaa6fe4e 100644 --- a/intern/ghost/intern/GHOST_EventDragnDrop.h +++ b/intern/ghost/intern/GHOST_EventDragnDrop.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_Event.h" +#include "GHOST_Event.hh" extern "C" { #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" diff --git a/intern/ghost/intern/GHOST_EventKey.h b/intern/ghost/intern/GHOST_EventKey.hh similarity index 98% rename from intern/ghost/intern/GHOST_EventKey.h rename to intern/ghost/intern/GHOST_EventKey.hh index f85a674be9f..aed83c9a06f 100644 --- a/intern/ghost/intern/GHOST_EventKey.h +++ b/intern/ghost/intern/GHOST_EventKey.hh @@ -10,7 +10,7 @@ #include -#include "GHOST_Event.h" +#include "GHOST_Event.hh" /** * Key event. diff --git a/intern/ghost/intern/GHOST_EventManager.cpp b/intern/ghost/intern/GHOST_EventManager.cc similarity index 98% rename from intern/ghost/intern/GHOST_EventManager.cpp rename to intern/ghost/intern/GHOST_EventManager.cc index 90897b0e54c..2daf4030104 100644 --- a/intern/ghost/intern/GHOST_EventManager.cpp +++ b/intern/ghost/intern/GHOST_EventManager.cc @@ -9,8 +9,8 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_EventManager.h" -#include "GHOST_Debug.h" +#include "GHOST_EventManager.hh" +#include "GHOST_Debug.hh" #include GHOST_EventManager::GHOST_EventManager() {} diff --git a/intern/ghost/intern/GHOST_EventManager.h b/intern/ghost/intern/GHOST_EventManager.hh similarity index 98% rename from intern/ghost/intern/GHOST_EventManager.h rename to intern/ghost/intern/GHOST_EventManager.hh index 32666ff57c8..37460257242 100644 --- a/intern/ghost/intern/GHOST_EventManager.h +++ b/intern/ghost/intern/GHOST_EventManager.hh @@ -11,7 +11,7 @@ #include #include -#include "GHOST_IEventConsumer.h" +#include "GHOST_IEventConsumer.hh" /** * Manages an event stack and a list of event consumers. diff --git a/intern/ghost/intern/GHOST_EventNDOF.h b/intern/ghost/intern/GHOST_EventNDOF.hh similarity index 96% rename from intern/ghost/intern/GHOST_EventNDOF.h rename to intern/ghost/intern/GHOST_EventNDOF.hh index 79a8974a07a..b2f280019f0 100644 --- a/intern/ghost/intern/GHOST_EventNDOF.h +++ b/intern/ghost/intern/GHOST_EventNDOF.hh @@ -10,7 +10,7 @@ # error NDOF code included in non-NDOF-enabled build #endif -#include "GHOST_Event.h" +#include "GHOST_Event.hh" class GHOST_EventNDOFMotion : public GHOST_Event { protected: diff --git a/intern/ghost/intern/GHOST_EventPrinter.cpp b/intern/ghost/intern/GHOST_EventPrinter.cc similarity index 98% rename from intern/ghost/intern/GHOST_EventPrinter.cpp rename to intern/ghost/intern/GHOST_EventPrinter.cc index 0d7f05009ff..99a56e206b5 100644 --- a/intern/ghost/intern/GHOST_EventPrinter.cpp +++ b/intern/ghost/intern/GHOST_EventPrinter.cc @@ -6,10 +6,10 @@ * Declaration of GHOST_EventPrinter class. */ -#include "GHOST_EventPrinter.h" -#include "GHOST_Debug.h" -#include "GHOST_EventDragnDrop.h" -#include "GHOST_EventKey.h" +#include "GHOST_EventPrinter.hh" +#include "GHOST_Debug.hh" +#include "GHOST_EventDragnDrop.hh" +#include "GHOST_EventKey.hh" #include #include diff --git a/intern/ghost/intern/GHOST_EventPrinter.h b/intern/ghost/intern/GHOST_EventPrinter.hh similarity index 96% rename from intern/ghost/intern/GHOST_EventPrinter.h rename to intern/ghost/intern/GHOST_EventPrinter.hh index dfa35f72026..9b8cc509975 100644 --- a/intern/ghost/intern/GHOST_EventPrinter.h +++ b/intern/ghost/intern/GHOST_EventPrinter.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_IEventConsumer.h" +#include "GHOST_IEventConsumer.hh" /** * An Event consumer that prints all the events to standard out. diff --git a/intern/ghost/intern/GHOST_EventString.h b/intern/ghost/intern/GHOST_EventString.hh similarity index 97% rename from intern/ghost/intern/GHOST_EventString.h rename to intern/ghost/intern/GHOST_EventString.hh index fa59462b32b..116d5057559 100644 --- a/intern/ghost/intern/GHOST_EventString.h +++ b/intern/ghost/intern/GHOST_EventString.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Event.h" +#include "GHOST_Event.hh" /** * Generic class for events with string data diff --git a/intern/ghost/intern/GHOST_EventTrackpad.h b/intern/ghost/intern/GHOST_EventTrackpad.hh similarity index 98% rename from intern/ghost/intern/GHOST_EventTrackpad.h rename to intern/ghost/intern/GHOST_EventTrackpad.hh index 4b98514eeef..0bc355e7ac5 100644 --- a/intern/ghost/intern/GHOST_EventTrackpad.h +++ b/intern/ghost/intern/GHOST_EventTrackpad.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Event.h" +#include "GHOST_Event.hh" /** * Trackpad (scroll, magnify, rotate, ...) event. diff --git a/intern/ghost/intern/GHOST_EventWheel.h b/intern/ghost/intern/GHOST_EventWheel.hh similarity index 97% rename from intern/ghost/intern/GHOST_EventWheel.h rename to intern/ghost/intern/GHOST_EventWheel.hh index 7c32d575e67..e7086f2c1e4 100644 --- a/intern/ghost/intern/GHOST_EventWheel.h +++ b/intern/ghost/intern/GHOST_EventWheel.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Event.h" +#include "GHOST_Event.hh" /** * Mouse wheel event. diff --git a/intern/ghost/intern/GHOST_ISystem.cpp b/intern/ghost/intern/GHOST_ISystem.cc similarity index 94% rename from intern/ghost/intern/GHOST_ISystem.cpp rename to intern/ghost/intern/GHOST_ISystem.cc index 696848ce623..5b0d9c7af99 100644 --- a/intern/ghost/intern/GHOST_ISystem.cpp +++ b/intern/ghost/intern/GHOST_ISystem.cc @@ -11,22 +11,22 @@ #include -#include "GHOST_ISystem.h" -#include "GHOST_SystemHeadless.h" +#include "GHOST_ISystem.hh" +#include "GHOST_SystemHeadless.hh" #if defined(WITH_GHOST_X11) && defined(WITH_GHOST_WAYLAND) -# include "GHOST_SystemWayland.h" -# include "GHOST_SystemX11.h" +# include "GHOST_SystemWayland.hh" +# include "GHOST_SystemX11.hh" #elif defined(WITH_GHOST_X11) -# include "GHOST_SystemX11.h" +# include "GHOST_SystemX11.hh" #elif defined(WITH_GHOST_WAYLAND) -# include "GHOST_SystemWayland.h" +# include "GHOST_SystemWayland.hh" #elif defined(WITH_GHOST_SDL) -# include "GHOST_SystemSDL.h" +# include "GHOST_SystemSDL.hh" #elif defined(WIN32) -# include "GHOST_SystemWin32.h" +# include "GHOST_SystemWin32.hh" #elif defined(__APPLE__) -# include "GHOST_SystemCocoa.h" +# include "GHOST_SystemCocoa.hh" #endif GHOST_ISystem *GHOST_ISystem::m_system = nullptr; diff --git a/intern/ghost/intern/GHOST_ISystemPaths.cpp b/intern/ghost/intern/GHOST_ISystemPaths.cc similarity index 88% rename from intern/ghost/intern/GHOST_ISystemPaths.cpp rename to intern/ghost/intern/GHOST_ISystemPaths.cc index 599a9fec681..b6359fcb5a1 100644 --- a/intern/ghost/intern/GHOST_ISystemPaths.cpp +++ b/intern/ghost/intern/GHOST_ISystemPaths.cc @@ -9,15 +9,15 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_ISystemPaths.h" +#include "GHOST_ISystemPaths.hh" #ifdef WIN32 -# include "GHOST_SystemPathsWin32.h" +# include "GHOST_SystemPathsWin32.hh" #else # ifdef __APPLE__ -# include "GHOST_SystemPathsCocoa.h" +# include "GHOST_SystemPathsCocoa.hh" # else -# include "GHOST_SystemPathsUnix.h" +# include "GHOST_SystemPathsUnix.hh" # endif #endif diff --git a/intern/ghost/intern/GHOST_IXrGraphicsBinding.h b/intern/ghost/intern/GHOST_IXrGraphicsBinding.hh similarity index 98% rename from intern/ghost/intern/GHOST_IXrGraphicsBinding.h rename to intern/ghost/intern/GHOST_IXrGraphicsBinding.hh index 152b6b68026..ee92f90ca5d 100644 --- a/intern/ghost/intern/GHOST_IXrGraphicsBinding.h +++ b/intern/ghost/intern/GHOST_IXrGraphicsBinding.hh @@ -11,7 +11,7 @@ #include #include -#include "GHOST_Xr_openxr_includes.h" +#include "GHOST_Xr_openxr_includes.hh" class GHOST_IXrGraphicsBinding { public: diff --git a/intern/ghost/intern/GHOST_IconX11.h b/intern/ghost/intern/GHOST_IconX11.hh similarity index 100% rename from intern/ghost/intern/GHOST_IconX11.h rename to intern/ghost/intern/GHOST_IconX11.hh diff --git a/intern/ghost/intern/GHOST_ImeWin32.cpp b/intern/ghost/intern/GHOST_ImeWin32.cc similarity index 99% rename from intern/ghost/intern/GHOST_ImeWin32.cpp rename to intern/ghost/intern/GHOST_ImeWin32.cc index ccc25b0ec28..54171130ca3 100644 --- a/intern/ghost/intern/GHOST_ImeWin32.cpp +++ b/intern/ghost/intern/GHOST_ImeWin32.cc @@ -7,9 +7,9 @@ #ifdef WITH_INPUT_IME -# include "GHOST_ImeWin32.h" +# include "GHOST_ImeWin32.hh" # include "GHOST_C-api.h" -# include "GHOST_WindowWin32.h" +# include "GHOST_WindowWin32.hh" # include "utfconv.h" /* ISO_639-1 2-Letter Abbreviations. */ diff --git a/intern/ghost/intern/GHOST_ImeWin32.h b/intern/ghost/intern/GHOST_ImeWin32.hh similarity index 99% rename from intern/ghost/intern/GHOST_ImeWin32.h rename to intern/ghost/intern/GHOST_ImeWin32.hh index cb6d8a770cf..933b0f8c5fe 100644 --- a/intern/ghost/intern/GHOST_ImeWin32.h +++ b/intern/ghost/intern/GHOST_ImeWin32.hh @@ -14,8 +14,8 @@ # include -# include "GHOST_Event.h" -# include "GHOST_Rect.h" +# include "GHOST_Event.hh" +# include "GHOST_Rect.hh" # include /* MSDN LOCALE_SISO639LANGNAME states maximum length of 9, including terminating null. */ diff --git a/intern/ghost/intern/GHOST_ModifierKeys.cpp b/intern/ghost/intern/GHOST_ModifierKeys.cc similarity index 98% rename from intern/ghost/intern/GHOST_ModifierKeys.cpp rename to intern/ghost/intern/GHOST_ModifierKeys.cc index 86f483c2d14..b721182da6e 100644 --- a/intern/ghost/intern/GHOST_ModifierKeys.cpp +++ b/intern/ghost/intern/GHOST_ModifierKeys.cc @@ -9,8 +9,8 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_ModifierKeys.h" -#include "GHOST_Debug.h" +#include "GHOST_ModifierKeys.hh" +#include "GHOST_Debug.hh" GHOST_ModifierKeys::GHOST_ModifierKeys() { diff --git a/intern/ghost/intern/GHOST_ModifierKeys.h b/intern/ghost/intern/GHOST_ModifierKeys.hh similarity index 100% rename from intern/ghost/intern/GHOST_ModifierKeys.h rename to intern/ghost/intern/GHOST_ModifierKeys.hh diff --git a/intern/ghost/intern/GHOST_NDOFManager.cpp b/intern/ghost/intern/GHOST_NDOFManager.cc similarity index 99% rename from intern/ghost/intern/GHOST_NDOFManager.cpp rename to intern/ghost/intern/GHOST_NDOFManager.cc index d0309b4bba3..05724bd88f6 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.cpp +++ b/intern/ghost/intern/GHOST_NDOFManager.cc @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include "GHOST_NDOFManager.h" -#include "GHOST_Debug.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventNDOF.h" -#include "GHOST_WindowManager.h" -#include "GHOST_utildefines.h" +#include "GHOST_NDOFManager.hh" +#include "GHOST_Debug.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventNDOF.hh" +#include "GHOST_WindowManager.hh" +#include "GHOST_utildefines.hh" /* Logging, use `ghost.ndof.*` prefix. */ #include "CLG_log.h" diff --git a/intern/ghost/intern/GHOST_NDOFManager.h b/intern/ghost/intern/GHOST_NDOFManager.hh similarity index 99% rename from intern/ghost/intern/GHOST_NDOFManager.h rename to intern/ghost/intern/GHOST_NDOFManager.hh index 26b0138cffa..4bdcc62b75d 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.h +++ b/intern/ghost/intern/GHOST_NDOFManager.hh @@ -6,7 +6,7 @@ # error NDOF code included in non-NDOF-enabled build #endif -#include "GHOST_System.h" +#include "GHOST_System.hh" typedef enum { NDOF_UnknownDevice = 0, diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.h b/intern/ghost/intern/GHOST_NDOFManagerCocoa.hh similarity index 91% rename from intern/ghost/intern/GHOST_NDOFManagerCocoa.h rename to intern/ghost/intern/GHOST_NDOFManagerCocoa.hh index a40406ad2d0..ec873849bc8 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.h +++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.hh @@ -2,7 +2,7 @@ #pragma once -#include "GHOST_NDOFManager.h" +#include "GHOST_NDOFManager.hh" // Event capture is handled within the NDOF manager on Macintosh, // so there's no need for SystemCocoa to look for them. diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm index 6f8208915d8..e699fdfe330 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm +++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm @@ -2,8 +2,8 @@ #define DEBUG_NDOF_DRIVER false -#include "GHOST_NDOFManagerCocoa.h" -#include "GHOST_SystemCocoa.h" +#include "GHOST_NDOFManagerCocoa.hh" +#include "GHOST_SystemCocoa.hh" #include #include diff --git a/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp b/intern/ghost/intern/GHOST_NDOFManagerUnix.cc similarity index 98% rename from intern/ghost/intern/GHOST_NDOFManagerUnix.cpp rename to intern/ghost/intern/GHOST_NDOFManagerUnix.cc index d3b4161307e..98a3fa0786f 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp +++ b/intern/ghost/intern/GHOST_NDOFManagerUnix.cc @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include "GHOST_NDOFManagerUnix.h" -#include "GHOST_System.h" +#include "GHOST_NDOFManagerUnix.hh" +#include "GHOST_System.hh" /* Logging, use `ghost.ndof.unix.*` prefix. */ #include "CLG_log.h" diff --git a/intern/ghost/intern/GHOST_NDOFManagerUnix.h b/intern/ghost/intern/GHOST_NDOFManagerUnix.hh similarity index 92% rename from intern/ghost/intern/GHOST_NDOFManagerUnix.h rename to intern/ghost/intern/GHOST_NDOFManagerUnix.hh index 2b98fad974f..b6d306bb561 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerUnix.h +++ b/intern/ghost/intern/GHOST_NDOFManagerUnix.hh @@ -2,7 +2,7 @@ #pragma once -#include "GHOST_NDOFManager.h" +#include "GHOST_NDOFManager.hh" /* Event capture is handled within the NDOF manager on Linux, * so there's no need for SystemX11 to look for them. */ diff --git a/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp b/intern/ghost/intern/GHOST_NDOFManagerWin32.cc similarity index 91% rename from intern/ghost/intern/GHOST_NDOFManagerWin32.cpp rename to intern/ghost/intern/GHOST_NDOFManagerWin32.cc index 43f31cb2368..68819e5f391 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp +++ b/intern/ghost/intern/GHOST_NDOFManagerWin32.cc @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include "GHOST_NDOFManagerWin32.h" +#include "GHOST_NDOFManagerWin32.hh" GHOST_NDOFManagerWin32::GHOST_NDOFManagerWin32(GHOST_System &sys) : GHOST_NDOFManager(sys) { diff --git a/intern/ghost/intern/GHOST_NDOFManagerWin32.h b/intern/ghost/intern/GHOST_NDOFManagerWin32.hh similarity index 85% rename from intern/ghost/intern/GHOST_NDOFManagerWin32.h rename to intern/ghost/intern/GHOST_NDOFManagerWin32.hh index 1da269d23da..a1cfedcb61d 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerWin32.h +++ b/intern/ghost/intern/GHOST_NDOFManagerWin32.hh @@ -2,7 +2,7 @@ #pragma once -#include "GHOST_NDOFManager.h" +#include "GHOST_NDOFManager.hh" class GHOST_NDOFManagerWin32 : public GHOST_NDOFManager { public: diff --git a/intern/ghost/intern/GHOST_Path-api.cpp b/intern/ghost/intern/GHOST_Path-api.cc similarity index 93% rename from intern/ghost/intern/GHOST_Path-api.cpp rename to intern/ghost/intern/GHOST_Path-api.cc index 66ade104005..ec1cc24dabf 100644 --- a/intern/ghost/intern/GHOST_Path-api.cpp +++ b/intern/ghost/intern/GHOST_Path-api.cc @@ -7,10 +7,10 @@ #include -#include "GHOST_ISystemPaths.h" -#include "GHOST_Path-api.h" +#include "GHOST_ISystemPaths.hh" +#include "GHOST_Path-api.hh" #include "GHOST_Types.h" -#include "intern/GHOST_Debug.h" +#include "intern/GHOST_Debug.hh" GHOST_TSuccess GHOST_CreateSystemPaths() { diff --git a/intern/ghost/intern/GHOST_PathUtils.cpp b/intern/ghost/intern/GHOST_PathUtils.cc similarity index 98% rename from intern/ghost/intern/GHOST_PathUtils.cpp rename to intern/ghost/intern/GHOST_PathUtils.cc index fb42938fb87..3856f35ee8a 100644 --- a/intern/ghost/intern/GHOST_PathUtils.cpp +++ b/intern/ghost/intern/GHOST_PathUtils.cc @@ -11,7 +11,7 @@ #include #include -#include "GHOST_PathUtils.h" +#include "GHOST_PathUtils.hh" #include "GHOST_Types.h" /* Based on: https://stackoverflow.com/a/2766963/432509 */ diff --git a/intern/ghost/intern/GHOST_PathUtils.h b/intern/ghost/intern/GHOST_PathUtils.hh similarity index 100% rename from intern/ghost/intern/GHOST_PathUtils.h rename to intern/ghost/intern/GHOST_PathUtils.hh diff --git a/intern/ghost/intern/GHOST_Rect.cpp b/intern/ghost/intern/GHOST_Rect.cc similarity index 98% rename from intern/ghost/intern/GHOST_Rect.cpp rename to intern/ghost/intern/GHOST_Rect.cc index c425b21cd27..db59a14b3f8 100644 --- a/intern/ghost/intern/GHOST_Rect.cpp +++ b/intern/ghost/intern/GHOST_Rect.cc @@ -5,7 +5,7 @@ * \ingroup GHOST */ -#include "GHOST_Rect.h" +#include "GHOST_Rect.hh" void GHOST_Rect::inset(int32_t i) { diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cc similarity index 98% rename from intern/ghost/intern/GHOST_System.cpp rename to intern/ghost/intern/GHOST_System.cc index 9094e5a5b97..d146e7cee78 100644 --- a/intern/ghost/intern/GHOST_System.cpp +++ b/intern/ghost/intern/GHOST_System.cc @@ -5,19 +5,19 @@ * \ingroup GHOST */ -#include "GHOST_System.h" +#include "GHOST_System.hh" #include #include /* Just for #printf. */ -#include "GHOST_DisplayManager.h" -#include "GHOST_EventManager.h" -#include "GHOST_TimerManager.h" -#include "GHOST_TimerTask.h" -#include "GHOST_WindowManager.h" +#include "GHOST_DisplayManager.hh" +#include "GHOST_EventManager.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_TimerTask.hh" +#include "GHOST_WindowManager.hh" #ifdef WITH_INPUT_NDOF -# include "GHOST_NDOFManager.h" +# include "GHOST_NDOFManager.hh" #endif GHOST_System::GHOST_System() diff --git a/intern/ghost/intern/GHOST_System.h b/intern/ghost/intern/GHOST_System.hh similarity index 98% rename from intern/ghost/intern/GHOST_System.h rename to intern/ghost/intern/GHOST_System.hh index a319f553231..9ede2fda862 100644 --- a/intern/ghost/intern/GHOST_System.h +++ b/intern/ghost/intern/GHOST_System.hh @@ -8,14 +8,14 @@ #pragma once -#include "GHOST_ISystem.h" +#include "GHOST_ISystem.hh" -#include "GHOST_Buttons.h" -#include "GHOST_Debug.h" -#include "GHOST_EventManager.h" -#include "GHOST_ModifierKeys.h" +#include "GHOST_Buttons.hh" +#include "GHOST_Debug.hh" +#include "GHOST_EventManager.hh" +#include "GHOST_ModifierKeys.hh" #ifdef WITH_GHOST_DEBUG -# include "GHOST_EventPrinter.h" +# include "GHOST_EventPrinter.hh" #endif // WITH_GHOST_DEBUG class GHOST_DisplayManager; diff --git a/intern/ghost/intern/GHOST_SystemCocoa.h b/intern/ghost/intern/GHOST_SystemCocoa.hh similarity index 99% rename from intern/ghost/intern/GHOST_SystemCocoa.h rename to intern/ghost/intern/GHOST_SystemCocoa.hh index 2a9056619be..af574cc4980 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.h +++ b/intern/ghost/intern/GHOST_SystemCocoa.hh @@ -14,7 +14,7 @@ //#define __CARBONSOUND__ -#include "GHOST_System.h" +#include "GHOST_System.hh" class GHOST_EventCursor; class GHOST_EventKey; diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 1451f2ed62d..166f6d938ee 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1,20 +1,20 @@ /* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ -#include "GHOST_SystemCocoa.h" +#include "GHOST_SystemCocoa.hh" -#include "GHOST_DisplayManagerCocoa.h" -#include "GHOST_EventButton.h" -#include "GHOST_EventCursor.h" -#include "GHOST_EventDragnDrop.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventString.h" -#include "GHOST_EventTrackpad.h" -#include "GHOST_EventWheel.h" -#include "GHOST_TimerManager.h" -#include "GHOST_TimerTask.h" -#include "GHOST_WindowCocoa.h" -#include "GHOST_WindowManager.h" +#include "GHOST_DisplayManagerCocoa.hh" +#include "GHOST_EventButton.hh" +#include "GHOST_EventCursor.hh" +#include "GHOST_EventDragnDrop.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventString.hh" +#include "GHOST_EventTrackpad.hh" +#include "GHOST_EventWheel.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_TimerTask.hh" +#include "GHOST_WindowCocoa.hh" +#include "GHOST_WindowManager.hh" /* Don't generate OpenGL deprecation warning. This is a known thing, and is not something easily * solvable in a short term. */ @@ -22,14 +22,14 @@ # pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -#include "GHOST_ContextCGL.h" +#include "GHOST_ContextCGL.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #ifdef WITH_INPUT_NDOF -# include "GHOST_NDOFManagerCocoa.h" +# include "GHOST_NDOFManagerCocoa.hh" #endif #include "AssertMacros.h" diff --git a/intern/ghost/intern/GHOST_SystemHeadless.h b/intern/ghost/intern/GHOST_SystemHeadless.hh similarity index 96% rename from intern/ghost/intern/GHOST_SystemHeadless.h rename to intern/ghost/intern/GHOST_SystemHeadless.hh index 02a09dd6c9e..feefbe264d6 100644 --- a/intern/ghost/intern/GHOST_SystemHeadless.h +++ b/intern/ghost/intern/GHOST_SystemHeadless.hh @@ -8,14 +8,14 @@ #pragma once #include "../GHOST_Types.h" -#include "GHOST_DisplayManagerNULL.h" -#include "GHOST_System.h" -#include "GHOST_WindowNULL.h" +#include "GHOST_DisplayManagerNULL.hh" +#include "GHOST_System.hh" +#include "GHOST_WindowNULL.hh" #ifdef __linux__ -# include "GHOST_ContextEGL.h" +# include "GHOST_ContextEGL.hh" #endif -#include "GHOST_ContextNone.h" +#include "GHOST_ContextNone.hh" class GHOST_WindowNULL; diff --git a/intern/ghost/intern/GHOST_SystemPaths.h b/intern/ghost/intern/GHOST_SystemPaths.hh similarity index 97% rename from intern/ghost/intern/GHOST_SystemPaths.h rename to intern/ghost/intern/GHOST_SystemPaths.hh index 2dadcd35883..01089e86203 100644 --- a/intern/ghost/intern/GHOST_SystemPaths.h +++ b/intern/ghost/intern/GHOST_SystemPaths.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_ISystemPaths.h" +#include "GHOST_ISystemPaths.hh" class GHOST_SystemPaths : public GHOST_ISystemPaths { protected: diff --git a/intern/ghost/intern/GHOST_SystemPathsCocoa.h b/intern/ghost/intern/GHOST_SystemPathsCocoa.hh similarity index 97% rename from intern/ghost/intern/GHOST_SystemPathsCocoa.h rename to intern/ghost/intern/GHOST_SystemPathsCocoa.hh index 3c95cb57243..95b4790ea85 100644 --- a/intern/ghost/intern/GHOST_SystemPathsCocoa.h +++ b/intern/ghost/intern/GHOST_SystemPathsCocoa.hh @@ -11,7 +11,7 @@ # error Apple OSX only! #endif // __APPLE__ -#include "GHOST_SystemPaths.h" +#include "GHOST_SystemPaths.hh" class GHOST_SystemPathsCocoa : public GHOST_SystemPaths { public: diff --git a/intern/ghost/intern/GHOST_SystemPathsCocoa.mm b/intern/ghost/intern/GHOST_SystemPathsCocoa.mm index 7a26b40be36..e4f003d2cee 100644 --- a/intern/ghost/intern/GHOST_SystemPathsCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemPathsCocoa.mm @@ -3,8 +3,8 @@ #import -#include "GHOST_Debug.h" -#include "GHOST_SystemPathsCocoa.h" +#include "GHOST_Debug.hh" +#include "GHOST_SystemPathsCocoa.hh" #pragma mark initialization/finalization diff --git a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp b/intern/ghost/intern/GHOST_SystemPathsUnix.cc similarity index 98% rename from intern/ghost/intern/GHOST_SystemPathsUnix.cpp rename to intern/ghost/intern/GHOST_SystemPathsUnix.cc index f0392a8ec73..1c1bad320dc 100644 --- a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp +++ b/intern/ghost/intern/GHOST_SystemPathsUnix.cc @@ -7,9 +7,9 @@ #include -#include "GHOST_SystemPathsUnix.h" +#include "GHOST_SystemPathsUnix.hh" -#include "GHOST_Debug.h" +#include "GHOST_Debug.hh" /* For timing. */ #include diff --git a/intern/ghost/intern/GHOST_SystemPathsUnix.h b/intern/ghost/intern/GHOST_SystemPathsUnix.hh similarity index 98% rename from intern/ghost/intern/GHOST_SystemPathsUnix.h rename to intern/ghost/intern/GHOST_SystemPathsUnix.hh index e220faf7c2e..d9b9b5a9e05 100644 --- a/intern/ghost/intern/GHOST_SystemPathsUnix.h +++ b/intern/ghost/intern/GHOST_SystemPathsUnix.hh @@ -8,7 +8,7 @@ #pragma once #include "../GHOST_Types.h" -#include "GHOST_SystemPaths.h" +#include "GHOST_SystemPaths.hh" class GHOST_SystemPathsUnix : public GHOST_SystemPaths { public: diff --git a/intern/ghost/intern/GHOST_SystemPathsWin32.cpp b/intern/ghost/intern/GHOST_SystemPathsWin32.cc similarity index 98% rename from intern/ghost/intern/GHOST_SystemPathsWin32.cpp rename to intern/ghost/intern/GHOST_SystemPathsWin32.cc index 636ced8d88d..c9740483803 100644 --- a/intern/ghost/intern/GHOST_SystemPathsWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemPathsWin32.cc @@ -5,8 +5,8 @@ * \ingroup GHOST */ -#include "GHOST_SystemPathsWin32.h" -#include "GHOST_Debug.h" +#include "GHOST_SystemPathsWin32.hh" +#include "GHOST_Debug.hh" #ifndef _WIN32_IE # define _WIN32_IE 0x0501 diff --git a/intern/ghost/intern/GHOST_SystemPathsWin32.h b/intern/ghost/intern/GHOST_SystemPathsWin32.hh similarity index 98% rename from intern/ghost/intern/GHOST_SystemPathsWin32.h rename to intern/ghost/intern/GHOST_SystemPathsWin32.hh index 13694e225e7..e15f1958319 100644 --- a/intern/ghost/intern/GHOST_SystemPathsWin32.h +++ b/intern/ghost/intern/GHOST_SystemPathsWin32.hh @@ -14,7 +14,7 @@ #define WIN32_LEAN_AND_MEAN #include -#include "GHOST_SystemPaths.h" +#include "GHOST_SystemPaths.hh" /** * WIN32 Implementation of GHOST_SystemPaths class. diff --git a/intern/ghost/intern/GHOST_SystemSDL.cpp b/intern/ghost/intern/GHOST_SystemSDL.cc similarity index 98% rename from intern/ghost/intern/GHOST_SystemSDL.cpp rename to intern/ghost/intern/GHOST_SystemSDL.cc index 4e82f1d10c8..b99d2091054 100644 --- a/intern/ghost/intern/GHOST_SystemSDL.cpp +++ b/intern/ghost/intern/GHOST_SystemSDL.cc @@ -7,16 +7,16 @@ #include #include -#include "GHOST_ContextSDL.h" -#include "GHOST_SystemSDL.h" -#include "GHOST_WindowSDL.h" +#include "GHOST_ContextSDL.hh" +#include "GHOST_SystemSDL.hh" +#include "GHOST_WindowSDL.hh" -#include "GHOST_WindowManager.h" +#include "GHOST_WindowManager.hh" -#include "GHOST_EventButton.h" -#include "GHOST_EventCursor.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventWheel.h" +#include "GHOST_EventButton.hh" +#include "GHOST_EventCursor.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventWheel.hh" GHOST_SystemSDL::GHOST_SystemSDL() : GHOST_System() { diff --git a/intern/ghost/intern/GHOST_SystemSDL.h b/intern/ghost/intern/GHOST_SystemSDL.hh similarity index 93% rename from intern/ghost/intern/GHOST_SystemSDL.h rename to intern/ghost/intern/GHOST_SystemSDL.hh index 261fc2d2d68..67e093f3ddd 100644 --- a/intern/ghost/intern/GHOST_SystemSDL.h +++ b/intern/ghost/intern/GHOST_SystemSDL.hh @@ -8,11 +8,11 @@ #pragma once #include "../GHOST_Types.h" -#include "GHOST_DisplayManagerSDL.h" -#include "GHOST_Event.h" -#include "GHOST_System.h" -#include "GHOST_TimerManager.h" -#include "GHOST_WindowSDL.h" +#include "GHOST_DisplayManagerSDL.hh" +#include "GHOST_Event.hh" +#include "GHOST_System.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_WindowSDL.hh" extern "C" { #include "SDL.h" diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cc similarity index 99% rename from intern/ghost/intern/GHOST_SystemWayland.cpp rename to intern/ghost/intern/GHOST_SystemWayland.cc index 00474b38351..603b8802665 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cpp +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -4,28 +4,28 @@ * \ingroup GHOST */ -#include "GHOST_SystemWayland.h" -#include "GHOST_Event.h" -#include "GHOST_EventButton.h" -#include "GHOST_EventCursor.h" -#include "GHOST_EventDragnDrop.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventTrackpad.h" -#include "GHOST_EventWheel.h" -#include "GHOST_PathUtils.h" -#include "GHOST_TimerManager.h" -#include "GHOST_WaylandUtils.h" -#include "GHOST_WindowManager.h" -#include "GHOST_utildefines.h" +#include "GHOST_SystemWayland.hh" +#include "GHOST_Event.hh" +#include "GHOST_EventButton.hh" +#include "GHOST_EventCursor.hh" +#include "GHOST_EventDragnDrop.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventTrackpad.hh" +#include "GHOST_EventWheel.hh" +#include "GHOST_PathUtils.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_WaylandUtils.hh" +#include "GHOST_WindowManager.hh" +#include "GHOST_utildefines.hh" -#include "GHOST_ContextEGL.h" +#include "GHOST_ContextEGL.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #ifdef WITH_INPUT_NDOF -# include "GHOST_NDOFManagerUnix.h" +# include "GHOST_NDOFManagerUnix.hh" #endif #ifdef WITH_GHOST_WAYLAND_DYNLOAD @@ -49,7 +49,7 @@ #endif #include -#include "GHOST_WaylandCursorSettings.h" +#include "GHOST_WaylandCursorSettings.hh" #include @@ -85,7 +85,7 @@ #include "CLG_log.h" #ifdef USE_EVENT_BACKGROUND_THREAD -# include "GHOST_TimerTask.h" +# include "GHOST_TimerTask.hh" # include #endif diff --git a/intern/ghost/intern/GHOST_SystemWayland.h b/intern/ghost/intern/GHOST_SystemWayland.hh similarity index 99% rename from intern/ghost/intern/GHOST_SystemWayland.h rename to intern/ghost/intern/GHOST_SystemWayland.hh index 787d0d7b7bb..4b464e2d1e7 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.h +++ b/intern/ghost/intern/GHOST_SystemWayland.hh @@ -8,8 +8,8 @@ #pragma once #include "../GHOST_Types.h" -#include "GHOST_System.h" -#include "GHOST_WindowWayland.h" +#include "GHOST_System.hh" +#include "GHOST_WindowWayland.hh" #ifdef WITH_GHOST_WAYLAND_DYNLOAD # include diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cc similarity index 99% rename from intern/ghost/intern/GHOST_SystemWin32.cpp rename to intern/ghost/intern/GHOST_SystemWin32.cc index f49bac243f1..51a8a5d464e 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cc @@ -5,10 +5,10 @@ * \ingroup GHOST */ -#include "GHOST_SystemWin32.h" -#include "GHOST_ContextD3D.h" -#include "GHOST_EventDragnDrop.h" -#include "GHOST_EventTrackpad.h" +#include "GHOST_SystemWin32.hh" +#include "GHOST_ContextD3D.hh" +#include "GHOST_EventDragnDrop.hh" +#include "GHOST_EventTrackpad.hh" #ifndef _WIN32_IE # define _WIN32_IE 0x0501 /* shipped before XP, so doesn't impose additional requirements */ @@ -26,23 +26,23 @@ #include "utf_winfunc.h" #include "utfconv.h" -#include "GHOST_DisplayManagerWin32.h" -#include "GHOST_EventButton.h" -#include "GHOST_EventCursor.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventWheel.h" -#include "GHOST_TimerManager.h" -#include "GHOST_TimerTask.h" -#include "GHOST_WindowManager.h" -#include "GHOST_WindowWin32.h" +#include "GHOST_DisplayManagerWin32.hh" +#include "GHOST_EventButton.hh" +#include "GHOST_EventCursor.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventWheel.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_TimerTask.hh" +#include "GHOST_WindowManager.hh" +#include "GHOST_WindowWin32.hh" -#include "GHOST_ContextWGL.h" +#include "GHOST_ContextWGL.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #ifdef WITH_INPUT_NDOF -# include "GHOST_NDOFManagerWin32.h" +# include "GHOST_NDOFManagerWin32.hh" #endif /* Key code values not found in `winuser.h`. */ diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.hh similarity index 99% rename from intern/ghost/intern/GHOST_SystemWin32.h rename to intern/ghost/intern/GHOST_SystemWin32.hh index 29c35891062..f434be24448 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.h +++ b/intern/ghost/intern/GHOST_SystemWin32.hh @@ -16,7 +16,7 @@ #include /* For drag-n-drop. */ #include -#include "GHOST_System.h" +#include "GHOST_System.hh" class GHOST_EventButton; class GHOST_EventCursor; diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cc similarity index 99% rename from intern/ghost/intern/GHOST_SystemX11.cpp rename to intern/ghost/intern/GHOST_SystemX11.cc index d3dab0401cc..19dfd717c04 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cc @@ -12,32 +12,32 @@ #include #include -#include "GHOST_DisplayManagerX11.h" -#include "GHOST_EventButton.h" -#include "GHOST_EventCursor.h" -#include "GHOST_EventDragnDrop.h" -#include "GHOST_EventKey.h" -#include "GHOST_EventWheel.h" -#include "GHOST_SystemX11.h" -#include "GHOST_TimerManager.h" -#include "GHOST_WindowManager.h" -#include "GHOST_WindowX11.h" +#include "GHOST_DisplayManagerX11.hh" +#include "GHOST_EventButton.hh" +#include "GHOST_EventCursor.hh" +#include "GHOST_EventDragnDrop.hh" +#include "GHOST_EventKey.hh" +#include "GHOST_EventWheel.hh" +#include "GHOST_SystemX11.hh" +#include "GHOST_TimerManager.hh" +#include "GHOST_WindowManager.hh" +#include "GHOST_WindowX11.hh" #ifdef WITH_INPUT_NDOF -# include "GHOST_NDOFManagerUnix.h" +# include "GHOST_NDOFManagerUnix.hh" #endif -#include "GHOST_utildefines.h" +#include "GHOST_utildefines.hh" #ifdef WITH_XDND -# include "GHOST_DropTargetX11.h" +# include "GHOST_DropTargetX11.hh" #endif -#include "GHOST_Debug.h" +#include "GHOST_Debug.hh" -#include "GHOST_ContextEGL.h" -#include "GHOST_ContextGLX.h" +#include "GHOST_ContextEGL.hh" +#include "GHOST_ContextGLX.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #ifdef WITH_XF86KEYSYM @@ -326,7 +326,7 @@ GHOST_IWindow *GHOST_SystemX11::createWindow(const char *title, (glSettings.flags & GHOST_glDebugContext) != 0); if (window) { - /* Both are now handle in GHOST_WindowX11.cpp + /* Both are now handle in GHOST_WindowX11.cc * Focus and Delete atoms. */ if (window->getValid()) { diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.hh similarity index 99% rename from intern/ghost/intern/GHOST_SystemX11.h rename to intern/ghost/intern/GHOST_SystemX11.hh index a2e0f097d9f..4314063f2ba 100644 --- a/intern/ghost/intern/GHOST_SystemX11.h +++ b/intern/ghost/intern/GHOST_SystemX11.hh @@ -12,7 +12,7 @@ #include #include "../GHOST_Types.h" -#include "GHOST_System.h" +#include "GHOST_System.hh" /* For tablets. */ #ifdef WITH_X11_XINPUT diff --git a/intern/ghost/intern/GHOST_TaskbarWin32.h b/intern/ghost/intern/GHOST_TaskbarWin32.hh similarity index 100% rename from intern/ghost/intern/GHOST_TaskbarWin32.h rename to intern/ghost/intern/GHOST_TaskbarWin32.hh diff --git a/intern/ghost/intern/GHOST_TaskbarX11.cpp b/intern/ghost/intern/GHOST_TaskbarX11.cc similarity index 98% rename from intern/ghost/intern/GHOST_TaskbarX11.cpp rename to intern/ghost/intern/GHOST_TaskbarX11.cc index 1e568c3a2b0..139f0aa688d 100644 --- a/intern/ghost/intern/GHOST_TaskbarX11.cpp +++ b/intern/ghost/intern/GHOST_TaskbarX11.cc @@ -4,7 +4,7 @@ * \ingroup GHOST */ -#include "GHOST_TaskbarX11.h" +#include "GHOST_TaskbarX11.hh" #include #include diff --git a/intern/ghost/intern/GHOST_TaskbarX11.h b/intern/ghost/intern/GHOST_TaskbarX11.hh similarity index 100% rename from intern/ghost/intern/GHOST_TaskbarX11.h rename to intern/ghost/intern/GHOST_TaskbarX11.hh diff --git a/intern/ghost/intern/GHOST_TimerManager.cpp b/intern/ghost/intern/GHOST_TimerManager.cc similarity index 97% rename from intern/ghost/intern/GHOST_TimerManager.cpp rename to intern/ghost/intern/GHOST_TimerManager.cc index ca881c74acd..f0541dbf447 100644 --- a/intern/ghost/intern/GHOST_TimerManager.cpp +++ b/intern/ghost/intern/GHOST_TimerManager.cc @@ -9,11 +9,11 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_TimerManager.h" +#include "GHOST_TimerManager.hh" #include -#include "GHOST_TimerTask.h" +#include "GHOST_TimerTask.hh" GHOST_TimerManager::GHOST_TimerManager() {} diff --git a/intern/ghost/intern/GHOST_TimerManager.h b/intern/ghost/intern/GHOST_TimerManager.hh similarity index 100% rename from intern/ghost/intern/GHOST_TimerManager.h rename to intern/ghost/intern/GHOST_TimerManager.hh diff --git a/intern/ghost/intern/GHOST_TimerTask.h b/intern/ghost/intern/GHOST_TimerTask.hh similarity index 99% rename from intern/ghost/intern/GHOST_TimerTask.h rename to intern/ghost/intern/GHOST_TimerTask.hh index 8ca8e36837e..6b39b788d9b 100644 --- a/intern/ghost/intern/GHOST_TimerTask.h +++ b/intern/ghost/intern/GHOST_TimerTask.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_ITimerTask.h" +#include "GHOST_ITimerTask.hh" /** * Implementation of a timer task. diff --git a/intern/ghost/intern/GHOST_TrackpadWin32.cpp b/intern/ghost/intern/GHOST_TrackpadWin32.cc similarity index 99% rename from intern/ghost/intern/GHOST_TrackpadWin32.cpp rename to intern/ghost/intern/GHOST_TrackpadWin32.cc index 4d5ce6fabe1..d19b0469123 100644 --- a/intern/ghost/intern/GHOST_TrackpadWin32.cpp +++ b/intern/ghost/intern/GHOST_TrackpadWin32.cc @@ -6,8 +6,8 @@ #include -#include "GHOST_Debug.h" -#include "GHOST_TrackpadWin32.h" +#include "GHOST_Debug.hh" +#include "GHOST_TrackpadWin32.hh" GHOST_DirectManipulationHelper::GHOST_DirectManipulationHelper( HWND hWnd, diff --git a/intern/ghost/intern/GHOST_TrackpadWin32.h b/intern/ghost/intern/GHOST_TrackpadWin32.hh similarity index 100% rename from intern/ghost/intern/GHOST_TrackpadWin32.h rename to intern/ghost/intern/GHOST_TrackpadWin32.hh diff --git a/intern/ghost/intern/GHOST_Util.h b/intern/ghost/intern/GHOST_Util.hh similarity index 100% rename from intern/ghost/intern/GHOST_Util.h rename to intern/ghost/intern/GHOST_Util.hh diff --git a/intern/ghost/intern/GHOST_WaylandCursorSettings.h b/intern/ghost/intern/GHOST_WaylandCursorSettings.hh similarity index 100% rename from intern/ghost/intern/GHOST_WaylandCursorSettings.h rename to intern/ghost/intern/GHOST_WaylandCursorSettings.hh diff --git a/intern/ghost/intern/GHOST_WaylandUtils.h b/intern/ghost/intern/GHOST_WaylandUtils.hh similarity index 100% rename from intern/ghost/intern/GHOST_WaylandUtils.h rename to intern/ghost/intern/GHOST_WaylandUtils.hh diff --git a/intern/ghost/intern/GHOST_Window.cpp b/intern/ghost/intern/GHOST_Window.cc similarity index 99% rename from intern/ghost/intern/GHOST_Window.cpp rename to intern/ghost/intern/GHOST_Window.cc index aeff3e8df0a..12d83180fb0 100644 --- a/intern/ghost/intern/GHOST_Window.cpp +++ b/intern/ghost/intern/GHOST_Window.cc @@ -9,9 +9,9 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_Window.h" +#include "GHOST_Window.hh" -#include "GHOST_ContextNone.h" +#include "GHOST_ContextNone.hh" #include diff --git a/intern/ghost/intern/GHOST_Window.h b/intern/ghost/intern/GHOST_Window.hh similarity index 99% rename from intern/ghost/intern/GHOST_Window.h rename to intern/ghost/intern/GHOST_Window.hh index 85d7babfb56..d9d65832dfe 100644 --- a/intern/ghost/intern/GHOST_Window.h +++ b/intern/ghost/intern/GHOST_Window.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_IWindow.h" +#include "GHOST_IWindow.hh" class GHOST_Context; diff --git a/intern/ghost/intern/GHOST_WindowCocoa.h b/intern/ghost/intern/GHOST_WindowCocoa.hh similarity index 99% rename from intern/ghost/intern/GHOST_WindowCocoa.h rename to intern/ghost/intern/GHOST_WindowCocoa.hh index 35daa9ec2a3..36bdd314e47 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.h +++ b/intern/ghost/intern/GHOST_WindowCocoa.hh @@ -12,9 +12,9 @@ # error Apple OSX only! #endif // __APPLE__ -#include "GHOST_Window.h" +#include "GHOST_Window.hh" #ifdef WITH_INPUT_IME -# include "GHOST_Event.h" +# include "GHOST_Event.hh" #endif @class CAMetalLayer; diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index dd25ce56cf8..58b82673735 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ -#include "GHOST_WindowCocoa.h" -#include "GHOST_ContextNone.h" -#include "GHOST_Debug.h" -#include "GHOST_SystemCocoa.h" +#include "GHOST_WindowCocoa.hh" +#include "GHOST_ContextNone.hh" +#include "GHOST_Debug.hh" +#include "GHOST_SystemCocoa.hh" /* Don't generate OpenGL deprecation warning. This is a known thing, and is not something easily * solvable in a short term. */ @@ -12,10 +12,10 @@ # pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -#include "GHOST_ContextCGL.h" +#include "GHOST_ContextCGL.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #include @@ -264,13 +264,13 @@ /* NSView for handling input and drawing. */ #define COCOA_VIEW_CLASS CocoaOpenGLView #define COCOA_VIEW_BASE_CLASS NSOpenGLView -#include "GHOST_WindowViewCocoa.h" +#include "GHOST_WindowViewCocoa.hh" #undef COCOA_VIEW_CLASS #undef COCOA_VIEW_BASE_CLASS #define COCOA_VIEW_CLASS CocoaMetalView #define COCOA_VIEW_BASE_CLASS NSView -#include "GHOST_WindowViewCocoa.h" +#include "GHOST_WindowViewCocoa.hh" #undef COCOA_VIEW_CLASS #undef COCOA_VIEW_BASE_CLASS diff --git a/intern/ghost/intern/GHOST_WindowManager.cpp b/intern/ghost/intern/GHOST_WindowManager.cc similarity index 97% rename from intern/ghost/intern/GHOST_WindowManager.cpp rename to intern/ghost/intern/GHOST_WindowManager.cc index e8785cbdb24..33a45a09669 100644 --- a/intern/ghost/intern/GHOST_WindowManager.cpp +++ b/intern/ghost/intern/GHOST_WindowManager.cc @@ -9,9 +9,9 @@ * Copyright (C) 2001 NaN Technologies B.V. */ -#include "GHOST_WindowManager.h" -#include "GHOST_Debug.h" -#include "GHOST_Window.h" +#include "GHOST_WindowManager.hh" +#include "GHOST_Debug.hh" +#include "GHOST_Window.hh" #include GHOST_WindowManager::GHOST_WindowManager() diff --git a/intern/ghost/intern/GHOST_WindowManager.h b/intern/ghost/intern/GHOST_WindowManager.hh similarity index 98% rename from intern/ghost/intern/GHOST_WindowManager.h rename to intern/ghost/intern/GHOST_WindowManager.hh index 79645bc68ed..ece949d622d 100644 --- a/intern/ghost/intern/GHOST_WindowManager.h +++ b/intern/ghost/intern/GHOST_WindowManager.hh @@ -10,8 +10,8 @@ #include -#include "GHOST_IWindow.h" -#include "GHOST_Rect.h" +#include "GHOST_IWindow.hh" +#include "GHOST_Rect.hh" /** * Manages system windows (platform independent implementation). diff --git a/intern/ghost/intern/GHOST_WindowNULL.h b/intern/ghost/intern/GHOST_WindowNULL.hh similarity index 99% rename from intern/ghost/intern/GHOST_WindowNULL.h rename to intern/ghost/intern/GHOST_WindowNULL.hh index f9c0a593d5f..3749206d2ed 100644 --- a/intern/ghost/intern/GHOST_WindowNULL.h +++ b/intern/ghost/intern/GHOST_WindowNULL.hh @@ -7,7 +7,7 @@ #pragma once -#include "GHOST_Window.h" +#include "GHOST_Window.hh" #include diff --git a/intern/ghost/intern/GHOST_WindowSDL.cpp b/intern/ghost/intern/GHOST_WindowSDL.cc similarity index 99% rename from intern/ghost/intern/GHOST_WindowSDL.cpp rename to intern/ghost/intern/GHOST_WindowSDL.cc index f0d5f5d93ab..5783c8005dc 100644 --- a/intern/ghost/intern/GHOST_WindowSDL.cpp +++ b/intern/ghost/intern/GHOST_WindowSDL.cc @@ -4,10 +4,10 @@ * \ingroup GHOST */ -#include "GHOST_WindowSDL.h" +#include "GHOST_WindowSDL.hh" #include "SDL_mouse.h" -#include "GHOST_ContextSDL.h" +#include "GHOST_ContextSDL.hh" #include diff --git a/intern/ghost/intern/GHOST_WindowSDL.h b/intern/ghost/intern/GHOST_WindowSDL.hh similarity index 98% rename from intern/ghost/intern/GHOST_WindowSDL.h rename to intern/ghost/intern/GHOST_WindowSDL.hh index 49ff3ace6c3..807fb7ec72a 100644 --- a/intern/ghost/intern/GHOST_WindowSDL.h +++ b/intern/ghost/intern/GHOST_WindowSDL.hh @@ -7,8 +7,8 @@ #pragma once -#include "GHOST_SystemSDL.h" -#include "GHOST_Window.h" +#include "GHOST_SystemSDL.hh" +#include "GHOST_Window.hh" #include diff --git a/intern/ghost/intern/GHOST_WindowViewCocoa.h b/intern/ghost/intern/GHOST_WindowViewCocoa.hh similarity index 100% rename from intern/ghost/intern/GHOST_WindowViewCocoa.h rename to intern/ghost/intern/GHOST_WindowViewCocoa.hh diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cc similarity index 99% rename from intern/ghost/intern/GHOST_WindowWayland.cpp rename to intern/ghost/intern/GHOST_WindowWayland.cc index 3108ff01799..b51cfc68635 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cpp +++ b/intern/ghost/intern/GHOST_WindowWayland.cc @@ -4,18 +4,18 @@ * \ingroup GHOST */ -#include "GHOST_WindowWayland.h" -#include "GHOST_SystemWayland.h" -#include "GHOST_WaylandUtils.h" -#include "GHOST_WindowManager.h" -#include "GHOST_utildefines.h" +#include "GHOST_WindowWayland.hh" +#include "GHOST_SystemWayland.hh" +#include "GHOST_WaylandUtils.hh" +#include "GHOST_WindowManager.hh" +#include "GHOST_utildefines.hh" -#include "GHOST_Event.h" +#include "GHOST_Event.hh" -#include "GHOST_ContextEGL.h" -#include "GHOST_ContextNone.h" +#include "GHOST_ContextEGL.hh" +#include "GHOST_ContextNone.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #include diff --git a/intern/ghost/intern/GHOST_WindowWayland.h b/intern/ghost/intern/GHOST_WindowWayland.hh similarity index 99% rename from intern/ghost/intern/GHOST_WindowWayland.h rename to intern/ghost/intern/GHOST_WindowWayland.hh index e04be48a5e9..150905f4649 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.h +++ b/intern/ghost/intern/GHOST_WindowWayland.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Window.h" +#include "GHOST_Window.hh" #include diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cc similarity index 99% rename from intern/ghost/intern/GHOST_WindowWin32.cpp rename to intern/ghost/intern/GHOST_WindowWin32.cc index 06d9ea939e0..b8b8e14f400 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cc @@ -5,18 +5,18 @@ * \ingroup GHOST */ -#include "GHOST_WindowWin32.h" -#include "GHOST_ContextD3D.h" -#include "GHOST_ContextNone.h" -#include "GHOST_DropTargetWin32.h" -#include "GHOST_SystemWin32.h" -#include "GHOST_WindowManager.h" +#include "GHOST_WindowWin32.hh" +#include "GHOST_ContextD3D.hh" +#include "GHOST_ContextNone.hh" +#include "GHOST_DropTargetWin32.hh" +#include "GHOST_SystemWin32.hh" +#include "GHOST_WindowManager.hh" #include "utf_winfunc.h" #include "utfconv.h" -#include "GHOST_ContextWGL.h" +#include "GHOST_ContextWGL.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif #include diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.hh similarity index 98% rename from intern/ghost/intern/GHOST_WindowWin32.h rename to intern/ghost/intern/GHOST_WindowWin32.hh index 44071f0915e..cb6a11691d5 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.hh @@ -12,12 +12,12 @@ # error WIN32 only! #endif /* WIN32 */ -#include "GHOST_TaskbarWin32.h" -#include "GHOST_TrackpadWin32.h" -#include "GHOST_Window.h" -#include "GHOST_Wintab.h" +#include "GHOST_TaskbarWin32.hh" +#include "GHOST_TrackpadWin32.hh" +#include "GHOST_Window.hh" +#include "GHOST_Wintab.hh" #ifdef WITH_INPUT_IME -# include "GHOST_ImeWin32.h" +# include "GHOST_ImeWin32.hh" #endif #include diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cc similarity index 99% rename from intern/ghost/intern/GHOST_WindowX11.cpp rename to intern/ghost/intern/GHOST_WindowX11.cc index 3e93fdc0b08..ae91a0c3580 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cc @@ -11,21 +11,21 @@ #include #include -#include "GHOST_Debug.h" -#include "GHOST_IconX11.h" -#include "GHOST_SystemX11.h" +#include "GHOST_Debug.hh" +#include "GHOST_IconX11.hh" +#include "GHOST_SystemX11.hh" #include "GHOST_Types.h" -#include "GHOST_WindowX11.h" -#include "GHOST_utildefines.h" +#include "GHOST_WindowX11.hh" +#include "GHOST_utildefines.hh" #ifdef WITH_XDND -# include "GHOST_DropTargetX11.h" +# include "GHOST_DropTargetX11.hh" #endif -#include "GHOST_ContextEGL.h" -#include "GHOST_ContextGLX.h" +#include "GHOST_ContextEGL.hh" +#include "GHOST_ContextGLX.hh" #ifdef WITH_VULKAN_BACKEND -# include "GHOST_ContextVK.h" +# include "GHOST_ContextVK.hh" #endif /* For #XIWarpPointer. */ diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.hh similarity index 98% rename from intern/ghost/intern/GHOST_WindowX11.h rename to intern/ghost/intern/GHOST_WindowX11.hh index f9dac3b2ac7..36cd2cbe26c 100644 --- a/intern/ghost/intern/GHOST_WindowX11.h +++ b/intern/ghost/intern/GHOST_WindowX11.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_Window.h" +#include "GHOST_Window.hh" #include #include /* For tablets. */ @@ -16,7 +16,7 @@ # include #endif -#include "GHOST_TaskbarX11.h" +#include "GHOST_TaskbarX11.hh" #include @@ -147,7 +147,7 @@ class GHOST_WindowX11 : public GHOST_Window { /* * Need this in case that we want start the window * in FullScree or Maximized state. - * Check GHOST_WindowX11.cpp + * Check GHOST_WindowX11.cc */ bool m_post_init; GHOST_TWindowState m_post_state; diff --git a/intern/ghost/intern/GHOST_Wintab.cpp b/intern/ghost/intern/GHOST_Wintab.cc similarity index 99% rename from intern/ghost/intern/GHOST_Wintab.cpp rename to intern/ghost/intern/GHOST_Wintab.cc index f7075efcbdd..784b71d21ef 100644 --- a/intern/ghost/intern/GHOST_Wintab.cpp +++ b/intern/ghost/intern/GHOST_Wintab.cc @@ -6,7 +6,7 @@ #define _USE_MATH_DEFINES -#include "GHOST_Wintab.h" +#include "GHOST_Wintab.hh" GHOST_Wintab *GHOST_Wintab::loadWintab(HWND hwnd) { diff --git a/intern/ghost/intern/GHOST_Wintab.h b/intern/ghost/intern/GHOST_Wintab.hh similarity index 100% rename from intern/ghost/intern/GHOST_Wintab.h rename to intern/ghost/intern/GHOST_Wintab.hh diff --git a/intern/ghost/intern/GHOST_Xr.cpp b/intern/ghost/intern/GHOST_Xr.cc similarity index 91% rename from intern/ghost/intern/GHOST_Xr.cpp rename to intern/ghost/intern/GHOST_Xr.cc index f32200102cd..72e1d5a0045 100644 --- a/intern/ghost/intern/GHOST_Xr.cpp +++ b/intern/ghost/intern/GHOST_Xr.cc @@ -11,9 +11,9 @@ #include "GHOST_C-api.h" -#include "GHOST_XrContext.h" -#include "GHOST_XrException.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrContext.hh" +#include "GHOST_XrException.hh" +#include "GHOST_Xr_intern.hh" GHOST_XrContextHandle GHOST_XrContextCreate(const GHOST_XrContextCreateInfo *create_info) { diff --git a/intern/ghost/intern/GHOST_XrAction.cpp b/intern/ghost/intern/GHOST_XrAction.cc similarity index 99% rename from intern/ghost/intern/GHOST_XrAction.cpp rename to intern/ghost/intern/GHOST_XrAction.cc index 9fbe033ade9..79ec9dfcb15 100644 --- a/intern/ghost/intern/GHOST_XrAction.cpp +++ b/intern/ghost/intern/GHOST_XrAction.cc @@ -9,10 +9,10 @@ #include "GHOST_Types.h" -#include "GHOST_XrException.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrException.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_XrAction.h" +#include "GHOST_XrAction.hh" /* -------------------------------------------------------------------- */ /** \name GHOST_XrActionSpace diff --git a/intern/ghost/intern/GHOST_XrAction.h b/intern/ghost/intern/GHOST_XrAction.hh similarity index 99% rename from intern/ghost/intern/GHOST_XrAction.h rename to intern/ghost/intern/GHOST_XrAction.hh index 956ff342dc4..0b1e9760026 100644 --- a/intern/ghost/intern/GHOST_XrAction.h +++ b/intern/ghost/intern/GHOST_XrAction.hh @@ -13,7 +13,7 @@ #include #include -#include "GHOST_Util.h" +#include "GHOST_Util.hh" /* -------------------------------------------------------------------- */ diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cc similarity index 99% rename from intern/ghost/intern/GHOST_XrContext.cpp rename to intern/ghost/intern/GHOST_XrContext.cc index 413e2670750..66ebb3c01c6 100644 --- a/intern/ghost/intern/GHOST_XrContext.cpp +++ b/intern/ghost/intern/GHOST_XrContext.cc @@ -13,11 +13,11 @@ #include #include "GHOST_Types.h" -#include "GHOST_XrException.h" -#include "GHOST_XrSession.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrException.hh" +#include "GHOST_XrSession.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_XrContext.h" +#include "GHOST_XrContext.hh" struct OpenXRInstanceData { XrInstance instance = XR_NULL_HANDLE; diff --git a/intern/ghost/intern/GHOST_XrContext.h b/intern/ghost/intern/GHOST_XrContext.hh similarity index 98% rename from intern/ghost/intern/GHOST_XrContext.h rename to intern/ghost/intern/GHOST_XrContext.hh index 6eac4284e43..98f0991d3ff 100644 --- a/intern/ghost/intern/GHOST_XrContext.h +++ b/intern/ghost/intern/GHOST_XrContext.hh @@ -9,9 +9,9 @@ #include #include -#include "GHOST_Xr_intern.h" +#include "GHOST_Xr_intern.hh" -#include "GHOST_IXrContext.h" +#include "GHOST_IXrContext.hh" struct OpenXRInstanceData; diff --git a/intern/ghost/intern/GHOST_XrControllerModel.cpp b/intern/ghost/intern/GHOST_XrControllerModel.cc similarity index 99% rename from intern/ghost/intern/GHOST_XrControllerModel.cpp rename to intern/ghost/intern/GHOST_XrControllerModel.cc index 0a8b0dcb003..55b76f51237 100644 --- a/intern/ghost/intern/GHOST_XrControllerModel.cpp +++ b/intern/ghost/intern/GHOST_XrControllerModel.cc @@ -10,10 +10,10 @@ #include #include "GHOST_Types.h" -#include "GHOST_XrException.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrException.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_XrControllerModel.h" +#include "GHOST_XrControllerModel.hh" #define TINYGLTF_IMPLEMENTATION #define TINYGLTF_NO_STB_IMAGE diff --git a/intern/ghost/intern/GHOST_XrControllerModel.h b/intern/ghost/intern/GHOST_XrControllerModel.hh similarity index 100% rename from intern/ghost/intern/GHOST_XrControllerModel.h rename to intern/ghost/intern/GHOST_XrControllerModel.hh diff --git a/intern/ghost/intern/GHOST_XrEvent.cpp b/intern/ghost/intern/GHOST_XrEvent.cc similarity index 95% rename from intern/ghost/intern/GHOST_XrEvent.cpp rename to intern/ghost/intern/GHOST_XrEvent.cc index 8a251439128..8097422275a 100644 --- a/intern/ghost/intern/GHOST_XrEvent.cpp +++ b/intern/ghost/intern/GHOST_XrEvent.cc @@ -7,8 +7,8 @@ #include #include "GHOST_C-api.h" -#include "GHOST_XrContext.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrContext.hh" +#include "GHOST_Xr_intern.hh" static bool GHOST_XrEventPollNext(XrInstance instance, XrEventDataBuffer &r_event_data) { diff --git a/intern/ghost/intern/GHOST_XrException.h b/intern/ghost/intern/GHOST_XrException.hh similarity index 100% rename from intern/ghost/intern/GHOST_XrException.h rename to intern/ghost/intern/GHOST_XrException.hh diff --git a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp b/intern/ghost/intern/GHOST_XrGraphicsBinding.cc similarity index 98% rename from intern/ghost/intern/GHOST_XrGraphicsBinding.cpp rename to intern/ghost/intern/GHOST_XrGraphicsBinding.cc index d387b222538..70099ac4dcc 100644 --- a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp +++ b/intern/ghost/intern/GHOST_XrGraphicsBinding.cc @@ -9,24 +9,24 @@ #include #if defined(WITH_GHOST_X11) -# include "GHOST_ContextEGL.h" -# include "GHOST_ContextGLX.h" -# include "GHOST_SystemX11.h" +# include "GHOST_ContextEGL.hh" +# include "GHOST_ContextGLX.hh" +# include "GHOST_SystemX11.hh" #endif #if defined(WITH_GHOST_WAYLAND) -# include "GHOST_ContextEGL.h" -# include "GHOST_SystemWayland.h" +# include "GHOST_ContextEGL.hh" +# include "GHOST_SystemWayland.hh" #endif #if defined(WIN32) -# include "GHOST_ContextD3D.h" -# include "GHOST_ContextWGL.h" -# include "GHOST_SystemWin32.h" +# include "GHOST_ContextD3D.hh" +# include "GHOST_ContextWGL.hh" +# include "GHOST_SystemWin32.hh" #endif #include "GHOST_C-api.h" -#include "GHOST_XrException.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_XrException.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_IXrGraphicsBinding.h" +#include "GHOST_IXrGraphicsBinding.hh" static std::optional choose_swapchain_format_from_candidates( const std::vector &gpu_binding_formats, const std::vector &runtime_formats) diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cc similarity index 99% rename from intern/ghost/intern/GHOST_XrSession.cpp rename to intern/ghost/intern/GHOST_XrSession.cc index e8f9b96b15c..6a874a7f2c0 100644 --- a/intern/ghost/intern/GHOST_XrSession.cpp +++ b/intern/ghost/intern/GHOST_XrSession.cc @@ -13,15 +13,15 @@ #include "GHOST_C-api.h" -#include "GHOST_IXrGraphicsBinding.h" -#include "GHOST_XrAction.h" -#include "GHOST_XrContext.h" -#include "GHOST_XrControllerModel.h" -#include "GHOST_XrException.h" -#include "GHOST_XrSwapchain.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_IXrGraphicsBinding.hh" +#include "GHOST_XrAction.hh" +#include "GHOST_XrContext.hh" +#include "GHOST_XrControllerModel.hh" +#include "GHOST_XrException.hh" +#include "GHOST_XrSwapchain.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_XrSession.h" +#include "GHOST_XrSession.hh" struct OpenXRSessionData { XrSystemId system_id = XR_NULL_SYSTEM_ID; diff --git a/intern/ghost/intern/GHOST_XrSession.h b/intern/ghost/intern/GHOST_XrSession.hh similarity index 99% rename from intern/ghost/intern/GHOST_XrSession.h rename to intern/ghost/intern/GHOST_XrSession.hh index 5e0cdbbc1fc..e7f7fa6db6f 100644 --- a/intern/ghost/intern/GHOST_XrSession.h +++ b/intern/ghost/intern/GHOST_XrSession.hh @@ -9,7 +9,7 @@ #include #include -#include "GHOST_Xr_intern.h" +#include "GHOST_Xr_intern.hh" class GHOST_XrContext; class GHOST_XrSwapchain; diff --git a/intern/ghost/intern/GHOST_XrSwapchain.cpp b/intern/ghost/intern/GHOST_XrSwapchain.cc similarity index 96% rename from intern/ghost/intern/GHOST_XrSwapchain.cpp rename to intern/ghost/intern/GHOST_XrSwapchain.cc index 8f4514954f0..9a7116e9c1d 100644 --- a/intern/ghost/intern/GHOST_XrSwapchain.cpp +++ b/intern/ghost/intern/GHOST_XrSwapchain.cc @@ -8,12 +8,12 @@ #include "GHOST_C-api.h" -#include "GHOST_IXrGraphicsBinding.h" -#include "GHOST_XrException.h" -#include "GHOST_XrSession.h" -#include "GHOST_Xr_intern.h" +#include "GHOST_IXrGraphicsBinding.hh" +#include "GHOST_XrException.hh" +#include "GHOST_XrSession.hh" +#include "GHOST_Xr_intern.hh" -#include "GHOST_XrSwapchain.h" +#include "GHOST_XrSwapchain.hh" struct OpenXRSwapchainData { using ImageVec = std::vector; diff --git a/intern/ghost/intern/GHOST_XrSwapchain.h b/intern/ghost/intern/GHOST_XrSwapchain.hh similarity index 100% rename from intern/ghost/intern/GHOST_XrSwapchain.h rename to intern/ghost/intern/GHOST_XrSwapchain.hh diff --git a/intern/ghost/intern/GHOST_Xr_intern.h b/intern/ghost/intern/GHOST_Xr_intern.hh similarity index 97% rename from intern/ghost/intern/GHOST_Xr_intern.h rename to intern/ghost/intern/GHOST_Xr_intern.hh index 8c542762b91..bc12604842e 100644 --- a/intern/ghost/intern/GHOST_Xr_intern.h +++ b/intern/ghost/intern/GHOST_Xr_intern.hh @@ -9,7 +9,7 @@ #include #include -#include "GHOST_Xr_openxr_includes.h" +#include "GHOST_Xr_openxr_includes.hh" #define CHECK_XR(call, error_msg) \ { \ diff --git a/intern/ghost/intern/GHOST_Xr_openxr_includes.h b/intern/ghost/intern/GHOST_Xr_openxr_includes.hh similarity index 100% rename from intern/ghost/intern/GHOST_Xr_openxr_includes.h rename to intern/ghost/intern/GHOST_Xr_openxr_includes.hh diff --git a/intern/ghost/intern/GHOST_utildefines.h b/intern/ghost/intern/GHOST_utildefines.hh similarity index 99% rename from intern/ghost/intern/GHOST_utildefines.h rename to intern/ghost/intern/GHOST_utildefines.hh index ff092099c7c..4cb834514d5 100644 --- a/intern/ghost/intern/GHOST_utildefines.h +++ b/intern/ghost/intern/GHOST_utildefines.hh @@ -8,7 +8,7 @@ #pragma once -#include "GHOST_utildefines_variadic.h" +#include "GHOST_utildefines_variadic.hh" /* -------------------------------------------------------------------- */ /** \name Branch Prediction Macros diff --git a/intern/ghost/intern/GHOST_utildefines_variadic.h b/intern/ghost/intern/GHOST_utildefines_variadic.hh similarity index 100% rename from intern/ghost/intern/GHOST_utildefines_variadic.h rename to intern/ghost/intern/GHOST_utildefines_variadic.hh diff --git a/intern/ghost/test/gears/GHOST_Test.cpp b/intern/ghost/test/gears/GHOST_Test.cpp index 818cbc38e95..935f233cc96 100644 --- a/intern/ghost/test/gears/GHOST_Test.cpp +++ b/intern/ghost/test/gears/GHOST_Test.cpp @@ -27,11 +27,11 @@ # include #endif // defined(WIN32) || defined(__APPLE__) -#include "GHOST_Rect.h" +#include "GHOST_Rect.hh" -#include "GHOST_IEvent.h" -#include "GHOST_IEventConsumer.h" -#include "GHOST_ISystem.h" +#include "GHOST_IEvent.hh" +#include "GHOST_IEventConsumer.hh" +#include "GHOST_ISystem.hh" #define LEFT_EYE 0 #define RIGHT_EYE 1 diff --git a/source/blender/blenkernel/intern/appdir.c b/source/blender/blenkernel/intern/appdir.c index 369404724ba..87ba54af1d7 100644 --- a/source/blender/blenkernel/intern/appdir.c +++ b/source/blender/blenkernel/intern/appdir.c @@ -25,7 +25,7 @@ #include "BLT_translation.h" -#include "GHOST_Path-api.h" +#include "GHOST_Path-api.hh" #include "MEM_guardedalloc.h" diff --git a/source/blender/blenkernel/intern/layer_test.cc b/source/blender/blenkernel/intern/layer_test.cc index c332c67342b..9dccef76649 100644 --- a/source/blender/blenkernel/intern/layer_test.cc +++ b/source/blender/blenkernel/intern/layer_test.cc @@ -19,7 +19,7 @@ #include "RNA_access.h" #include "RNA_prototypes.h" -#include "GHOST_Path-api.h" +#include "GHOST_Path-api.hh" namespace blender::bke::tests { diff --git a/source/blender/blenloader/tests/blendfile_loading_base_test.cc b/source/blender/blenloader/tests/blendfile_loading_base_test.cc index 6613c65c42a..4778cf5db39 100644 --- a/source/blender/blenloader/tests/blendfile_loading_base_test.cc +++ b/source/blender/blenloader/tests/blendfile_loading_base_test.cc @@ -39,7 +39,7 @@ #include "WM_api.h" #include "wm.h" -#include "GHOST_Path-api.h" +#include "GHOST_Path-api.hh" #include "CLG_log.h" diff --git a/source/blender/gpu/metal/mtl_command_buffer.mm b/source/blender/gpu/metal/mtl_command_buffer.mm index fa57429b5d8..a10e46cdf77 100644 --- a/source/blender/gpu/metal/mtl_command_buffer.mm +++ b/source/blender/gpu/metal/mtl_command_buffer.mm @@ -8,7 +8,7 @@ #include "mtl_debug.hh" #include "mtl_framebuffer.hh" -#include "intern/GHOST_ContextCGL.h" +#include "intern/GHOST_ContextCGL.hh" #include diff --git a/source/blender/gpu/metal/mtl_context.hh b/source/blender/gpu/metal/mtl_context.hh index 62ea96d731c..5a782019ccb 100644 --- a/source/blender/gpu/metal/mtl_context.hh +++ b/source/blender/gpu/metal/mtl_context.hh @@ -18,9 +18,9 @@ # pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -#include "intern/GHOST_Context.h" -#include "intern/GHOST_ContextCGL.h" -#include "intern/GHOST_Window.h" +#include "intern/GHOST_Context.hh" +#include "intern/GHOST_ContextCGL.hh" +#include "intern/GHOST_Window.hh" #include "mtl_backend.hh" #include "mtl_capabilities.hh" diff --git a/source/blender/windowmanager/intern/wm_files.cc b/source/blender/windowmanager/intern/wm_files.cc index 0ba47e2cf4d..4fb53264dda 100644 --- a/source/blender/windowmanager/intern/wm_files.cc +++ b/source/blender/windowmanager/intern/wm_files.cc @@ -103,7 +103,7 @@ #include "ED_view3d_offscreen.h" #include "GHOST_C-api.h" -#include "GHOST_Path-api.h" +#include "GHOST_Path-api.hh" #include "GPU_context.h" diff --git a/source/blender/windowmanager/intern/wm_init_exit.cc b/source/blender/windowmanager/intern/wm_init_exit.cc index 54b6df73954..57b07579291 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.cc +++ b/source/blender/windowmanager/intern/wm_init_exit.cc @@ -76,7 +76,7 @@ #endif #include "GHOST_C-api.h" -#include "GHOST_Path-api.h" +#include "GHOST_Path-api.hh" #include "RNA_define.h" diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index e17e1ae512e..467ee99b241 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -244,7 +244,7 @@ enum { /* *** End of keyboard codes. *** */ /* NDOF (from "Space Navigator" & friends) - * These must be kept in sync with `GHOST_NDOFManager.h`. + * These must be kept in sync with `GHOST_NDOFManager.hh`. * Ordering matters, exact values do not. */ /**