1 #ifndef _ACCORDION_MENU_SERVICE_PROVIDER_
2 #define _ACCORDION_MENU_SERVICE_PROVIDER_
3 
4 class screen_generator; // forward reference
5 
6 class accordion_menu_service_provider : public widget_service_provider
7 {
8 public:
9     accordion_menu_service_provider();
10 
GetType()11     virtual int GetType() { return GX_TYPE_ACCORDION_MENU; }
GetTypeName(widget_info *)12     virtual CString GetTypeName(widget_info *) { return CString("GX_TYPE_ACCORDION_MENU"); }
GetShortName()13     virtual CString GetShortName() { return CString("accordion_menu"); }
GetVarDeclaration()14     virtual CString GetVarDeclaration(){ return CString(""); };
GetControlBlockName()15     virtual CString GetControlBlockName() { return CString("GX_ACCORDION_MENU"); }
16 
DeclarePropertiesStruct()17     virtual CString DeclarePropertiesStruct(){ return CString(""); };
WriteExtendedProperties(screen_generator * gen,CString & scope,widget_info * info)18     virtual CString WriteExtendedProperties(screen_generator *gen, CString &scope, widget_info *info){ return CString(""); };
19     virtual CString GetCreateFromDefFunctionName();
20     virtual CString GetCreateFromDefFunction(int version);
21 
22     virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
23     virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
24 };
25 
26 #endif
27