client_ui/template/Cocos2dx/ComponentH.template
2020-03-30 10:23:50 +08:00

28 lines
471 B
Plaintext

#ifndef __{thisPackageName}_{className}_H__
#define __{thisPackageName}_{className}_H__
#include "FairyGUI.h"
namespace {packageName}
{
{forwardDeclaration}
class {className} : public {componentName}
{
public:
static const std::string URL;
static {className}* create();
{variable}
protected:
virtual void constructFromXML(TXMLElement* xml) override;
private:
static {className}* createByBinder();
friend class {packageName}Binder;
};
}
#endif