28 #ifndef _CEGUIPropertyDefinitionBase_h_
29 #define _CEGUIPropertyDefinitionBase_h_
31 #include "CEGUI/String.h"
47 const String& initialValue,
48 bool redrawOnWrite,
bool layoutOnWrite,
53 const String& getPropertyName()
const;
54 void setPropertyName(
const String& name);
56 const String& getInitialValue()
const;
57 void setInitialValue(
const String& value);
59 const String& getHelpString()
const;
60 void setHelpString(
const String& help);
62 bool isRedrawOnWrite()
const;
63 void setRedrawOnWrite(
bool value);
65 bool isLayoutOnWrite()
const;
66 void setLayoutOnWrite(
bool value);
68 const String& getEventFiredOnWrite()
const;
69 void setEventFiredOnWrite(
const String& eventName);
71 const String& getEventNamespace()
const;
72 void setEventNamespace(
const String& eventNamespace);
82 virtual void writeDefinitionXMLToStream(
XMLSerializer& xml_stream)
const;
96 virtual void writeDefinitionXMLElementType(
XMLSerializer& xml_stream)
const = 0;
108 virtual void writeDefinitionXMLAttributes(
XMLSerializer& xml_stream)
const;
113 bool d_writeCausesRedraw;
114 bool d_writeCausesLayout;
115 String d_eventFiredOnWrite;