X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..8bfc0bdce2bf4f53ac2c072e7a44e9a7d3b3cca8:/include/stg/auth.h diff --git a/include/stg/auth.h b/include/stg/auth.h index f597f6d1..7f4db2b8 100644 --- a/include/stg/auth.h +++ b/include/stg/auth.h @@ -18,21 +18,19 @@ * Author : Boris Mikhailenko */ - /* - $Revision: 1.6 $ - $Date: 2009/03/18 17:24:57 $ - */ - -#ifndef AUTH_H -#define AUTH_H +#pragma once #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 + +namespace STG +{ + +struct Message; + +struct Auth : Plugin { + virtual int SendMessage(const Message& msg, uint32_t ip) const = 0; }; -#endif +}