diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-23 20:57:00 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-23 20:57:00 +0200 |
commit | 415cd36477e152c12f91a10ad61bb719373cd9d1 (patch) | |
tree | 0c235f3b1f9b844313e81eb9e900fa2662ebefcc /src/Common/AuthContext.h | |
parent | 6666bbf908b3f2a61a9ec1959e975de54dc23b0d (diff) | |
download | mad-415cd36477e152c12f91a10ad61bb719373cd9d1.tar mad-415cd36477e152c12f91a10ad61bb719373cd9d1.zip |
Authentifikation hinzugefügt.
Diffstat (limited to 'src/Common/AuthContext.h')
-rw-r--r-- | src/Common/AuthContext.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Common/AuthContext.h b/src/Common/AuthContext.h new file mode 100644 index 0000000..b402dd3 --- /dev/null +++ b/src/Common/AuthContext.h @@ -0,0 +1,36 @@ +/* + * AuthContext.h + * + * Copyright (C) 2009 Matthias Schiffer <matthias@gamezock.de> + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation, either version 3 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef MAD_COMMON_AUTHCONTEXT_H_ +#define MAD_COMMON_AUTHCONTEXT_H_ + +namespace Mad { +namespace Common { + +class AuthContext { + public: + virtual bool isAuthenticated() const = 0; + + virtual ~AuthContext() {} +}; + +} +} + +#endif /* MAD_COMMON_AUTHCONTEXT_H_ */ |