Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application
diff options
context:
space:
mode:
Diffstat (limited to 'source/application')
-rw-r--r--source/application/StarApplication.hpp5
-rw-r--r--source/application/StarApplicationController.hpp5
-rw-r--r--source/application/StarDesktopService_pc_steam.hpp5
-rw-r--r--source/application/StarMainApplication.hpp5
-rw-r--r--source/application/StarP2PNetworkingService_pc.hpp5
-rw-r--r--source/application/StarPlatformServices_pc.hpp5
-rw-r--r--source/application/StarRenderer.hpp5
-rw-r--r--source/application/StarRenderer_opengl20.hpp5
-rw-r--r--source/application/StarStatisticsService_pc_steam.hpp5
-rw-r--r--source/application/StarTextureAtlas.hpp5
-rw-r--r--source/application/StarUserGeneratedContentService_pc_steam.hpp5
11 files changed, 11 insertions, 44 deletions
diff --git a/source/application/StarApplication.hpp b/source/application/StarApplication.hpp
index 9e10f58..f639546 100644
--- a/source/application/StarApplication.hpp
+++ b/source/application/StarApplication.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_APPLICATION_HPP
-#define STAR_APPLICATION_HPP
+#pragma once
#include "StarInputEvent.hpp"
@@ -72,5 +71,3 @@ inline RendererPtr const& Application::renderer() const {
}
}
-
-#endif
diff --git a/source/application/StarApplicationController.hpp b/source/application/StarApplicationController.hpp
index 5747268..341e15e 100644
--- a/source/application/StarApplicationController.hpp
+++ b/source/application/StarApplicationController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_APPLICATION_CONTROLLER_HPP
-#define STAR_APPLICATION_CONTROLLER_HPP
+#pragma once
#include "StarApplication.hpp"
#include "StarStatisticsService.hpp"
@@ -73,5 +72,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarDesktopService_pc_steam.hpp b/source/application/StarDesktopService_pc_steam.hpp
index da38089..c25a5ec 100644
--- a/source/application/StarDesktopService_pc_steam.hpp
+++ b/source/application/StarDesktopService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DESKTOP_SERVICE_PC_STEAM_HPP
-#define STAR_DESKTOP_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -15,5 +14,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarMainApplication.hpp b/source/application/StarMainApplication.hpp
index 515dfb9..18c9fa5 100644
--- a/source/application/StarMainApplication.hpp
+++ b/source/application/StarMainApplication.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAIN_APPLICATION_HPP
-#define STAR_MAIN_APPLICATION_HPP
+#pragma once
#include "StarApplication.hpp"
#include "StarApplicationController.hpp"
@@ -30,5 +29,3 @@ namespace Star {
}
#endif
-
-#endif
diff --git a/source/application/StarP2PNetworkingService_pc.hpp b/source/application/StarP2PNetworkingService_pc.hpp
index 47cebb6..20fbefb 100644
--- a/source/application/StarP2PNetworkingService_pc.hpp
+++ b/source/application/StarP2PNetworkingService_pc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_P2P_NETWORKING_SERVICE_PC_HPP
-#define STAR_P2P_NETWORKING_SERVICE_PC_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
#include "StarAlgorithm.hpp"
@@ -142,5 +141,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarPlatformServices_pc.hpp b/source/application/StarPlatformServices_pc.hpp
index 4240515..074c6df 100644
--- a/source/application/StarPlatformServices_pc.hpp
+++ b/source/application/StarPlatformServices_pc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLATFORM_SERVICES_PC_HPP
-#define STAR_PLATFORM_SERVICES_PC_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarApplication.hpp"
@@ -79,5 +78,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarRenderer.hpp b/source/application/StarRenderer.hpp
index ad44c5c..7b75077 100644
--- a/source/application/StarRenderer.hpp
+++ b/source/application/StarRenderer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERER_HPP
-#define STAR_RENDERER_HPP
+#pragma once
#include "StarVariant.hpp"
#include "StarImage.hpp"
@@ -166,5 +165,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarRenderer_opengl20.hpp b/source/application/StarRenderer_opengl20.hpp
index cbf3924..8c96775 100644
--- a/source/application/StarRenderer_opengl20.hpp
+++ b/source/application/StarRenderer_opengl20.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERER_OPENGL_HPP
-#define STAR_RENDERER_OPENGL_HPP
+#pragma once
#include "StarTextureAtlas.hpp"
#include "StarRenderer.hpp"
@@ -237,5 +236,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarStatisticsService_pc_steam.hpp b/source/application/StarStatisticsService_pc_steam.hpp
index f58d7c1..332be18 100644
--- a/source/application/StarStatisticsService_pc_steam.hpp
+++ b/source/application/StarStatisticsService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATISTICS_SERVICE_PC_STEAM_HPP
-#define STAR_STATISTICS_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarTextureAtlas.hpp b/source/application/StarTextureAtlas.hpp
index 595f6ba..c3b9558 100644
--- a/source/application/StarTextureAtlas.hpp
+++ b/source/application/StarTextureAtlas.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEXTURE_ATLAS_HPP
-#define STAR_TEXTURE_ATLAS_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarImage.hpp"
@@ -417,5 +416,3 @@ auto TextureAtlasSet<AtlasTextureHandle>::addTextureToAtlas(TextureAtlas* atlas,
}
}
-
-#endif
diff --git a/source/application/StarUserGeneratedContentService_pc_steam.hpp b/source/application/StarUserGeneratedContentService_pc_steam.hpp
index 8bd84d3..2a510b9 100644
--- a/source/application/StarUserGeneratedContentService_pc_steam.hpp
+++ b/source/application/StarUserGeneratedContentService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_USER_GENERATED_CONTENT_SERVICE_PC_STEAM_HPP
-#define STAR_USER_GENERATED_CONTENT_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -22,5 +21,3 @@ private:
};
}
-
-#endif