]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/tariffs_methods.h
Port to CMake, get rid of os_int.h.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / tariffs_methods.h
diff --git a/projects/stargazer/plugins/configuration/rpcconfig/tariffs_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/tariffs_methods.h
deleted file mode 100644 (file)
index fdd788d..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#ifndef __TARIFFS_METHODS_H__
-#define __TARIFFS_METHODS_H__
-
-#include <xmlrpc-c/base.hpp>
-#include <xmlrpc-c/registry.hpp>
-
-#include "../../../tariffs.h"
-
-class RPC_CONFIG;
-
-class METHOD_TARIFF_GET : public xmlrpc_c::method {
-public:
-    METHOD_TARIFF_GET(RPC_CONFIG * c,
-                      TARIFFS * t)
-        : config(c),
-          tariffs(t)
-    {
-    }
-
-    void execute(xmlrpc_c::paramList const & paramList,
-                 xmlrpc_c::value *   const   retvalPtr);
-private:
-    RPC_CONFIG * config;
-    TARIFFS * tariffs;
-};
-
-class METHOD_TARIFF_CHG : public xmlrpc_c::method {
-public:
-    METHOD_TARIFF_CHG(RPC_CONFIG * c,
-                      ADMINS * a,
-                      TARIFFS * t)
-        : config(c),
-          admins(a),
-          tariffs(t)
-    {
-    }
-
-    void execute(xmlrpc_c::paramList const & paramList,
-                 xmlrpc_c::value *   const   retvalPtr);
-private:
-    RPC_CONFIG * config;
-    ADMINS * admins;
-    TARIFFS * tariffs;
-};
-
-class METHOD_TARIFFS_GET : public xmlrpc_c::method {
-public:
-    METHOD_TARIFFS_GET(RPC_CONFIG * c,
-                      TARIFFS * t)
-        : config(c),
-          tariffs(t)
-    {
-    }
-
-    void execute(xmlrpc_c::paramList const & paramList,
-                 xmlrpc_c::value *   const   retvalPtr);
-private:
-    RPC_CONFIG * config;
-    TARIFFS * tariffs;
-};
-
-class METHOD_TARIFF_ADD : public xmlrpc_c::method {
-public:
-    METHOD_TARIFF_ADD(RPC_CONFIG * c,
-                      ADMINS * a,
-                      TARIFFS * t)
-        : config(c),
-          admins(a),
-          tariffs(t)
-    {
-    }
-
-    void execute(xmlrpc_c::paramList const & paramList,
-                 xmlrpc_c::value *   const   retvalP);
-private:
-    RPC_CONFIG * config;
-    ADMINS * admins;
-    TARIFFS * tariffs;
-};
-
-class METHOD_TARIFF_DEL : public xmlrpc_c::method {
-public:
-    METHOD_TARIFF_DEL(RPC_CONFIG * c,
-                      ADMINS * a,
-                      TARIFFS * t,
-                      USERS * u)
-        : config(c),
-          admins(a),
-          tariffs(t),
-          users(u)
-    {
-    }
-
-    void execute(xmlrpc_c::paramList const & paramList,
-                 xmlrpc_c::value *   const   retvalP);
-private:
-    RPC_CONFIG * config;
-    ADMINS * admins;
-    TARIFFS * tariffs;
-    USERS * users;
-};
-
-#endif