]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/AdaptationService.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / AdaptationService.h
CommitLineData
bbc27441 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
bbc27441
AJ
3 *
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.
7 */
8
c302ddb5
CT
9#ifndef SQUID_ACLADAPTATIONSERVICE_H
10#define SQUID_ACLADAPTATIONSERVICE_H
11
12#include "acl/Strategised.h"
13#include "acl/Strategy.h"
14
15/// \ingroup ACLAPI
16class ACLAdaptationServiceStrategy : public ACLStrategy<const char *>
17{
18
19public:
20 virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &);
21 static ACLAdaptationServiceStrategy *Instance();
22 /**
23 * Not implemented to prevent copies of the instance.
24 */
25 ACLAdaptationServiceStrategy(ACLAdaptationServiceStrategy const &);
26
27private:
28 static ACLAdaptationServiceStrategy Instance_;
29 ACLAdaptationServiceStrategy() {}
30
31 ACLAdaptationServiceStrategy &operator = (ACLAdaptationServiceStrategy const &);
32};
33
34/// \ingroup ACLAPI
35class ACLAdaptationService
36{
37
38private:
39 static ACL::Prototype RegistryProtoype;
40 static ACLStrategised<const char *> RegistryEntry_;
41};
42
43#endif /* SQUID_ACLADAPTATIONSERVICE_H */
f53969cc 44