aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_dep_parser-fwd.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 13:50:39 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 13:50:39 +0000
commitc29150b36547140e3e7121fec994f781b9d6e46f (patch)
tree93f87df86c414db6ba2984f59864e0f632c28999 /paludis/elike_dep_parser-fwd.hh
parenta9be46e2316e6c06452b74777aca069433fb3d2a (diff)
downloadpaludis-c29150b36547140e3e7121fec994f781b9d6e46f.tar.gz
paludis-c29150b36547140e3e7121fec994f781b9d6e46f.tar.xz
Add options to parse_elike_dependencies
Diffstat (limited to 'paludis/elike_dep_parser-fwd.hh')
-rw-r--r--paludis/elike_dep_parser-fwd.hh11
1 files changed, 10 insertions, 1 deletions
diff --git a/paludis/elike_dep_parser-fwd.hh b/paludis/elike_dep_parser-fwd.hh
index bee1a267c..63ceeaa5c 100644
--- a/paludis/elike_dep_parser-fwd.hh
+++ b/paludis/elike_dep_parser-fwd.hh
@@ -22,6 +22,7 @@
#include <paludis/util/attributes.hh>
#include <paludis/util/map-fwd.hh>
+#include <paludis/util/options-fwd.hh>
#include <paludis/name-fwd.hh>
#include <functional>
#include <memory>
@@ -31,6 +32,10 @@ namespace paludis
{
struct ELikeDepParserCallbacks;
+#include <paludis/elike_dep_parser-se.hh>
+
+ typedef Options<ELikeDepParserOption> ELikeDepParserOptions;
+
typedef std::function<void (const std::string &)> ELikeDepParserStringFunction;
typedef std::function<void (const std::string &, const std::string &)> ELikeDepParserArrowFunction;
typedef std::function<void ()> ELikeDepParserAnyFunction;
@@ -47,7 +52,11 @@ namespace paludis
ELikeDepParserAnnotationsFunction;
typedef std::function<void ()> ELikeDepParserNoAnnotationsFunction;
- void parse_elike_dependencies(const std::string &, const ELikeDepParserCallbacks & callbacks) PALUDIS_VISIBLE;
+ void parse_elike_dependencies(
+ const std::string &,
+ const ELikeDepParserCallbacks & callbacks,
+ const ELikeDepParserOptions & options
+ ) PALUDIS_VISIBLE;
}
#endif