Skip to content

Commit

Permalink
Convert Window module private headers to .hpp extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Dec 29, 2023
1 parent 5256879 commit 9a6bd14
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/SFML/Graphics/RenderTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <SFML/Graphics/VertexBufferStruct.h>
#include <SFML/Graphics/ConvertRenderStates.hpp>
#include <SFML/Internal.hpp>
#include <SFML/Window/ContextSettingsInternal.h>
#include <SFML/Window/ContextSettingsInternal.hpp>


////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions src/SFML/Graphics/RenderWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
#include <SFML/Graphics/ConvertRenderStates.hpp>
#include <SFML/Window/Touch.hpp>
#include <SFML/Internal.hpp>
#include <SFML/Window/ContextSettingsInternal.h>
#include <SFML/Window/CursorStruct.h>
#include <SFML/Window/ContextSettingsInternal.hpp>
#include <SFML/Window/CursorStruct.hpp>
#include <SFML/ConvertEvent.hpp>


Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Graphics/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <SFML/Graphics/TextureStruct.h>
#include <SFML/Graphics/ImageStruct.h>
#include <SFML/Graphics/RenderWindowStruct.h>
#include <SFML/Window/WindowStruct.h>
#include <SFML/Window/WindowStruct.hpp>
#include <SFML/Internal.hpp>
#include <SFML/CallbackStream.hpp>

Expand Down
10 changes: 5 additions & 5 deletions src/SFML/Window/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ set(SRC
${SRCROOT}/Clipboard.cpp
${INCROOT}/Cursor.h
${SRCROOT}/Cursor.cpp
${SRCROOT}/CursorStruct.h
${SRCROOT}/CursorStruct.hpp
${SRCROOT}/Context.cpp
${SRCROOT}/ContextSettingsInternal.h
${SRCROOT}/ContextStruct.h
${SRCROOT}/ContextSettingsInternal.hpp
${SRCROOT}/ContextStruct.hpp
${INCROOT}/Context.h
${INCROOT}/Event.h
${SRCROOT}/Joystick.cpp
Expand All @@ -33,8 +33,8 @@ set(SRC
${INCROOT}/Vulkan.h
${SRCROOT}/Window.cpp
${SRCROOT}/WindowBase.cpp
${SRCROOT}/WindowStruct.h
${SRCROOT}/WindowBaseStruct.h
${SRCROOT}/WindowStruct.hpp
${SRCROOT}/WindowBaseStruct.hpp
${INCROOT}/Window.h
${INCROOT}/WindowBase.h
${INCROOT}/WindowHandle.h
Expand Down
4 changes: 2 additions & 2 deletions src/SFML/Window/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Context.h>
#include <SFML/Window/ContextStruct.h>
#include <SFML/Window/ContextStruct.hpp>
#include <SFML/Internal.hpp>
#include <SFML/Window/ContextSettingsInternal.h>
#include <SFML/Window/ContextSettingsInternal.hpp>


////////////////////////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_CONTEXTSETTINGSINTERNAL_H
#define SFML_CONTEXTSETTINGSINTERNAL_H
#ifndef SFML_CONTEXTSETTINGSINTERNAL_HPP
#define SFML_CONTEXTSETTINGSINTERNAL_HPP

////////////////////////////////////////////////////////////
// Headers
Expand Down Expand Up @@ -72,4 +72,4 @@ namespace priv
}
}

#endif // SFML_CONTEXTSETTINGSINTERNAL_H
#endif // SFML_CONTEXTSETTINGSINTERNAL_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_CONTEXTSTRUCT_H
#define SFML_CONTEXTSTRUCT_H
#ifndef SFML_CONTEXTSTRUCT_HPP
#define SFML_CONTEXTSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand All @@ -40,4 +40,4 @@ struct sfContext
};


#endif // SFML_CONTEXTSTRUCT_H
#endif // SFML_CONTEXTSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Window/Cursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Cursor.h>
#include <SFML/Window/CursorStruct.h>
#include <SFML/Window/CursorStruct.hpp>
#include <SFML/Internal.hpp>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_CURSORSTRUCT_H
#define SFML_CURSORSTRUCT_H
#ifndef SFML_CURSORSTRUCT_HPP
#define SFML_CURSORSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand All @@ -40,4 +40,4 @@ struct sfCursor
};


#endif // SFML_CURSORSTRUCT_H
#endif // SFML_CURSORSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Window/Mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Mouse.h>
#include <SFML/Window/WindowStruct.h>
#include <SFML/Window/WindowStruct.hpp>
#include <SFML/Window/Mouse.hpp>
#include <SFML/Internal.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/Touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
#include <SFML/Window/Touch.h>
#include <SFML/Window/Touch.hpp>
#include <SFML/Window/WindowStruct.h>
#include <SFML/Window/WindowStruct.hpp>
#include <SFML/Internal.hpp>


Expand Down
6 changes: 3 additions & 3 deletions src/SFML/Window/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Window.h>
#include <SFML/Window/WindowStruct.h>
#include <SFML/Window/WindowStruct.hpp>
#include <SFML/Internal.hpp>
#include <SFML/Window/ContextSettingsInternal.h>
#include <SFML/Window/CursorStruct.h>
#include <SFML/Window/ContextSettingsInternal.hpp>
#include <SFML/Window/CursorStruct.hpp>
#include <SFML/ConvertEvent.hpp>


Expand Down
4 changes: 2 additions & 2 deletions src/SFML/Window/WindowBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/WindowBase.h>
#include <SFML/Window/WindowBaseStruct.h>
#include <SFML/Window/WindowBaseStruct.hpp>
#include <SFML/Internal.hpp>
#include <SFML/Window/CursorStruct.h>
#include <SFML/Window/CursorStruct.hpp>
#include <SFML/ConvertEvent.hpp>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_WINDOWBASESTRUCT_H
#define SFML_WINDOWBASESTRUCT_H
#ifndef SFML_WINDOWBASESTRUCT_HPP
#define SFML_WINDOWBASESTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand All @@ -40,4 +40,4 @@ struct sfWindowBase
};


#endif // SFML_WINDOWBASESTRUCT_H
#endif // SFML_WINDOWBASESTRUCT_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_WINDOWSTRUCT_H
#define SFML_WINDOWSTRUCT_H
#ifndef SFML_WINDOWSTRUCT_HPP
#define SFML_WINDOWSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand All @@ -40,4 +40,4 @@ struct sfWindow
};


#endif // SFML_WINDOWSTRUCT_H
#endif // SFML_WINDOWSTRUCT_HPP

0 comments on commit 9a6bd14

Please sign in to comment.