mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Name header file after class it defines
This commit is contained in:
parent
9d2097cdea
commit
c73bd885c5
@ -71,8 +71,8 @@ SET(LIBRARY_SOURCES
|
||||
|
||||
SET(LIBRARY_HEADERS
|
||||
SDL2pp/Audio.hh
|
||||
SDL2pp/ContainerRWops.hh
|
||||
SDL2pp/Exception.hh
|
||||
SDL2pp/ExtraRWops.hh
|
||||
SDL2pp/Point.hh
|
||||
SDL2pp/RWops.hh
|
||||
SDL2pp/Rect.hh
|
||||
|
@ -19,8 +19,8 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#ifndef SDL2PP_EXTRARWOPS_HH
|
||||
#define SDL2PP_EXTRARWOPS_HH
|
||||
#ifndef SDL2PP_CONTAINERRWOPS_HH
|
||||
#define SDL2PP_CONTAINERRWOPS_HH
|
||||
|
||||
#include <SDL2pp/RWops.hh>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <SDL2pp/Rect.hh>
|
||||
#include <SDL2pp/Point.hh>
|
||||
#include <SDL2pp/RWops.hh>
|
||||
#include <SDL2pp/ExtraRWops.hh>
|
||||
#include <SDL2pp/ContainerRWops.hh>
|
||||
#include <SDL2pp/Wav.hh>
|
||||
|
||||
#endif
|
||||
|
@ -8,7 +8,7 @@ SET(HEADER_TESTS
|
||||
header_rect
|
||||
header_renderer
|
||||
header_rwops
|
||||
header_extrarwops
|
||||
header_containerrwops
|
||||
header_sdl
|
||||
header_sdl2pp
|
||||
header_texture
|
||||
|
5
tests/header_containerrwops.cc
Normal file
5
tests/header_containerrwops.cc
Normal file
@ -0,0 +1,5 @@
|
||||
#include <SDL2pp/ContainerRWops.hh>
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#include <SDL2pp/ExtraRWops.hh>
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
#include <SDL2pp/ExtraRWops.hh>
|
||||
#include <SDL2pp/ContainerRWops.hh>
|
||||
#include <SDL2pp/RWops.hh>
|
||||
|
||||
#include "testing.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user