aboutsummaryrefslogtreecommitdiff
path: root/paludis/notifier_callback.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/notifier_callback.hh')
-rw-r--r--paludis/notifier_callback.hh16
1 files changed, 15 insertions, 1 deletions
diff --git a/paludis/notifier_callback.hh b/paludis/notifier_callback.hh
index e33ac11..2a28e90 100644
--- a/paludis/notifier_callback.hh
+++ b/paludis/notifier_callback.hh
@@ -32,7 +32,8 @@ namespace paludis
class PALUDIS_VISIBLE NotifierCallbackEvent :
public virtual DeclareAbstractAcceptMethods<NotifierCallbackEvent, MakeTypeList<
NotifierCallbackGeneratingMetadataEvent,
- NotifierCallbackResolverStepEvent>::Type>
+ NotifierCallbackResolverStepEvent,
+ NotifierCallbackResolverStageEvent>::Type>
{
};
@@ -55,6 +56,19 @@ namespace paludis
{
};
+ class PALUDIS_VISIBLE NotifierCallbackResolverStageEvent :
+ public NotifierCallbackEvent,
+ public ImplementAcceptMethods<NotifierCallbackEvent, NotifierCallbackResolverStageEvent>
+ {
+ private:
+ const std::string _stage;
+
+ public:
+ NotifierCallbackResolverStageEvent(const std::string &);
+
+ const std::string stage() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
+
class PALUDIS_VISIBLE ScopedNotifierCallback :
private PrivateImplementationPattern<ScopedNotifierCallback>
{