]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Removed unused stuff.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 4b93d675a00eba551d0d02836df58038d1a621b6..af924928a9b1490df86ae5c4072caffe02bd344c 100644 (file)
@@ -63,10 +63,6 @@ public:
 
     void            SetPort(uint16_t port);
     void            SetAdmins(ADMINS * a);
-    void            SetUsers(USERS * u);
-    void            SetTariffs(TARIFFS * t);
-    void            SetStore(STORE * s);
-    void            SetStgSettings(const SETTINGS * s);
     uint32_t        GetAdminIP() const { return adminIP; }
     int             Prepare();
     int             Stop();
@@ -87,6 +83,7 @@ private:
     int             SendDataAnswer(int sock, const std::string & answer);
     int             SendError(int sock, const std::string & text);
     void            WriteLogAccessFailed(uint32_t ip);
+    const std::string & GetDataAnswer() const { return dataAnswer; }
 
     int             ParseCommand();
 
@@ -100,6 +97,7 @@ private:
     int                         state;
     ADMIN *                     currAdmin;
     PLUGIN_LOGGER &             logger;
+    std::string                 dataAnswer;
 
     int                         listenSocket;