diff options
Diffstat (limited to 'cc/timing_function.h')
-rw-r--r-- | cc/timing_function.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cc/timing_function.h b/cc/timing_function.h index 67fe512..967dd13 100644 --- a/cc/timing_function.h +++ b/cc/timing_function.h @@ -7,11 +7,12 @@ #include "UnitBezier.h" #include "cc/animation_curve.h" +#include "cc/cc_export.h" namespace cc { // See http://www.w3.org/TR/css3-transitions/. -class TimingFunction : public FloatAnimationCurve { +class CC_EXPORT TimingFunction : public FloatAnimationCurve { public: virtual ~TimingFunction(); @@ -22,7 +23,7 @@ protected: TimingFunction(); }; -class CubicBezierTimingFunction : public TimingFunction { +class CC_EXPORT CubicBezierTimingFunction : public TimingFunction { public: static scoped_ptr<CubicBezierTimingFunction> create(double x1, double y1, double x2, double y2); virtual ~CubicBezierTimingFunction(); @@ -37,22 +38,22 @@ protected: UnitBezier m_curve; }; -class EaseTimingFunction { +class CC_EXPORT EaseTimingFunction { public: static scoped_ptr<TimingFunction> create(); }; -class EaseInTimingFunction { +class CC_EXPORT EaseInTimingFunction { public: static scoped_ptr<TimingFunction> create(); }; -class EaseOutTimingFunction { +class CC_EXPORT EaseOutTimingFunction { public: static scoped_ptr<TimingFunction> create(); }; -class EaseInOutTimingFunction { +class CC_EXPORT EaseInOutTimingFunction { public: static scoped_ptr<TimingFunction> create(); }; |