2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLSQUIDERROR_H
10 #define SQUID_ACLSQUIDERROR_H
12 #include "acl/Strategised.h"
13 #include "acl/Strategy.h"
16 class ACLSquidErrorStrategy
: public ACLStrategy
<err_type
>
20 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
22 static ACLSquidErrorStrategy
*Instance();
23 /* Not implemented to prevent copies of the instance. */
24 /* Not private to prevent brain dead g+++ warnings about
25 * private constructors with no friends */
26 ACLSquidErrorStrategy(ACLSquidErrorStrategy
const &);
29 static ACLSquidErrorStrategy Instance_
;
30 ACLSquidErrorStrategy() {}
32 ACLSquidErrorStrategy
&operator=(ACLSquidErrorStrategy
const &);
39 static ACL::Prototype RegistryProtoype
;
40 static ACLStrategised
<err_type
> RegistryEntry_
;
43 #endif /* SQUID_ACLSQUIDERROR_H */