aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-14 12:18:23 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-16 11:08:40 +0100
commita80e13f8e186601b0bcbf626f21bfb73ac41bfaf (patch)
tree265df0590d6770b8e8ff8c417cca1661f50f5727
parent4d710364915b2a76153e889775f1022c35fa88fa (diff)
downloadpaludis-a80e13f8e186601b0bcbf626f21bfb73ac41bfaf.tar.gz
paludis-a80e13f8e186601b0bcbf626f21bfb73ac41bfaf.tar.xz
JobActiveState::output_manager
-rw-r--r--paludis/resolver/job_state.cc6
-rw-r--r--paludis/resolver/job_state.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/paludis/resolver/job_state.cc b/paludis/resolver/job_state.cc
index 60f74b9..e3a0493 100644
--- a/paludis/resolver/job_state.cc
+++ b/paludis/resolver/job_state.cc
@@ -120,6 +120,12 @@ JobActiveState::set_output_manager(const std::tr1::shared_ptr<OutputManager> & m
_imp->output_manager = m;
}
+const std::tr1::shared_ptr<OutputManager>
+JobActiveState::output_manager() const
+{
+ return _imp->output_manager;
+}
+
const std::tr1::shared_ptr<JobSucceededState>
JobActiveState::succeeded() const
{
diff --git a/paludis/resolver/job_state.hh b/paludis/resolver/job_state.hh
index 5e001be..5cb3198 100644
--- a/paludis/resolver/job_state.hh
+++ b/paludis/resolver/job_state.hh
@@ -65,6 +65,8 @@ namespace paludis
const std::tr1::shared_ptr<JobSucceededState> succeeded() const PALUDIS_ATTRIBUTE((warn_unused_result));
const std::tr1::shared_ptr<JobFailedState> failed() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::tr1::shared_ptr<OutputManager> output_manager() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
virtual void serialise(Serialiser &) const;
static const std::tr1::shared_ptr<JobActiveState> deserialise(Deserialisation &) PALUDIS_ATTRIBUTE((warn_unused_result));
};