axmol/samples/Cpp/TestCpp/Classes/ExtensionsTest/NotificationCenterTest/NotificationCenterTest.h

21 lines
502 B
C++

#ifndef __NOTIFICATIONCENTERTEST_H__
#define __NOTIFICATIONCENTERTEST_H__
#include "cocos2d.h"
class NotificationCenterTest : public cocos2d::Layer
{
public:
NotificationCenterTest();
void toExtensionsMainLayer(cocos2d::Object* sender);
void toggleSwitch(cocos2d::Object *sender);
void connectToSwitch(cocos2d::Object *sender);
void doNothing(cocos2d::Object *sender);
private:
bool _showImage;
};
void runNotificationCenterTest();
#endif /* __NOTIFICATIONCENTERTEST_H__ */