2012-04-19 14:35:52 +08:00
|
|
|
#ifndef __NOTIFICATIONCENTERTEST_H__
|
|
|
|
#define __NOTIFICATIONCENTERTEST_H__
|
|
|
|
|
2012-02-10 11:46:18 +08:00
|
|
|
#include "cocos2d.h"
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
class NotificationCenterTest : public cocos2d::Layer
|
2012-02-10 11:46:18 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
NotificationCenterTest();
|
2014-02-20 10:53:49 +08:00
|
|
|
void toExtensionsMainLayer(cocos2d::Ref* sender);
|
|
|
|
void toggleSwitch(cocos2d::Ref *sender);
|
|
|
|
void connectToSwitch(cocos2d::Ref *sender);
|
|
|
|
void doNothing(cocos2d::Ref *sender);
|
2012-02-10 11:46:18 +08:00
|
|
|
};
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
void runNotificationCenterTest();
|
|
|
|
|
|
|
|
#endif /* __NOTIFICATIONCENTERTEST_H__ */
|