#ifndef __CONFIGURATIONTEST_H__ #define __CONFIGURATIONTEST_H__ #include "../testBasic.h" #include "../BaseTest.h" USING_NS_CC; // the class inherit from TestScene // every Scene each test used must inherit from TestScene, // make sure the test have the menu item for back to main menu class ConfigurationTestScene : public TestScene { public: virtual void runThisTest(); }; class ConfigurationBase : public BaseTest { protected: public: virtual void onEnter(); virtual void onExit(); virtual std::string title(); virtual std::string subtitle(); void restartCallback(Object* sender); void nextCallback(Object* sender); void backCallback(Object* sender); }; class ConfigurationLoadConfig : public ConfigurationBase { public: CREATE_FUNC(ConfigurationLoadConfig); virtual void onEnter(); virtual std::string subtitle(); }; class ConfigurationQuery : public ConfigurationBase { public: CREATE_FUNC(ConfigurationQuery); virtual void onEnter(); virtual std::string subtitle(); }; class ConfigurationInvalid : public ConfigurationBase { public: CREATE_FUNC(ConfigurationInvalid); virtual void onEnter(); virtual std::string subtitle(); }; class ConfigurationDefault : public ConfigurationBase { public: CREATE_FUNC(ConfigurationDefault); virtual void onEnter(); virtual std::string subtitle(); }; class ConfigurationSet : public ConfigurationBase { public: CREATE_FUNC(ConfigurationSet); virtual void onEnter(); virtual std::string subtitle(); }; #endif // __CONFIGURATIONTEST_H__