mirror of https://github.com/axmolengine/axmol.git
added CC_DLL to export classes
This commit is contained in:
parent
adfe072937
commit
946121ec71
|
@ -48,7 +48,7 @@ enum PointerEventType
|
||||||
PointerReleased,
|
PointerReleased,
|
||||||
};
|
};
|
||||||
|
|
||||||
class InputEvent
|
class CC_DLL InputEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InputEvent() {};
|
InputEvent() {};
|
||||||
|
@ -57,7 +57,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class AccelerometerEvent : public InputEvent
|
class CC_DLL AccelerometerEvent : public InputEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AccelerometerEvent(const cocos2d::Acceleration& event);
|
AccelerometerEvent(const cocos2d::Acceleration& event);
|
||||||
|
@ -67,7 +67,7 @@ private:
|
||||||
cocos2d::Acceleration m_event;
|
cocos2d::Acceleration m_event;
|
||||||
};
|
};
|
||||||
|
|
||||||
class PointerEvent : public InputEvent
|
class CC_DLL PointerEvent : public InputEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PointerEvent(PointerEventType type, Windows::UI::Core::PointerEventArgs^ args);
|
PointerEvent(PointerEventType type, Windows::UI::Core::PointerEventArgs^ args);
|
||||||
|
@ -79,7 +79,7 @@ private:
|
||||||
Platform::Agile<Windows::UI::Core::PointerEventArgs> m_args;
|
Platform::Agile<Windows::UI::Core::PointerEventArgs> m_args;
|
||||||
};
|
};
|
||||||
|
|
||||||
class KeyboardEvent : public InputEvent
|
class CC_DLL KeyboardEvent : public InputEvent
|
||||||
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -92,14 +92,14 @@ private:
|
||||||
Platform::Agile<Platform::String> m_text;
|
Platform::Agile<Platform::String> m_text;
|
||||||
};
|
};
|
||||||
|
|
||||||
class BackButtonEvent : public InputEvent
|
class CC_DLL BackButtonEvent : public InputEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BackButtonEvent();
|
BackButtonEvent();
|
||||||
virtual void execute();
|
virtual void execute();
|
||||||
};
|
};
|
||||||
|
|
||||||
class CustomInputEvent : public InputEvent
|
class CC_DLL CustomInputEvent : public InputEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CustomInputEvent(const std::function<void()>&);
|
CustomInputEvent(const std::function<void()>&);
|
||||||
|
|
Loading…
Reference in New Issue