30 #ifndef _CEGUIGUILayout_xmlHandler_h_
31 #define _CEGUIGUILayout_xmlHandler_h_
33 #include "CEGUIWindowManager.h"
34 #include "CEGUIWindow.h"
35 #include "CEGUIXMLHandler.h"
59 d_namingPrefix(name_prefix),
60 d_propertyCallback(callback),
101 static const String GUILayoutElement;
102 static const String WindowElement;
103 static const String AutoWindowElement;
104 static const String PropertyElement;
105 static const String LayoutImportElement;
106 static const String EventElement;
107 static const String WindowTypeAttribute;
108 static const String WindowNameAttribute;
109 static const String AutoWindowNameSuffixAttribute;
110 static const String PropertyNameAttribute;
111 static const String PropertyValueAttribute;
112 static const String LayoutParentAttribute;
113 static const String LayoutImportFilenameAttribute;
114 static const String LayoutImportPrefixAttribute;
115 static const String LayoutImportResourceGroupAttribute;
116 static const String EventNameAttribute;
117 static const String EventFunctionAttribute;
135 void elementAutoWindowStart(
const XMLAttributes& attributes);
147 void elementLayoutImportStart(
const XMLAttributes& attributes);
159 void elementGUILayoutEnd();
165 void elementWindowEnd();
171 void elementAutoWindowEnd();
177 void elementPropertyEnd();
184 typedef std::pair<Window*,bool> WindowStackEntry;
185 typedef std::vector<WindowStackEntry> WindowStack;
188 String d_layoutParent;
189 const String& d_namingPrefix;
190 PropertyCallback* d_propertyCallback;
192 String d_propertyName;
193 String d_propertyValue;
200 #endif // end of guard _CEGUIGUILayout_xmlHandler_h_