1 
2 #ifndef _SLIDER_SERVICE_PROVIDER_
3 #define _SLIDER_SERVICE_PROVIDER_
4 
5 class screen_generator; // forward reference
6 
7 class slider_service_provider : public widget_service_provider
8 {
9     public:
10         slider_service_provider();
11 
GetType()12         virtual int GetType() {return GX_TYPE_SLIDER;}
GetTypeName(widget_info *)13         virtual CString GetTypeName(widget_info *) {return CString("GX_TYPE_SLIDER");}
GetShortName()14         virtual CString GetShortName() {return CString("slider");}
15         virtual CString GetVarDeclaration();
GetControlBlockName()16         virtual CString GetControlBlockName() {return CString("GX_SLIDER");}
17 
18         virtual CString DeclarePropertiesStruct();
19         virtual CString WriteExtendedProperties(screen_generator *gen, CString &scope, widget_info *info);
20         virtual CString GetCreateFromDefFunctionName();
21         virtual CString GetCreateFromDefFunction(int version);
22 
23         virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
24         virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
25 
26         virtual void SaveToProject(xml_writer &, studiox_project *project, int display, widget_info *);
27         virtual void ReadFromProject(xml_reader &, studiox_project *project, int display, widget_info *info, ULONG valid_styles);
28 
29 };
30 
31 #endif
32