Utils/EventChain.h

branch
3.x-stable
changeset 681
939b9d20d986
parent 355
0b7f662779ba
equal deleted inserted replaced
385:d124d6e9b824 681:939b9d20d986
40 40
41 41
42 #include "Collection.h" 42 #include "Collection.h"
43 #include "UtilsBase.h" 43 #include "UtilsBase.h"
44 #include "Any.h" 44 #include "Any.h"
45 45 #include <stdint.h>
46 46
47 47
48 namespace gge { namespace utils { 48 namespace gge { namespace utils {
49 49
50 ////An empty event parameter structure 50 ////An empty event parameter structure
589 template<class O_=Empty, class P_=empty_event_params> 589 template<class O_=Empty, class P_=empty_event_params>
590 class EventChain { 590 class EventChain {
591 template<class O2_, class P2_> friend class EventChain; 591 template<class O2_, class P2_> friend class EventChain;
592 public: 592 public:
593 593
594 typedef int Token; 594 typedef intptr_t Token;
595 595
596 ////Constructor 596 ////Constructor
597 ///@Name : Name of the event 597 ///@Name : Name of the event
598 ///@Object : Source of the event 598 ///@Object : Source of the event
599 EventChain(std::string Name,O_ *Object=NULL) : 599 EventChain(std::string Name,O_ *Object=NULL) :

mercurial