git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add dependancy on module for install-bin targets
[stg.git]
/
include
/
auth.h
diff --git
a/include/auth.h
b/include/auth.h
index 55152def663e580bff4efd741bc34ef763410218..8cdc3f2d53855ffcaae1b8714d03d6570a7c9056 100644
(file)
--- a/
include/auth.h
+++ b/
include/auth.h
@@
-23,25
+23,16
@@
$Date: 2009/03/18 17:24:57 $
*/
$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 "stg_message.h"
+#include "noncopyable.h"
-using namespace std;
-
-//-----------------------------------------------------------------------------
-class BASE_AUTH : public BASE_PLUGIN
-{
+class AUTH : public PLUGIN {
public:
public:
- virtual ~BASE_AUTH() {};
virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0;
};
virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0;
};
-//-----------------------------------------------------------------------------
-#endif
-
+#endif