1 #ifndef _BUTTON_SERVICE_PROVIDER_
2 #define _BUTTON_SERVICE_PROVIDER_
3 
4 class button_service_provider : public widget_service_provider
5 {
6     public:
7         button_service_provider();
8 
GetType()9         virtual int GetType() {return GX_TYPE_BUTTON;}
GetTypeName(widget_info *)10         virtual CString GetTypeName(widget_info *) {return CString("GX_TYPE_BUTTON");}
GetShortName()11         virtual CString GetShortName() {return CString("button");}
12         virtual CString GetVarDeclaration();
GetControlBlockName()13         virtual CString GetControlBlockName() {return CString("GX_BUTTON");}
14 
DeclarePropertiesStruct()15         virtual CString DeclarePropertiesStruct() {return CString("");}
16         virtual CString GetCreateFromDefFunctionName();
17         virtual CString GetCreateFromDefFunction(int version);
18 
19         virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
20         virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
21         virtual void ReadFromProject(xml_reader &, studiox_project *project, int display, widget_info *info, ULONG valid_styles);
22 
23 };
24 
25 #endif
26