mirror of https://github.com/axmolengine/axmol.git
21 lines
512 B
C++
21 lines
512 B
C++
#ifndef __NOTIFICATIONCENTERTEST_H__
|
|
#define __NOTIFICATIONCENTERTEST_H__
|
|
|
|
#include "cocos2d.h"
|
|
|
|
class NotificationCenterTest : public cocos2d::CCLayer
|
|
{
|
|
public:
|
|
NotificationCenterTest();
|
|
void toExtensionsMainLayer(cocos2d::CCObject* sender);
|
|
void toggleSwitch(cocos2d::CCObject *sender);
|
|
void connectToSwitch(cocos2d::CCObject *sender);
|
|
void doNothing(cocos2d::CCObject *sender);
|
|
private:
|
|
bool _showImage;
|
|
};
|
|
|
|
void runNotificationCenterTest();
|
|
|
|
#endif /* __NOTIFICATIONCENTERTEST_H__ */
|