]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h
Remove extra debug.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / tariff_helper.h
index a30b992a0069d646e2d0b89e75d4387e8fbdc48f..9f68a74d2a486cae416d295e889a9b73e1ffdde9 100644 (file)
@@ -1,22 +1,23 @@
-#ifndef __TARIFF_HELPER_H__
-#define __TARIFF_HELPER_H__
+#pragma once
 
 #include <xmlrpc-c/base.hpp>
 
 #include <xmlrpc-c/base.hpp>
-#include "stg/tariff_conf.h"
+
+namespace STG
+{
+
+struct TariffData;
+
+}
 
 class TARIFF_HELPER
 {
 public:
 
 class TARIFF_HELPER
 {
 public:
-    explicit TARIFF_HELPER(TARIFF_DATA & td)
+    explicit TARIFF_HELPER(STG::TariffData & td)
         : data(td)
     {}
 
     void GetTariffInfo(xmlrpc_c::value * info) const;
     bool SetTariffInfo(const xmlrpc_c::value & info);
 private:
         : data(td)
     {}
 
     void GetTariffInfo(xmlrpc_c::value * info) const;
     bool SetTariffInfo(const xmlrpc_c::value & info);
 private:
-    TARIFF_DATA & data;
+    STG::TariffData & data;
 };
 };
-
-#endif
-
-