]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/send_message.h
Simplified parser interfaces.
[stg.git] / stglibs / srvconf.lib / parsers / send_message.h
index 27903bc0cb8b34b8507fdb44b8d1f55c6f4ff854..13132a0d3fc6e914c0e379efe43765af783a34a0 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef __STG_STGLIBS_SRVCONF_PARSER_SEND_MESSAGE_H__
 #define __STG_STGLIBS_SRVCONF_PARSER_SEND_MESSAGE_H__
 
-#include "parser.h"
+#include "base.h"
 
 #include "stg/servconf_types.h"
 
@@ -34,10 +34,9 @@ namespace SEND_MESSAGE
 class PARSER: public STG::PARSER
 {
 public:
-    PARSER();
+    PARSER(CALLBACK f, void * data);
     int  ParseStart(const char * el, const char ** attr);
     void ParseEnd(const char * el);
-    void SetCallback(CALLBACK f, void * data);
 
 private:
     CALLBACK callback;