Skip to content

Commit

Permalink
Convert Audio and Network modules 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 2184305 commit e521a28
Show file tree
Hide file tree
Showing 28 changed files with 73 additions and 73 deletions.
12 changes: 6 additions & 6 deletions src/SFML/Audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ set(SRC
${SRCROOT}/Listener.cpp
${INCROOT}/Listener.h
${SRCROOT}/Music.cpp
${SRCROOT}/MusicStruct.h
${SRCROOT}/MusicStruct.hpp
${INCROOT}/Music.h
${SRCROOT}/Sound.cpp
${SRCROOT}/SoundStruct.h
${SRCROOT}/SoundStruct.hpp
${INCROOT}/Sound.h
${SRCROOT}/SoundBuffer.cpp
${SRCROOT}/SoundBufferStruct.h
${SRCROOT}/SoundBufferStruct.hpp
${INCROOT}/SoundBuffer.h
${SRCROOT}/SoundBufferRecorder.cpp
${SRCROOT}/SoundBufferRecorderStruct.h
${SRCROOT}/SoundBufferRecorderStruct.hpp
${INCROOT}/SoundBufferRecorder.h
${SRCROOT}/SoundRecorder.cpp
${SRCROOT}/SoundRecorderStruct.h
${SRCROOT}/SoundRecorderStruct.hpp
${INCROOT}/SoundRecorder.h
${INCROOT}/SoundStatus.h
${SRCROOT}/SoundStream.cpp
${SRCROOT}/SoundStreamStruct.h
${SRCROOT}/SoundStreamStruct.hpp
${INCROOT}/SoundStream.h
${INCROOT}/Types.h
)
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Audio/Music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/Music.h>
#include <SFML/Audio/MusicStruct.h>
#include <SFML/Audio/MusicStruct.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_MUSICSTRUCT_H
#define SFML_MUSICSTRUCT_H
#ifndef SFML_MUSICSTRUCT_HPP
#define SFML_MUSICSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand All @@ -42,4 +42,4 @@ struct sfMusic
};


#endif // SFML_MUSICSTRUCT_H
#endif // SFML_MUSICSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Audio/Sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/Sound.h>
#include <SFML/Audio/SoundStruct.h>
#include <SFML/Audio/SoundStruct.hpp>
#include <SFML/Internal.hpp>


Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Audio/SoundBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/SoundBuffer.h>
#include <SFML/Audio/SoundBufferStruct.h>
#include <SFML/Audio/SoundBufferStruct.hpp>
#include <SFML/CallbackStream.hpp>
#include <SFML/Internal.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Audio/SoundBufferRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/SoundBufferRecorder.h>
#include <SFML/Audio/SoundBufferRecorderStruct.h>
#include <SFML/Audio/SoundBufferRecorderStruct.hpp>
#include <SFML/Internal.hpp>


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

#ifndef SFML_SOUNDBUFFERRECORDERSTRUCT_H
#define SFML_SOUNDBUFFERRECORDERSTRUCT_H
#ifndef SFML_SOUNDBUFFERRECORDERSTRUCT_HPP
#define SFML_SOUNDBUFFERRECORDERSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/SoundBufferRecorder.hpp>
#include <SFML/Audio/SoundBufferStruct.h>
#include <SFML/Audio/SoundBufferStruct.hpp>


////////////////////////////////////////////////////////////
Expand All @@ -43,4 +43,4 @@ struct sfSoundBufferRecorder
};


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

#ifndef SFML_SOUNDBUFFERSTRUCT_H
#define SFML_SOUNDBUFFERSTRUCT_H
#ifndef SFML_SOUNDBUFFERSTRUCT_HPP
#define SFML_SOUNDBUFFERSTRUCT_HPP

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


#endif // SFML_SOUNDBUFFERSTRUCT_H
#endif // SFML_SOUNDBUFFERSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Audio/SoundRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/SoundRecorder.h>
#include <SFML/Audio/SoundRecorderStruct.h>
#include <SFML/Audio/SoundRecorderStruct.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_SOUNDRECORDERSTRUCT_H
#define SFML_SOUNDRECORDERSTRUCT_H
#ifndef SFML_SOUNDRECORDERSTRUCT_HPP
#define SFML_SOUNDRECORDERSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand Down Expand Up @@ -105,4 +105,4 @@ struct sfSoundRecorder
};


#endif // SFML_SOUNDRECORDERSTRUCT_H
#endif // SFML_SOUNDRECORDERSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Audio/SoundStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/SoundStream.h>
#include <SFML/Audio/SoundStreamStruct.h>
#include <SFML/Audio/SoundStreamStruct.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_SOUNDSTREAMSTRUCT_H
#define SFML_SOUNDSTREAMSTRUCT_H
#ifndef SFML_SOUNDSTREAMSTRUCT_HPP
#define SFML_SOUNDSTREAMSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand Down Expand Up @@ -97,4 +97,4 @@ struct sfSoundStream
};


#endif // SFML_SOUNDSTREAMSTRUCT_H
#endif // SFML_SOUNDSTREAMSTRUCT_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
//
////////////////////////////////////////////////////////////

#ifndef SFML_SOUNDSTRUCT_H
#define SFML_SOUNDSTRUCT_H
#ifndef SFML_SOUNDSTRUCT_HPP
#define SFML_SOUNDSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/Sound.hpp>
#include <SFML/Audio/SoundBufferStruct.h>
#include <SFML/Audio/SoundBufferStruct.hpp>


////////////////////////////////////////////////////////////
Expand All @@ -42,4 +42,4 @@ struct sfSound
};


