mirror of https://github.com/axmolengine/axmol.git
19 lines
460 B
C++
19 lines
460 B
C++
#ifndef __NOTIFICATIONCENTERTEST_H__
|
|
#define __NOTIFICATIONCENTERTEST_H__
|
|
|
|
#include "cocos2d.h"
|
|
|
|
class NotificationCenterTest : public cocos2d::Layer
|
|
{
|
|
public:
|
|
NotificationCenterTest();
|
|
void toExtensionsMainLayer(cocos2d::Ref* sender);
|
|
void toggleSwitch(cocos2d::Ref *sender);
|
|
void connectToSwitch(cocos2d::Ref *sender);
|
|
void doNothing(cocos2d::Ref *sender);
|
|
};
|
|
|
|
void runNotificationCenterTest();
|
|
|
|
#endif /* __NOTIFICATIONCENTERTEST_H__ */
|