27 #ifndef _CEGUIFalEventLinkDefinition_h_ 28 #define _CEGUIFalEventLinkDefinition_h_ 30 #include "../String.h" 31 #include "../IteratorBase.h" 36 # pragma warning(push) 37 # pragma warning(disable : 4251) 43 class CEGUIEXPORT EventLinkDefinition :
44 public AllocatedObject<EventLinkDefinition>
47 EventLinkDefinition(
const String& event_name);
48 ~EventLinkDefinition();
51 void addLinkTarget(
const String& widget,
const String& event);
53 void clearLinkTargets();
56 void initialiseWidget(Window& window)
const;
59 void cleanUpWidget(Window& window)
const;
62 void setName(
const String& name);
64 const String& getName()
const;
68 Window* getTargetWindow(Window& start_wnd,
69 const String& name)
const;
74 typedef std::pair<String,String> StringPair;
79 LinkTargetCollection d_targets;
82 LinkTargetIterator getLinkTargetIterator()
const;
91 #endif // end of guard _CEGUIFalEventLinkDefinition_h_ Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
std::vector< StringPair CEGUI_VECTOR_ALLOC(StringPair)> LinkTargetCollection
type used for the collection of target events.
Definition: debian/tmp/usr/include/cegui-0.8.4/CEGUI/falagard/EventLinkDefinition.h:76
iterator for vectors
Definition: cegui/include/CEGUI/IteratorBase.h:287