]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/firebird/firebird_store.h
Register smux plugin as .stg24, not as a root
[stg.git] / projects / stargazer / plugins / store / firebird / firebird_store.h
index 45cf4f8dd3444bcf4fd0cac883b8351e387dabf3..58054cba724b0cc67c34738d8e4cd8f80cf8c253 100644 (file)
@@ -34,9 +34,9 @@
 #include <vector>
 #include <map>
 
-#include "store.h"
-#include "stg_locker.h"
-#include "ibpp.h"
+#include "stg/store.h"
+#include "stg/locker.h"
+#include "stg/ibpp.h"
 
 struct ToLower {
     char operator() (char c) const  { return std::tolower(c); }
@@ -114,7 +114,11 @@ public:
     int RestoreService(SERVICE_CONF * sc, const std::string & name) const;
     int AddService(const std::string & name) const;
     int DelService(const std::string & name) const;
+
 private:
+    FIREBIRD_STORE(const FIREBIRD_STORE & rvalue);
+    FIREBIRD_STORE & operator=(const FIREBIRD_STORE & rvalue);
+
     std::string version;
     mutable std::string strError;
     mutable std::string db_server, db_database, db_user, db_password;
@@ -127,8 +131,8 @@ private:
     int SaveStat(const USER_STAT & stat, const std::string & login, int year = 0, int month = 0) const;
 };
 
-time_t ts2time_t(const IBPP::Timestamp & ts) const;
-void time_t2ts(time_t t, IBPP::Timestamp * ts) const;
-void ym2date(int year, int month, IBPP::Date * date) const;
+time_t ts2time_t(const IBPP::Timestamp & ts);
+void time_t2ts(time_t t, IBPP::Timestamp * ts);
+void ym2date(int year, int month, IBPP::Date * date);
 
 #endif //FIREBIRD_STORE_H