aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-01 17:39:38 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-01 17:43:47 +0100
commit27b2bc28ebfc13bec3a03a8373e8625158a7bd9d (patch)
treee2b0fa23374726ceb91ebc0fb3d760f0d958c99b
parent5be984d1e7e9911762316a550fdf09b504b473f3 (diff)
downloadpaludis-27b2bc28ebfc13bec3a03a8373e8625158a7bd9d.tar.gz
paludis-27b2bc28ebfc13bec3a03a8373e8625158a7bd9d.tar.xz
simple_parser-fwd
-rw-r--r--paludis/util/files.m42
-rw-r--r--paludis/util/simple_parser-fwd.hh28
-rw-r--r--paludis/util/simple_parser.hh1
3 files changed, 30 insertions, 1 deletions
diff --git a/paludis/util/files.m4 b/paludis/util/files.m4
index e5d62ac..a2ac7f0 100644
--- a/paludis/util/files.m4
+++ b/paludis/util/files.m4
@@ -64,7 +64,7 @@ add(`sequence', `hh', `fwd', `impl', `cc')
add(`set', `hh', `fwd', `impl', `cc')
add(`sha1', `hh', `cc', `test')
add(`sha256', `hh', `cc', `test')
-add(`simple_parser', `hh', `cc', `test')
+add(`simple_parser', `hh', `cc', `test', `fwd')
add(`simple_visitor', `hh', `cc', `fwd', `impl')
add(`simple_visitor_cast', `hh', `cc', `fwd')
add(`stringify', `hh', `test')
diff --git a/paludis/util/simple_parser-fwd.hh b/paludis/util/simple_parser-fwd.hh
new file mode 100644
index 0000000..6cf666d
--- /dev/null
+++ b/paludis/util/simple_parser-fwd.hh
@@ -0,0 +1,28 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2009 Ciaran McCreesh
+ *
+ * This file is part of the Paludis package manager. Paludis is free software;
+ * you can redistribute it and/or modify it under the terms of the GNU General
+ * Public License version 2, as published by the Free Software Foundation.
+ *
+ * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef PALUDIS_GUARD_PALUDIS_UTIL_SIMPLE_PARSER_FWD_HH
+#define PALUDIS_GUARD_PALUDIS_UTIL_SIMPLE_PARSER_FWD_HH 1
+
+namespace paludis
+{
+ class SimpleParser;
+}
+
+#endif
diff --git a/paludis/util/simple_parser.hh b/paludis/util/simple_parser.hh
index 1302269..f7646a0 100644
--- a/paludis/util/simple_parser.hh
+++ b/paludis/util/simple_parser.hh
@@ -22,6 +22,7 @@
#include <paludis/util/attributes.hh>
#include <paludis/util/private_implementation_pattern.hh>
+#include <paludis/util/simple_parser-fwd.hh>
#include <tr1/functional>
#include <string>