From dbe17f5c90e7e51d8d98c734ddec23ffbaa7803e Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 7 Dec 2010 17:52:13 +0200 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D1=8B=20=D1=81=D0=BF=D0=B5=D1=86=D0=B8=D1=84=D0=B8=D0=BA=D0=B0?= =?utf8?q?=D1=82=D0=BE=D1=80=D1=8B=20const=20=D0=B4=D0=BB=D1=8F=20=D0=BD?= =?utf8?q?=D0=B5=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D1=85=20=D0=BC=D0=B5?= =?utf8?q?=D1=82=D0=BE=D0=B4=D0=BE=D0=B2=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81?= =?utf8?q?=D0=B0=20CONFIGPROTO=20=D0=B2=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8?= =?utf8?q?=D0=BD=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80?= =?utf8?q?=D0=B0=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../plugins/configuration/sgconfig/configproto.cpp | 4 ++-- .../stargazer/plugins/configuration/sgconfig/configproto.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp index 38b423fb..c6218e94 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp @@ -287,12 +287,12 @@ return 0; } //----------------------------------------------------------------------------- */ -const string & CONFIGPROTO::GetStrError() +const string & CONFIGPROTO::GetStrError() const { return errorStr; } //----------------------------------------------------------------------------- -uint32_t CONFIGPROTO::GetAdminIP() +uint32_t CONFIGPROTO::GetAdminIP() const { return adminIP; } diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.h b/projects/stargazer/plugins/configuration/sgconfig/configproto.h index 29369867..35e54105 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.h +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.h @@ -64,11 +64,11 @@ public: void SetTariffs(TARIFFS * t); void SetStore(BASE_STORE * s); void SetStgSettings(const SETTINGS * s); - const string & GetAdminLogin(); - uint32_t GetAdminIP(); + //const string & GetAdminLogin(); + uint32_t GetAdminIP() const; int Prepare(); int Stop(); - const string & GetStrError(); + const string & GetStrError() const; static void * Run(void * a); private: -- 2.44.2