Commit e7cf4931 authored by Jack Andersen's avatar Jack Andersen

Convert to pragma once

parent fafcfaa5
#ifndef SPECTER_BUTTON_HPP
#define SPECTER_BUTTON_HPP
#pragma once
#include "specter/TextView.hpp"
#include "specter/Control.hpp"
......@@ -132,4 +131,3 @@ public:
}
#endif // SPECTER_BUTTON_HPP
#ifndef SPECTER_CONTROL_HPP
#define SPECTER_CONTROL_HPP
#pragma once
#include "View.hpp"
......@@ -119,4 +118,3 @@ public:
}
#endif // SPECTER_CONTROL_HPP
#ifndef SPECTER_FILEBROWSER_HPP
#define SPECTER_FILEBROWSER_HPP
#pragma once
#include "View.hpp"
#include "ModalWindow.hpp"
......@@ -353,4 +352,3 @@ public:
}
#endif // SPECTER_FILEBROWSER_HPP
#ifndef SPECTER_FONTCACHE_HPP
#define SPECTER_FONTCACHE_HPP
#pragma once
#include <ft2build.h>
#include FT_FREETYPE_H
......@@ -201,4 +200,3 @@ public:
}
#endif // SPECTER_FONTCACHE_HPP
#ifndef SPECTER_IMENUNODE_HPP
#define SPECTER_IMENUNODE_HPP
#pragma once
#include "View.hpp"
......@@ -17,4 +16,3 @@ struct IMenuNode
}
#endif // SPECTER_IMENUNODE_HPP
#ifndef SPECTER_IVIEWMANAGER_HPP
#define SPECTER_IVIEWMANAGER_HPP
#pragma once
#include "Translator.hpp"
#include "SplitView.hpp"
......@@ -33,4 +32,3 @@ public:
}
#endif // SPECTER_IVIEWMANAGER_HPP
#ifndef SPECTER_ICON_HPP
#define SPECTER_ICON_HPP
#pragma once
#include "View.hpp"
......@@ -71,4 +70,3 @@ public:
}
#endif // SPECTER_ICON_HPP
#ifndef SPECTER_MENU_HPP
#define SPECTER_MENU_HPP
#pragma once
#include "View.hpp"
#include "TextView.hpp"
......@@ -92,4 +91,3 @@ public:
}
#endif // SPECTER_MENU_HPP
#ifndef SPECTER_MESSAGEWINDOW_HPP
#define SPECTER_MESSAGEWINDOW_HPP
#pragma once
#include "ModalWindow.hpp"
#include "MultiLineTextView.hpp"
......@@ -75,4 +74,3 @@ public:
}
#endif // SPECTER_MESSAGEWINDOW_HPP
#ifndef SPECTER_MODAL_WINDOW_HPP
#define SPECTER_MODAL_WINDOW_HPP
#pragma once
#include <specter/View.hpp>
#include <specter/MultiLineTextView.hpp>
......@@ -83,4 +82,3 @@ public:
}
#endif // SPECTER_MODAL_WINDOW_HPP
#ifndef SPECTER_MULTILINETEXTVIEW_HPP
#define SPECTER_MULTILINETEXTVIEW_HPP
#pragma once
#include "View.hpp"
#include "TextView.hpp"
......@@ -52,4 +51,3 @@ public:
}
#endif // SPECTER_MULTILINETEXTVIEW_HPP
#ifndef SPECTER_NODE_HPP
#define SPECTER_NODE_HPP
#pragma once
#endif // SPECTER_NODE_HPP
#ifndef SPECTER_NODESOCKET_HPP
#define SPECTER_NODESOCKET_HPP
#pragma once
#endif // SPECTER_NODESOCKET_HPP
#ifndef SPECTER_NUMERICFIELD_HPP
#define SPECTER_NUMERICFIELD_HPP
#pragma once
#include "specter/TextView.hpp"
......@@ -51,4 +50,3 @@ public:
}
#endif // SPECTER_NUMERICFIELD_HPP
#ifndef SPECTER_OUTLINER_HPP
#define SPECTER_OUTLINER_HPP
#pragma once
namespace specter
{
......@@ -41,4 +40,3 @@ class Outliner
};
}
#endif // SPECTER_OUTLINER_HPP
\ No newline at end of file
#ifndef SPECTER_PANEL_HPP
#define SPECTER_PANEL_HPP
#pragma once
#endif // SPECTER_PANEL_HPP
#ifndef SPECTER_PATHBUTTONS_HPP
#define SPECTER_PATHBUTTONS_HPP
#pragma once
#include "Button.hpp"
#include "ScrollView.hpp"
......@@ -75,4 +74,3 @@ public:
}
#endif // SPECTER_PATHBUTTONS_HPP
#ifndef SPECTER_ROOTVIEW_HPP
#define SPECTER_ROOTVIEW_HPP
#pragma once
#include "View.hpp"
#include "ViewResources.hpp"
......@@ -252,4 +251,3 @@ private:
}
#endif // SPECTER_ROOTVIEW_HPP
#ifndef SPECTER_SCROLLVIEW_HPP
#define SPECTER_SCROLLVIEW_HPP
#pragma once
#include "Button.hpp"
#include "IViewManager.hpp"
......@@ -99,4 +98,3 @@ public:
}
#endif // SPECTER_SCROLLVIEW_HPP
#ifndef SPECTER_SPACE_HPP
#define SPECTER_SPACE_HPP
#pragma once
#include "View.hpp"
#include "Toolbar.hpp"
......@@ -81,4 +80,3 @@ inline Space* View::castToSpace() { return isSpace() ? static_cast<Space*>(this)
}
#endif // SPECTER_SPACE_HPP
#ifndef SPECTER_SPLITVIEW_HPP
#define SPECTER_SPLITVIEW_HPP
#pragma once
#include "specter/View.hpp"
......@@ -119,4 +118,3 @@ inline SplitView* View::castToSplitView() { return isSplitView() ? static_cast<S
}
#endif // SPECTER_SPLITVIEW_HPP
#ifndef SPECTER_TABLE_HPP
#define SPECTER_TABLE_HPP
#pragma once
#include "View.hpp"
#include "ScrollView.hpp"
......@@ -142,4 +141,3 @@ public:
}
#endif // SPECTER_TABLE_HPP
#ifndef SPECTER_TEXTFIELD_HPP
#define SPECTER_TEXTFIELD_HPP
#pragma once
#include "Control.hpp"
#include "TextView.hpp"
......@@ -137,4 +136,3 @@ private:
}
#endif // SPECTER_TEXTFIELD_HPP
#ifndef SPECTER_TEXTVIEW_HPP
#define SPECTER_TEXTVIEW_HPP
#pragma once
#include "View.hpp"
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
......@@ -131,4 +130,3 @@ private:
}
#endif // SPECTER_TEXTVIEW_HPP
#ifndef SPECTER_TOOLBAR_HPP
#define SPECTER_TOOLBAR_HPP
#pragma once
#include "specter/View.hpp"
......@@ -75,4 +74,3 @@ public:
}
#endif // SPECTER_TOOLBAR_HPP
#ifndef SPECTER_TOOLTIP_HPP
#define SPECTER_TOOLTIP_HPP
#pragma once
#include "specter/View.hpp"
#include "specter/MultiLineTextView.hpp"
......@@ -38,4 +37,3 @@ public:
}
#endif // SPECTER_TOOLTIP_HPP
#ifndef SPECTER_TRANSLATOR_HPP
#define SPECTER_TRANSLATOR_HPP
#pragma once
#include <string>
#include <athena/DNAYaml.hpp>
......@@ -33,4 +32,3 @@ public:
}
#endif // SPECTER_TRANSLATOR_HPP
#ifndef SPECTER_VIEW_HPP
#define SPECTER_VIEW_HPP
#pragma once
#include "boo/boo.hpp"
#include "optional.hpp"
......@@ -394,4 +393,3 @@ struct ScissorViewChild : ViewChild<ViewPtrType>
}
#endif // SPECTER_VIEW_HPP
#ifndef SPECTER_VIEWRESOURCES_HPP
#define SPECTER_VIEWRESOURCES_HPP
#pragma once
#include "TextView.hpp"
#include "SplitView.hpp"
......@@ -218,4 +217,3 @@ public:
};
} // namespace specter
#endif // SPECTER_VIEWRESOURCES_HPP
#ifndef __SPECTER_GENIE_HPP__
#define __SPECTER_GENIE_HPP__
#pragma once
#if __specter__
#define SPECTER_PROPERTY(n, d) \
......@@ -12,4 +11,3 @@
#endif
#endif //__SPECTER_GENIE_HPP__
#ifndef SPECTER_HPP
#define SPECTER_HPP
#pragma once
#include "View.hpp"
#include "RootView.hpp"
......@@ -18,4 +17,3 @@
#include "FontCache.hpp"
#include "ViewResources.hpp"
#endif // SPECTER_HPP
Subproject commit 11cd08a30a676f3a18a8ab4d586a6bf9c31f1976
Subproject commit 20603da60d9f3b9adada4f0ccc81e2fc9a27828c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment