aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_dep_parser-fwd.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-05-13 14:23:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-05-13 14:23:33 +0000
commite9cb1d6a2e87901ceaee28c65b199e59f7f9d2f1 (patch)
tree38d0d41b09db961226fc006253a096012ab23b2e /paludis/elike_dep_parser-fwd.hh
parent52bfe9da687d079d44eca092c180f0159f1a95b8 (diff)
downloadpaludis-e9cb1d6a2e87901ceaee28c65b199e59f7f9d2f1.tar.gz
paludis-e9cb1d6a2e87901ceaee28c65b199e59f7f9d2f1.tar.xz
parse and ignore annotations
Diffstat (limited to 'paludis/elike_dep_parser-fwd.hh')
-rw-r--r--paludis/elike_dep_parser-fwd.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/paludis/elike_dep_parser-fwd.hh b/paludis/elike_dep_parser-fwd.hh
index 1ff49a627..a1f5bf896 100644
--- a/paludis/elike_dep_parser-fwd.hh
+++ b/paludis/elike_dep_parser-fwd.hh
@@ -23,8 +23,10 @@
#include <paludis/util/kc-fwd.hh>
#include <paludis/util/keys.hh>
#include <paludis/util/attributes.hh>
+#include <paludis/util/map-fwd.hh>
#include <paludis/name-fwd.hh>
#include <tr1/functional>
+#include <tr1/memory>
namespace paludis
{
@@ -39,6 +41,8 @@ namespace paludis
typedef std::tr1::function<void ()> ELikeDepParserShouldBeEmptyFunction;
typedef std::tr1::function<void (const std::string &, const std::string::size_type &, const std::string &)> ELikeDepParserErrorFunction;
typedef std::tr1::function<void ()> ELikeDepParserUseUnderAnyFunction;
+ typedef std::tr1::function<void (const std::tr1::shared_ptr<const Map<std::string, std::string> > &)>
+ ELikeDepParserAnnotationsFunction;
typedef kc::KeyedClass<
kc::Field<k::on_string, ELikeDepParserStringFunction>,
@@ -50,7 +54,8 @@ namespace paludis
kc::Field<k::on_pop, ELikeDepParserPopFunction>,
kc::Field<k::on_error, ELikeDepParserErrorFunction>,
kc::Field<k::on_should_be_empty, ELikeDepParserShouldBeEmptyFunction>,
- kc::Field<k::on_use_under_any, ELikeDepParserUseUnderAnyFunction>
+ kc::Field<k::on_use_under_any, ELikeDepParserUseUnderAnyFunction>,
+ kc::Field<k::on_annotations, ELikeDepParserAnnotationsFunction>
> ELikeDepParserCallbacks;
void parse_elike_dependencies(const std::string &, const ELikeDepParserCallbacks & callbacks) PALUDIS_VISIBLE;