add CC_DLL

This commit is contained in:
Huabing.Xu 2014-07-15 12:00:31 +08:00
parent 4b059689d3
commit 63de5f6acc
14 changed files with 54 additions and 54 deletions

View File

@ -71,7 +71,7 @@ enum {
kNodeOnCleanup
};
bool nodeComparisonLess(Node* n1, Node* n2);
bool CC_DLL nodeComparisonLess(Node* n1, Node* n2);
class EventListener;

View File

@ -33,7 +33,7 @@ NS_CC_BEGIN
class GridBase;
class NodeGrid : public Node
class CC_DLL NodeGrid : public Node
{
public:
static NodeGrid* create();

View File

@ -84,63 +84,63 @@ namespace tweenfunc {
//tween functions for CCActionEase
float easeIn(float time, float rate);
float easeOut(float time, float rate);
float easeInOut(float time, float rate);
float CC_DLL easeIn(float time, float rate);
float CC_DLL easeOut(float time, float rate);
float CC_DLL easeInOut(float time, float rate);
float bezieratFunction( float a, float b, float c, float d, float t );
float CC_DLL bezieratFunction( float a, float b, float c, float d, float t );
float quadraticIn(float time);
float quadraticOut(float time);
float quadraticInOut(float time);
float CC_DLL quadraticIn(float time);
float CC_DLL quadraticOut(float time);
float CC_DLL quadraticInOut(float time);
float tweenTo(float time, TweenType type, float *easingParam);
float CC_DLL tweenTo(float time, TweenType type, float *easingParam);
float linear(float time);
float CC_DLL linear(float time);
float sineEaseIn(float time);
float sineEaseOut(float time);
float sineEaseInOut(float time);
float CC_DLL sineEaseIn(float time);
float CC_DLL sineEaseOut(float time);
float CC_DLL sineEaseInOut(float time);
float quadEaseIn(float time);
float quadEaseOut(float time);
float quadEaseInOut(float time);
float CC_DLL quadEaseIn(float time);
float CC_DLL quadEaseOut(float time);
float CC_DLL quadEaseInOut(float time);
float cubicEaseIn(float time);
float cubicEaseOut(float time);
float cubicEaseInOut(float time);
float CC_DLL cubicEaseIn(float time);
float CC_DLL cubicEaseOut(float time);
float CC_DLL cubicEaseInOut(float time);
float quartEaseIn(float time);
float quartEaseOut(float time);
float quartEaseInOut(float time);
float CC_DLL quartEaseIn(float time);
float CC_DLL quartEaseOut(float time);
float CC_DLL quartEaseInOut(float time);
float quintEaseIn(float time);
float quintEaseOut(float time);
float quintEaseInOut(float time);
float CC_DLL quintEaseIn(float time);
float CC_DLL quintEaseOut(float time);
float CC_DLL quintEaseInOut(float time);
float expoEaseIn(float time);
float expoEaseOut(float time);
float expoEaseInOut(float time);
float CC_DLL expoEaseIn(float time);
float CC_DLL expoEaseOut(float time);
float CC_DLL expoEaseInOut(float time);
float circEaseIn(float time);
float circEaseOut(float time);
float circEaseInOut(float time);
float CC_DLL circEaseIn(float time);
float CC_DLL circEaseOut(float time);
float CC_DLL circEaseInOut(float time);
float elasticEaseIn(float time, float period);
float elasticEaseOut(float time, float period);
float elasticEaseInOut(float time, float period);
float CC_DLL elasticEaseIn(float time, float period);
float CC_DLL elasticEaseOut(float time, float period);
float CC_DLL elasticEaseInOut(float time, float period);
float backEaseIn(float time);
float backEaseOut(float time);
float backEaseInOut(float time);
float CC_DLL backEaseIn(float time);
float CC_DLL backEaseOut(float time);
float CC_DLL backEaseInOut(float time);
float bounceEaseIn(float time);
float bounceEaseOut(float time);
float bounceEaseInOut(float time);
float CC_DLL bounceEaseIn(float time);
float CC_DLL bounceEaseOut(float time);
float CC_DLL bounceEaseInOut(float time);
float customEase(float time, float *easingParam);
float CC_DLL customEase(float time, float *easingParam);
}
NS_CC_END

View File

@ -35,7 +35,7 @@ namespace ui {
class Widget;
}
class EventFocus : public Event
class CC_DLL EventFocus : public Event
{
public:
EventFocus(ui::Widget* widgetLoseFocus, ui::Widget* widgetGetFocus);

View File

@ -30,7 +30,7 @@
NS_CC_BEGIN
class EventKeyboard : public Event
class CC_DLL EventKeyboard : public Event
{
public:
/**

View File

@ -35,7 +35,7 @@ namespace ui {
class Widget;
}
class EventListenerFocus : public EventListener
class CC_DLL EventListenerFocus : public EventListener
{
public:
static const std::string LISTENER_ID;

View File

@ -33,7 +33,7 @@ NS_CC_BEGIN
class Event;
class EventListenerKeyboard : public EventListener
class CC_DLL EventListenerKeyboard : public EventListener
{
public:
static const std::string LISTENER_ID;

View File

@ -33,7 +33,7 @@ NS_CC_BEGIN
class Event;
class EventListenerMouse : public EventListener
class CC_DLL EventListenerMouse : public EventListener
{
public:
static const std::string LISTENER_ID;

View File

@ -39,7 +39,7 @@
NS_CC_BEGIN
class EventMouse : public Event
class CC_DLL EventMouse : public Event
{
public:
/**

View File

@ -33,7 +33,7 @@ NS_CC_BEGIN
#define TOUCH_PERF_DEBUG 1
class EventTouch : public Event
class CC_DLL EventTouch : public Event
{
public:
static const int MAX_TOUCHES = 5;

View File

@ -30,7 +30,7 @@ THE SOFTWARE.
#include "math/CCGeometry.h"
NS_CC_BEGIN
extern const std::string STD_STRING_EMPTY;
extern const std::string CC_DLL STD_STRING_EMPTY;
/**
* @addtogroup input

View File

@ -497,8 +497,8 @@ public:
Acceleration(): x(0), y(0), z(0), timestamp(0) {}
};
extern const std::string STD_STRING_EMPTY;
extern const ssize_t CC_INVALID_INDEX;
extern const std::string CC_DLL STD_STRING_EMPTY;
extern const ssize_t CC_DLL CC_INVALID_INDEX;
NS_CC_END

View File

@ -215,7 +215,7 @@ std::string toString(T arg)
return ss.str();
}
std::string format(const char* format, ...) CC_FORMAT_PRINTF(1, 2);
std::string CC_DLL format(const char* format, ...) CC_FORMAT_PRINTF(1, 2);
} // namespace StringUtils {

View File

@ -226,7 +226,7 @@ protected:
friend class PhysicsWorld;
};
extern const float PHYSICS_INFINITY;
extern const float CC_DLL PHYSICS_INFINITY;
NS_CC_END