28 #ifndef _CEGUIEvent_h_
29 #define _CEGUIEvent_h_
31 #include "CEGUI/String.h"
32 #include "CEGUI/BoundSlot.h"
33 #include "CEGUI/SubscriberSlot.h"
34 #include "CEGUI/RefCounted.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
103 d_connection(connection)
108 d_connection = connection;
112 bool connected()
const
114 return d_connection.
isValid() ? d_connection->connected() :
false;
119 if (d_connection.isValid()) d_connection->disconnect();
165 Connection subscribe(
const Subscriber& slot);
186 Connection subscribe(Group group,
const Subscriber& slot);
220 Event& operator=(
const Event&)
225 typedef std::multimap<Group, Connection, std::less<Group>
226 CEGUI_MULTIMAP_ALLOC(Group, Connection)> SlotContainer;
233 #if defined(_MSC_VER)
234 # pragma warning(pop)
237 #endif // end of guard _CEGUIEvent_h_