28 lines
471 B
Plaintext
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 |