2 * Copyright (C) 1996-2015 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_ACLLOCALPORT_H
10 #define SQUID_ACLLOCALPORT_H
12 #include "acl/Strategised.h"
13 #include "acl/Strategy.h"
16 class ACLLocalPortStrategy
: public ACLStrategy
<int>
20 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
21 static ACLLocalPortStrategy
*Instance();
23 * Not implemented to prevent copies of the instance.
25 * Not private to prevent brain dead g+++ warnings about
26 * private constructors with no friends
28 ACLLocalPortStrategy(ACLLocalPortStrategy
const &);
31 static ACLLocalPortStrategy Instance_
;
32 ACLLocalPortStrategy() {}
34 ACLLocalPortStrategy
&operator=(ACLLocalPortStrategy
const &);
42 static ACL::Prototype RegistryProtoype
;
43 static ACLStrategised
<int> RegistryEntry_
;
46 #endif /* SQUID_ACLLOCALPORT_H */