git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Install Boost in GitHub Actions.
[stg.git]
/
include
/
stg
/
auth.h
diff --git
a/include/stg/auth.h
b/include/stg/auth.h
index f597f6d1203985821c714f56652229c4dd3989db..7f4db2b81dcd852df2ea54b3827db5ee5dadd182 100644
(file)
--- a/
include/stg/auth.h
+++ b/
include/stg/auth.h
@@
-18,21
+18,19
@@
* Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
*/
* Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
*/
- /*
- $Revision: 1.6 $
- $Date: 2009/03/18 17:24:57 $
- */
-
-#ifndef AUTH_H
-#define AUTH_H
+#pragma once
#include "plugin.h"
#include "plugin.h"
-#include "message.h"
-#include "noncopyable.h"
-class AUTH : public PLUGIN {
-public:
- virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0;
+#include <cstdint>
+
+namespace STG
+{
+
+struct Message;
+
+struct Auth : Plugin {
+ virtual int SendMessage(const Message& msg, uint32_t ip) const = 0;
};
};
-#endif
+}