#include <string>
+#include <cstdint>
+
namespace STG
{
-struct Admin;
-struct User;
+class Admin;
+class User;
struct Auth;
class Users
virtual bool TariffInUse(const std::string& tariffName) const = 0;
template <typename F>
- auto onUserAdd(F&& f) { return m_onAddCallbacks.add(std::forward<F>(f)); }
+ auto onAdd(F&& f) { return m_onAddCallbacks.add(std::forward<F>(f)); }
template <typename F>
- auto onUserDel(F&& f) { return m_onDelCallbacks.add(std::forward<F>(f)); }
+ auto onDel(F&& f) { return m_onDelCallbacks.add(std::forward<F>(f)); }
virtual int Add(const std::string& login, const Admin* admin) = 0;
virtual void Del(const std::string& login, const Admin* admin) = 0;