aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_dep_parser-fwd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_dep_parser-fwd.hh')
-rw-r--r--paludis/elike_dep_parser-fwd.hh18
1 files changed, 2 insertions, 16 deletions
diff --git a/paludis/elike_dep_parser-fwd.hh b/paludis/elike_dep_parser-fwd.hh
index a1f5bf896..e620cbc7c 100644
--- a/paludis/elike_dep_parser-fwd.hh
+++ b/paludis/elike_dep_parser-fwd.hh
@@ -20,8 +20,6 @@
#ifndef PALUDIS_GUARD_PALUDIS_ELIKE_DEP_PARSER_FWD_HH
#define PALUDIS_GUARD_PALUDIS_ELIKE_DEP_PARSER_FWD_HH 1
-#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>
@@ -30,6 +28,8 @@
namespace paludis
{
+ struct ELikeDepParserCallbacks;
+
typedef std::tr1::function<void (const std::string &)> ELikeDepParserStringFunction;
typedef std::tr1::function<void (const std::string &, const std::string &)> ELikeDepParserArrowFunction;
typedef std::tr1::function<void ()> ELikeDepParserAnyFunction;
@@ -44,20 +44,6 @@ namespace paludis
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>,
- kc::Field<k::on_arrow, ELikeDepParserArrowFunction>,
- kc::Field<k::on_any, ELikeDepParserAnyFunction>,
- kc::Field<k::on_all, ELikeDepParserAllFunction>,
- kc::Field<k::on_use, ELikeDepParserUseFunction>,
- kc::Field<k::on_label, ELikeDepParserLabelFunction>,
- 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_annotations, ELikeDepParserAnnotationsFunction>
- > ELikeDepParserCallbacks;
-
void parse_elike_dependencies(const std::string &, const ELikeDepParserCallbacks & callbacks) PALUDIS_VISIBLE;
}