]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/ActionWriter.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / ActionWriter.h
index 0180c44c85b7e7e68fba7dee79c8e057d782051d..27f954f546663ffb77d2d2b66a67712097df128f 100644 (file)
@@ -1,18 +1,19 @@
 /*
- * $Id$
- *
- * DEBUG: section 16    Cache Manager API
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 16    Cache Manager API */
+
 #ifndef SQUID_MGR_ACTION_WRITER_H
 #define SQUID_MGR_ACTION_WRITER_H
 
 #include "comm/forward.h"
-#include "HttpRequestMethod.h"
 #include "mgr/StoreToCommWriter.h"
 
-
 namespace Mgr
 {
 
@@ -20,6 +21,8 @@ namespace Mgr
 /// Comm-writes it using parent StoreToCommWriter.
 class ActionWriter: public StoreToCommWriter
 {
+    CBDATA_CLASS(ActionWriter);
+
 public:
     ActionWriter(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn);
 
@@ -29,10 +32,9 @@ protected:
 
 private:
     Action::Pointer action; ///< action that fills the entry
-
-    CBDATA_CLASS2(ActionWriter);
 };
 
 } // namespace Mgr
 
 #endif /* SQUID_MGR_ACTION_WRITER_H */
+