]> git.stg.codes - stg.git/blobdiff - include/auth.h
Rename some XML-RPC API methods
[stg.git] / include / auth.h
index 55152def663e580bff4efd741bc34ef763410218..8cdc3f2d53855ffcaae1b8714d03d6570a7c9056 100644 (file)
  $Date: 2009/03/18 17:24:57 $
  */
 
-#ifndef BASE_AUTH_H
-#define BASE_AUTH_H
+#ifndef AUTH_H
+#define AUTH_H
 
-#include <time.h>
-#include <string>
-
-#include "base_plugin.h"
+#include "plugin.h"
 #include "stg_message.h"
+#include "noncopyable.h"
 
-using namespace std;
-
-//-----------------------------------------------------------------------------
-class BASE_AUTH : public BASE_PLUGIN
-{
+class AUTH : public PLUGIN {
 public:
-    virtual ~BASE_AUTH() {};
     virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0;
 };
-//-----------------------------------------------------------------------------
-#endif
-
 
+#endif