Fixed problems with plugin suffix not being propagated to sudirectories
[pwlib.git] / samples / xmlrpcsrvr / main.h
blobe5505010e864d927afd266c03b07278564f8e238
1 /*
2 * main.h
4 * PWLib application header file for xmlrpcsrvr
6 * Copyright 2002 Equivalence
8 * $Log$
9 * Revision 1.1 2002/10/02 08:58:20 craigs
10 * Initial version
14 #ifndef _Xmlrpcsrvr_MAIN_H
15 #define _Xmlrpcsrvr_MAIN_H
18 #include <ptclib/httpsvc.h>
19 #include <ptclib/pxmlrpcs.h>
21 class Xmlrpcsrvr : public PHTTPServiceProcess
23 PCLASSINFO(Xmlrpcsrvr, PHTTPServiceProcess)
25 public:
26 Xmlrpcsrvr();
27 void Main();
28 BOOL OnStart();
29 void OnStop();
30 void OnConfigChanged();
31 void OnControl();
32 PString GetPageGraphic();
33 void AddUnregisteredText(PHTML & html);
34 BOOL Initialise(const char * initMsg);
36 PDECLARE_NOTIFIER(PXMLRPCServerParms, Xmlrpcsrvr, FunctionNotifier);
38 protected:
39 PXMLRPCServerResource * xmlrpcServer;
43 #endif // _Xmlrpcsrvr_MAIN_H
46 // End of File ///////////////////////////////////////////////////////////////