]> git.ipfire.org Git - thirdparty/squid.git/blame - src/auth/basic/Scheme.h
Bug 4352: compile errors in OS X 10.11
[thirdparty/squid.git] / src / auth / basic / Scheme.h
CommitLineData
f5691f9c 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
f5691f9c 3 *
bbc27441
AJ
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
f5691f9c 7 */
8
d6374be6
AJ
9#ifndef SQUID_AUTH_BASIC_SCHEME_H
10#define SQUID_AUTH_BASIC_SCHEME_H
f5691f9c 11
602d9612 12#include "auth/Scheme.h"
f5691f9c 13
c6cf8dee
AJ
14namespace Auth
15{
16namespace Basic
17{
d6374be6 18
63be0a78 19/// \ingroup AuthAPI
20/// \ingroup AuthSchemeAPI
c6cf8dee 21class Scheme : public Auth::Scheme
f5691f9c 22{
23
24public:
c6cf8dee 25 static Auth::Scheme::Pointer GetInstance();
d6374be6
AJ
26 Scheme() {};
27 virtual ~Scheme() {}
f5691f9c 28
29 /* per scheme */
d6374be6 30 virtual char const *type() const;
c6cf8dee 31 virtual void shutdownCleanup();
9f3d2b2e 32 virtual Auth::Config *createConfig();
f5691f9c 33 /* Not implemented */
d6374be6
AJ
34 Scheme(Scheme const &);
35 Scheme &operator=(Scheme const &);
f5691f9c 36
37private:
c6cf8dee 38 static Auth::Scheme::Pointer _instance;
f5691f9c 39};
40
d6374be6
AJ
41} // namespace Basic
42} // namespace Auth
43
44#endif /* SQUID_AUTH_BASIC_SCHEME_H */
f53969cc 45