@@ -1,4 +1,5 @@
-#pragma once
+#ifndef ROCKETCORELUADATAFORMATTER_H
+#define ROCKETCORELUADATAFORMATTER_H
/*
This defines the DataFormatter type in the Lua global namespace
@@ -36,4 +37,5 @@ luaL_reg DataFormatterGetters[];
luaL_reg DataFormatterSetters[];
}
-}
+}
+#endif
+#ifndef ROCKETCORELUADATASOURCE_H
+#define ROCKETCORELUADATASOURCE_H
This defines the DataSource type in the Lua global namespace
@@ -38,4 +39,5 @@ luaL_reg DataSourceSetters[];
+#ifndef ROCKETCORELUAELEMENTDATAGRID_H
+#define ROCKETCORELUAELEMENTDATAGRID_H
This defines the ElementDataGrid type in the Lua global namespace
@@ -45,4 +46,5 @@ template<> luaL_reg* SetAttrTable<ElementDataGrid>();
*/
+#ifndef ROCKETCORELUAELEMENTDATAGRIDROW_H
+#define ROCKETCORELUAELEMENTDATAGRIDROW_H
This defines the ElementDataGridRow type in the Lua global namespace
@@ -53,4 +54,5 @@ template<> luaL_reg* SetAttrTable<ElementDataGridRow>();
+#ifndef ROCKETCORELUAELEMENTFORM_H
+#define ROCKETCORELUAELEMENTFORM_H
This defines the ElementForm type in the Lua global namespace
@@ -38,3 +39,4 @@ template<> luaL_reg* SetAttrTable<ElementForm>() { return ElementFormSetters; }
+#ifndef ROCKETCORELUAELEMENTFORMCONTROL_H
+#define ROCKETCORELUAELEMENTFORMCONTROL_H
This defines the ElementFormControl type in the Lua global namespace
@@ -42,5 +43,5 @@ template<> luaL_reg* SetAttrTable<ElementFormControl>() { return ElementFormCont
-
+#ifndef ROCKETCORELUAELEMENTFORMCONTROLDATASELECT_H
+#define ROCKETCORELUAELEMENTFORMCONTROLDATASELECT_H
This defines the ElementFormControlDataSelect type in the Lua global namespace. I think it is the longest
type name.
@@ -38,4 +39,5 @@ template<> luaL_reg* SetAttrTable<ElementFormControlDataSelect>();
+#ifndef ROCKETCORELUAELEMENTFORMCONTROLINPUT_H
+#define ROCKETCORELUAELEMENTFORMCONTROLINPUT_H
This defines the type ElementFormControlInput in the Lua globla namespace, refered to in this documentation by EFCInput
@@ -54,4 +55,5 @@ template<> luaL_reg* SetAttrTable<ElementFormControlInput>();
+#ifndef ROCKETCORELUAELEMENTFORMCONTROLSELECT_H
+#define ROCKETCORELUAELEMENTFORMCONTROLSELECT_H
This defines the ElementFormControlSelect type in the Lua global namespace, for this documentation will be
@@ -55,4 +56,5 @@ template<> luaL_reg* SetAttrTable<ElementFormControlSelect>();
+#ifndef ROCKETCORELUAELEMENTFORMCONTROLTEXTAREA_H
+#define ROCKETCORELUAELEMENTFORMCONTROLTEXTAREA_H
This defines the ElementFormControlTextArea type in the Lua global namespace, refered in this documentation by EFCTextArea
@@ -46,4 +47,5 @@ template<> luaL_reg* SetAttrTable<ElementFormControlTextArea>();
+#ifndef ROCKETCORELUAELEMENTTABSET_H
+#define ROCKETCORELUAELEMENTTABSET_H
This defines the ElementTabSet type in the Lua global namespace
@@ -51,4 +52,5 @@ template<> luaL_reg* SetAttrTable<ElementTabSet>();
+#ifndef ROCKETCORELUALUADATAFORMATTER_H
+#define ROCKETCORELUALUADATAFORMATTER_H
#include <Rocket/Core/Lua/lua.hpp>
#include <Rocket/Controls/DataFormatter.h>
@@ -23,4 +24,5 @@ public:
+#ifndef ROCKETCORELUALUADATASOURCE_H
+#define ROCKETCORELUALUADATASOURCE_H
#include <Rocket/Core/Lua/LuaType.h>
@@ -39,4 +40,5 @@ public:
+#ifndef ROCKETCORELUASELECTOPTIONSPROXY_H
+#define ROCKETCORELUASELECTOPTIONSPROXY_H
Proxy table for ElementFormControlSelect.options
read-only, key must be a number
@@ -35,3 +36,4 @@ luaL_reg SelectOptionsProxySetters[];
+#ifndef ROCKETCORELUACOLOURF_H
+#define ROCKETCORELUACOLOURF_H
Declares Colourf in the Lua global namespace. It implements the below (examples using Lua syntax) :
@@ -62,5 +63,5 @@ template<> luaL_reg* SetAttrTable<Colourf>() { return ColourfSetters; }
+#ifndef ROCKETCORELUACONTEXT_H
+#define ROCKETCORELUACONTEXT_H
This defines a Context type in the Lua global namespace
@@ -84,4 +85,5 @@ template<> luaL_reg* SetAttrTable<Context>();
+#ifndef ROCKETCORELUACONTEXTDOCUMENTSPROXY_H
+#define ROCKETCORELUACONTEXTDOCUMENTSPROXY_H
A proxy table with key of string and int and a value of Document
Read only
@@ -24,4 +25,5 @@ luaL_reg ContextDocumentsProxyGetters[];
luaL_reg ContextDocumentsProxySetters[];
+#ifndef ROCKETCORELUADOCUMENT_H
+#define ROCKETCORELUADOCUMENT_H
This defines the Document type in the Lua global namespace
@@ -63,4 +64,5 @@ template<> luaL_reg* SetAttrTable<Document>();
+#ifndef ROCKETCORELUAELEMENT_H
+#define ROCKETCORELUAELEMENT_H
This defines the Element type in the Lua global namespace
@@ -174,4 +175,5 @@ template<> luaL_reg* SetAttrTable<Element>();
+#ifndef ROCKETCORELUAELEMENTATTRIBUTESPROXY_H
+#define ROCKETCORELUAELEMENTATTRIBUTESPROXY_H
Proxy table for Element.attribues
read-only Dictionary
@@ -24,4 +25,5 @@ luaL_reg ElementAttributesProxyGetters[];
luaL_reg ElementAttributesProxySetters[];
+#ifndef ROCKETCORELUAELEMENTSTYLE_H
+#define ROCKETCORELUAELEMENTSTYLE_H
This is the definition of an ElementStyle Lua object
@@ -65,4 +66,5 @@ template<> luaL_reg* SetAttrTable<ElementStyle>();
+#ifndef ROCKETCORELUAELEMENTTEXT_H
+#define ROCKETCORELUAELEMENTTEXT_H
#include <Rocket/Core/ElementText.h>
@@ -19,4 +20,5 @@ luaL_reg ElementTextSetters[];
+#ifndef ROCKETCORELUAEVENT_H
+#define ROCKETCORELUAEVENT_H
This defines an Event type name in the global Lua namespace
@@ -43,4 +44,5 @@ template<> luaL_reg* SetAttrTable<Event>();
+#ifndef ROCKETCORELUAEVENTPARAMETERSPROXY_H
+#define ROCKETCORELUAEVENTPARAMETERSPROXY_H
Proxy table for Event.parameters
@@ -24,4 +25,5 @@ luaL_reg EventParametersProxyGetters[];
luaL_reg EventParametersProxySetters[];
+#ifndef ROCKETCORELUALUADOCUMENT_H
+#define ROCKETCORELUALUADOCUMENT_H
This class is an ElementDocument that overrides the LoadScript function
@@ -17,4 +18,5 @@ public:
+#ifndef ROCKETCORELUALUADOCUMENTELEMENTINSTANCER_H
+#define ROCKETCORELUALUADOCUMENTELEMENTINSTANCER_H
#include <Rocket/Core/ElementInstancer.h>
@@ -22,4 +23,5 @@ class LuaDocumentElementInstancer : public ElementInstancer
+#ifndef ROCKETCORELUALUAEVENTLISTENER_H
+#define ROCKETCORELUALUAEVENTLISTENER_H
#include <Rocket/Core/EventListener.h>
#include <Rocket/Core/String.h>
@@ -34,4 +35,5 @@ private:
+#ifndef ROCKETCORELUALUAEVENTLISTENERINSTANCER_H
+#define ROCKETCORELUALUAEVENTLISTENERINSTANCER_H
#include <Rocket/Core/EventListenerInstancer.h>
namespace Rocket {
@@ -19,4 +20,5 @@ public:
+#ifndef ROCKETCORELUAROCKET_H
+#define ROCKETCORELUAROCKET_H
This declares rocket in the global Lua namespace
@@ -46,4 +47,5 @@ template<> luaL_reg* SetAttrTable<rocket>();
+#ifndef ROCKETCORELUAROCKETLUA_H
+#define ROCKETCORELUAROCKETLUA_H
#include "Header.h"
@@ -9,4 +10,5 @@ namespace Lua {
void ROCKETLUA_API Initialise();
+#ifndef ROCKETCORELUAUTILITIES_H
+#define ROCKETCORELUAUTILITIES_H
This file is for free-floating functions that are used across more than one file.
@@ -16,3 +17,4 @@ void PushVariant(lua_State* L, Variant* var);
+#ifndef ROCKETCORELUAVECTOR2F_H
+#define ROCKETCORELUAVECTOR2F_H
Declares Vector2f in the Lua global namespace. It implements the below (examples using Lua syntax) :
@@ -67,3 +68,4 @@ template<> luaL_reg* SetAttrTable<Vector2f>() { return Vector2fSetters; }
+#ifndef ROCKETCORELUAVECTOR2I_H
+#define ROCKETCORELUAVECTOR2I_H
Declares Vector2i in the Lua global namespace. It implements the below (examples using Lua syntax) :
@@ -58,4 +59,5 @@ template<> luaL_reg* SetAttrTable<Vector2i>() { return Vector2iSetters; }
@@ -1,5 +1,9 @@
+#ifndef ROCKETCORELUAPRECOMPILED_H
+#define ROCKETCORELUAPRECOMPILED_H
+
#include <Rocket/Core/Core.h>
#include <Rocket/Core/Debug.h>
#include <Rocket/Controls/Controls.h>
-#include <Rocket/Core/Lua/LuaType.h>
+#include <Rocket/Core/Lua/LuaType.h>