]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/format/Format.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / format / Format.h
index a998327cad70e0dcc50b8809caa083f509afc49a..4ae6e668db8cb0545b89df9bba3ef1fd0da698ca 100644 (file)
@@ -1,7 +1,17 @@
+/*
+ * 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.
+ */
+
 #ifndef _SQUID_FORMAT_FORMAT_H
 #define _SQUID_FORMAT_FORMAT_H
 
 #include "base/RefCount.h"
+#include "ConfigParser.h"
+
 /*
  * Squid configuration allows users to define custom formats in
  * several components.
@@ -29,7 +39,7 @@ class Format
 {
 public:
     Format(const char *name);
-    ~Format();
+    virtual ~Format();
 
     /* very inefficent parser, but who cares, this needs to be simple */
     /* First off, let's tokenize, we'll optimize in a second pass.
@@ -51,3 +61,4 @@ public:
 } // namespace Format
 
 #endif /* _SQUID_FORMAT_FORMAT_H */
+