#endif // SFML_SOUNDSTRUCT_H
#endif // SFML_SOUNDSTRUCT_HPP
14 changes: 7 additions & 7 deletions src/SFML/Network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ set(SRCROOT ${PROJECT_SOURCE_DIR}/src/SFML/Network)
set(SRC
${INCROOT}/Export.h
${SRCROOT}/Ftp.cpp
${SRCROOT}/FtpStruct.h
${SRCROOT}/FtpStruct.hpp
${INCROOT}/Ftp.h
${SRCROOT}/Http.cpp
${SRCROOT}/HttpStruct.h
${SRCROOT}/HttpStruct.hpp
${INCROOT}/Http.h
${SRCROOT}/IpAddress.cpp
${INCROOT}/IpAddress.h
${SRCROOT}/Packet.cpp
${SRCROOT}/PacketStruct.h
${SRCROOT}/PacketStruct.hpp
${INCROOT}/Packet.h
${SRCROOT}/SocketSelector.cpp
${SRCROOT}/SocketSelectorStruct.h
${SRCROOT}/SocketSelectorStruct.hpp
${INCROOT}/SocketSelector.h
${INCROOT}/SocketStatus.h
${SRCROOT}/TcpListener.cpp
${SRCROOT}/TcpListenerStruct.h
${SRCROOT}/TcpListenerStruct.hpp
${INCROOT}/TcpListener.h
${SRCROOT}/TcpSocket.cpp
${SRCROOT}/TcpSocketStruct.h
${SRCROOT}/TcpSocketStruct.hpp
${INCROOT}/TcpSocket.h
${INCROOT}/Types.h
${SRCROOT}/UdpSocket.cpp
${SRCROOT}/UdpSocketStruct.h
${SRCROOT}/UdpSocketStruct.hpp
${INCROOT}/UdpSocket.h
)

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Network/Ftp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Ftp.h>
#include <SFML/Network/FtpStruct.h>
#include <SFML/Network/FtpStruct.hpp>
#include <SFML/Network/IpAddress.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_FTPSTRUCT_H
#define SFML_FTPSTRUCT_H
#ifndef SFML_FTPSTRUCT_HPP
#define SFML_FTPSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand Down Expand Up @@ -90,4 +90,4 @@ struct sfFtpListingResponse
};


#endif // SFML_FTPSTRUCT_H
#endif // SFML_FTPSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Network/Http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Http.h>
#include <SFML/Network/HttpStruct.h>
#include <SFML/Network/HttpStruct.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_HTTPSTRUCT_H
#define SFML_HTTPSTRUCT_H
#ifndef SFML_HTTPSTRUCT_HPP
#define SFML_HTTPSTRUCT_HPP

////////////////////////////////////////////////////////////
// Headers
Expand Down Expand Up @@ -58,4 +58,4 @@ struct sfHttpResponse
};


#endif // SFML_HTTPSTRUCT_H
#endif // SFML_HTTPSTRUCT_HPP
2 changes: 1 addition & 1 deletion src/SFML/Network/Packet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Packet.h>
#include <SFML/Network/PacketStruct.h>
#include <SFML/Network/PacketStruct.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_PACKETSTRUCT_H
#define SFML_PACKETSTRUCT_H
#ifndef SFML_PACKETSTRUCT_HPP
#define SFML_PACKETSTRUCT_HPP

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


#endif // SFML_PACKETSTRUCT_H
#endif // SFML_PACKETSTRUCT_HPP
8 changes: 4 additions & 4 deletions src/SFML/Network/SocketSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/SocketSelector.h>
#include <SFML/Network/SocketSelectorStruct.h>
#include <SFML/Network/TcpListenerStruct.h>
#include <SFML/Network/TcpSocketStruct.h>
#include <SFML/Network/UdpSocketStruct.h>
#include <SFML/Network/SocketSelectorStruct.hpp>
#include <SFML/Network/TcpListenerStruct.hpp>
#include <SFML/Network/TcpSocketStruct.hpp>
#include <SFML/Network/UdpSocketStruct.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_SOCKETSELECTORSTRUCT_H
#define SFML_SOCKETSELECTORSTRUCT_H
#ifndef SFML_SOCKETSELECTORSTRUCT_HPP
#define SFML_SOCKETSELECTORSTRUCT_HPP

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


#endif // SFML_SOCKETSELECTORSTRUCT_H
#endif // SFML_SOCKETSELECTORSTRUCT_HPP
4 changes: 2 additions & 2 deletions src/SFML/Network/TcpListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/TcpListener.h>
#include <SFML/Network/TcpListenerStruct.h>
#include <SFML/Network/TcpSocketStruct.h>
#include <SFML/Network/TcpListenerStruct.hpp>
#include <SFML/Network/TcpSocketStruct.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_TCPLISTENERSTRUCT_H
#define SFML_TCPLISTENERSTRUCT_H
#ifndef SFML_TCPLISTENERSTRUCT_HPP
#define SFML_TCPLISTENERSTRUCT_HPP

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


#endif // SFML_TCPLISTENERSTRUCT_H
#endif // SFML_TCPLISTENERSTRUCT_HPP
4 changes: 2 additions & 2 deletions src/SFML/Network/TcpSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/TcpSocket.h>
#include <SFML/Network/TcpSocketStruct.h>
#include <SFML/Network/PacketStruct.h>
#include <SFML/Network/TcpSocketStruct.hpp>
#include <SFML/Network/PacketStruct.hpp>
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Internal.hpp>
#include <string.h>
Expand Down
Loading

0 comments on commit e521a28

Please sign in to comment.