]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h
Verbose BLOWFISH_CTX failures.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / tariff_helper.h
index e7b1c6df8b4af649df301e310d2d61dba48c30e2..9f68a74d2a486cae416d295e889a9b73e1ffdde9 100644 (file)
@@ -1,23 +1,23 @@
-#ifndef __TARIFF_HELPER_H__
-#define __TARIFF_HELPER_H__
+#pragma once
 
 #include <xmlrpc-c/base.hpp>
 
 #include <xmlrpc-c/base.hpp>
-#include "../../../tariff.h"
-#include "tariff_conf.h"
+
+namespace STG
+{
+
+struct TariffData;
+
+}
 
 class TARIFF_HELPER
 {
 public:
 
 class TARIFF_HELPER
 {
 public:
-    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
-
-