add CC_DLL in Event systems

This commit is contained in:
Huabing.Xu 2014-07-14 16:43:28 +08:00
parent 09a75f73cf
commit 190264c090
3 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ event listeners can be added and removed even
from within an EventListener, while events are being from within an EventListener, while events are being
dispatched. dispatched.
*/ */
class EventDispatcher : public Ref class CC_DLL EventDispatcher : public Ref
{ {
public: public:
// Adds event listener // Adds event listener

View File

@ -43,7 +43,7 @@ class Node;
* If you need custom listener which with different callback, you need to inherit this class. * If you need custom listener which with different callback, you need to inherit this class.
* For instance, you could refer to EventListenerAcceleration, EventListenerKeyboard, EventListenerTouchOneByOne, EventListenerCustom. * For instance, you could refer to EventListenerAcceleration, EventListenerKeyboard, EventListenerTouchOneByOne, EventListenerCustom.
*/ */
class EventListener : public Ref class CC_DLL EventListener : public Ref
{ {
public: public:
enum class Type enum class Type

View File

@ -33,7 +33,7 @@
NS_CC_BEGIN NS_CC_BEGIN
class EventListenerTouchOneByOne : public EventListener class CC_DLL EventListenerTouchOneByOne : public EventListener
{ {
public: public:
static const std::string LISTENER_ID; static const std::string LISTENER_ID;
@ -67,7 +67,7 @@ private:
}; };
class EventListenerTouchAllAtOnce : public EventListener class CC_DLL EventListenerTouchAllAtOnce : public EventListener
{ {
public: public:
static const std::string LISTENER_ID; static const std::string LISTENER_ID;