]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser.h
Fix InetAccess authorization plugin compilation errors
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser.h
index 60e618cbc35a9a581ec9ee8866af8b9f36f9a040..af85b7102f98e72cc5e88d24f0a1b2b218c1e58e 100644 (file)
 #include <string>
 #include <vector>
 
-#include "resetable.h"
-#include "stg_const.h"
-#include "store.h"
-#include "admins.h"
-#include "admin.h"
-#include "users.h"
-#include "stg_message.h"
+#include "stg/resetable.h"
+#include "stg/stg_const.h"
+#include "stg/store.h"
+#include "stg/admins.h"
+#include "stg/admin.h"
+#include "stg/users.h"
+#include "stg/stg_message.h"
 
 class TARIFFS;
 class SETTINGS;
@@ -31,8 +31,9 @@ public:
           tariffs(NULL),
           store(NULL),
           settings(NULL),
-          currAdmin(),
-          depth(0)
+          currAdmin(NULL),
+          depth(0),
+          answerList(NULL)
     { }
     virtual ~BASE_PARSER() {}
     virtual int ParseStart(void *data, const char *el, const char **attr) = 0;
@@ -209,7 +210,7 @@ private:
 //-----------------------------------------------------------------------------
 class PARSER_DEL_USER: public BASE_PARSER {
 public:
-        PARSER_DEL_USER() : BASE_PARSER(), res(0) {}
+        PARSER_DEL_USER() : BASE_PARSER(), res(0), u(NULL) {}
     int ParseStart(void *data, const char *el, const char **attr);
     int ParseEnd(void *data, const char *el);
     void CreateAnswer();
@@ -231,7 +232,7 @@ private:
 //-----------------------------------------------------------------------------
 class PARSER_SEND_MESSAGE: public BASE_PARSER {
 public:
-        PARSER_SEND_MESSAGE() : BASE_PARSER(), result(0) {}
+        PARSER_SEND_MESSAGE() : BASE_PARSER(), result(0), u(NULL) {}
     int ParseStart(void *data, const char *el, const char **attr);
     int ParseEnd(void *data, const char *el);
     void CreateAnswer();