Switched to the #pragma once system

This commit is contained in:
2015-07-07 17:35:58 +10:00
parent f82b0a8843
commit 24eb730c72
71 changed files with 71 additions and 285 deletions
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef BUTTON_HPP_
#define BUTTON_HPP_
#pragma once
#include "image.hpp"
#include "raster_font.hpp"
@@ -90,5 +89,3 @@ private:
State state = State::NORMAL;
std::string text;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef MENUBAR_HPP_
#define MENUBAR_HPP_
#pragma once
#include "image.hpp"
#include "raster_font.hpp"
@@ -88,5 +87,3 @@ private:
friend class MenuBar;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef RASTERFONT_HPP_
#define RASTERFONT_HPP_
#pragma once
#include "image.hpp"
@@ -50,5 +49,3 @@ public:
private:
Image image;
};
#endif