From: Maxim Mamontov Date: Thu, 17 Mar 2011 10:43:18 +0000 (+0200) Subject: Fix filename for auth plugin interface X-Git-Tag: 2.407-rc3~154 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/c3bf6c12fa5113e5c451657519b4a62a57bd187c Fix filename for auth plugin interface --- diff --git a/include/auth.h b/include/auth.h new file mode 100644 index 00000000..55152def --- /dev/null +++ b/include/auth.h @@ -0,0 +1,47 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* + * Author : Boris Mikhailenko + */ + + /* + $Revision: 1.6 $ + $Date: 2009/03/18 17:24:57 $ + */ + +#ifndef BASE_AUTH_H +#define BASE_AUTH_H + +#include +#include + +#include "base_plugin.h" +#include "stg_message.h" + +using namespace std; + +//----------------------------------------------------------------------------- +class BASE_AUTH : public BASE_PLUGIN +{ +public: + virtual ~BASE_AUTH() {}; + virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0; +}; +//----------------------------------------------------------------------------- +#endif + + diff --git a/include/base_auth.h b/include/base_auth.h deleted file mode 100644 index 55152def..00000000 --- a/include/base_auth.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Author : Boris Mikhailenko - */ - - /* - $Revision: 1.6 $ - $Date: 2009/03/18 17:24:57 $ - */ - -#ifndef BASE_AUTH_H -#define BASE_AUTH_H - -#include -#include - -#include "base_plugin.h" -#include "stg_message.h" - -using namespace std; - -//----------------------------------------------------------------------------- -class BASE_AUTH : public BASE_PLUGIN -{ -public: - virtual ~BASE_AUTH() {}; - virtual int SendMessage(const STG_MSG & msg, uint32_t ip) const = 0; -}; -//----------------------------------------------------------------------------- -#endif - -