From: Alex Rousskov Date: Sun, 30 Mar 2008 19:35:21 +0000 (-0600) Subject: Added forward declarations for adaptation-related APIs. This may relax X-Git-Tag: SQUID_3_1_0_1~49^2~302^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be189aae9e7d502a5417bde81b2819d5a29ca150;p=thirdparty%2Fsquid.git Added forward declarations for adaptation-related APIs. This may relax dependencies among header files using adaptation APIs. --- diff --git a/src/adaptation/forward.h b/src/adaptation/forward.h new file mode 100644 index 0000000000..09446f4b68 --- /dev/null +++ b/src/adaptation/forward.h @@ -0,0 +1,22 @@ +#ifndef SQUID_ADAPTATION__FORWARD_H +#define SQUID_ADAPTATION__FORWARD_H + +// forward-declarations for commonly used adaptation classes + +template +class RefCount; + +namespace Adaptation { + +class Service; +class ServiceConfig; +class Class; +class Initiate; +class Initiator; +class AccessCheck; + +typedef RefCount ServicePointer; + +} // namespace Adaptation + +#endif /* SQUID_ADAPTATION__FORWARD_H */