]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf.h
Ticket 37. if (schemaVersion > 1) checking added in the RestoreTariff()
[stg.git] / stglibs / srvconf.lib / include / stg / servconf.h
index dbbe20013daa4087224221ea5c94e4c8c500d0d8..6bf33ddb189288e5daaedfb95c458ace5fe4b510 100644 (file)
@@ -130,7 +130,6 @@ private:
     RecvChgUserCb_t RecvChgUserCb;
     void * chgUserCbData;
     int depth;
     RecvChgUserCb_t RecvChgUserCb;
     void * chgUserCbData;
     int depth;
-    bool error;
 };
 //-----------------------------------------------------------------------------
 class PARSER_CHECK_USER: public PARSER
 };
 //-----------------------------------------------------------------------------
 class PARSER_CHECK_USER: public PARSER
@@ -145,7 +144,6 @@ private:
     RecvCheckUserCb_t RecvCheckUserCb;
     void * checkUserCbData;
     int depth;
     RecvCheckUserCb_t RecvCheckUserCb;
     void * checkUserCbData;
     int depth;
-    bool error;
 };
 //-----------------------------------------------------------------------------
 class PARSER_GET_USERS: public PARSER
 };
 //-----------------------------------------------------------------------------
 class PARSER_GET_USERS: public PARSER
@@ -164,7 +162,6 @@ private:
     void * userDataCb;
     USERDATA user;
     int depth;
     void * userDataCb;
     USERDATA user;
     int depth;
-    bool error;
 };
 //-----------------------------------------------------------------------------
 class PARSER_GET_USER: public PARSER
 };
 //-----------------------------------------------------------------------------
 class PARSER_GET_USER: public PARSER
@@ -223,7 +220,6 @@ private:
     RecvSendMessageCb_t RecvSendMessageCb;
     void * sendMessageCbData;
     int depth;
     RecvSendMessageCb_t RecvSendMessageCb;
     void * sendMessageCbData;
     int depth;
-    bool error;
 };
 //-----------------------------------------------------------------------------
 class PARSER_AUTH_BY: public PARSER
 };
 //-----------------------------------------------------------------------------
 class PARSER_AUTH_BY: public PARSER
@@ -247,6 +243,7 @@ class SERVCONF
 {
 public:
     SERVCONF();
 {
 public:
     SERVCONF();
+    ~SERVCONF();
     void SetServer(const char * server);
     void SetPort(uint16_t port);
 
     void SetServer(const char * server);
     void SetPort(uint16_t port);
 
@@ -288,7 +285,6 @@ private:
     PARSER_SEND_MESSAGE parserSendMessage;
 
     NETTRANSACT nt;
     PARSER_SEND_MESSAGE parserSendMessage;
 
     NETTRANSACT nt;
-    int parseDepth;
 
     std::string errorMsg;
     int error;
 
     std::string errorMsg;
     int error;