aboutsummaryrefslogtreecommitdiff
path: root/paludis/standard_output_manager.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-11 19:59:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-11 19:59:59 +0000
commitb30a00890304ea65263aa50dd65b598b5a6f9947 (patch)
tree8af16d5cb54cdc46967114f1bf1240486818cef8 /paludis/standard_output_manager.cc
parent7d90b508b22284628e64ee4fe3d8e40d58780d89 (diff)
downloadpaludis-b30a00890304ea65263aa50dd65b598b5a6f9947.tar.gz
paludis-b30a00890304ea65263aa50dd65b598b5a6f9947.tar.xz
Move output manager out of util
Diffstat (limited to 'paludis/standard_output_manager.cc')
-rw-r--r--paludis/standard_output_manager.cc54
1 files changed, 54 insertions, 0 deletions
diff --git a/paludis/standard_output_manager.cc b/paludis/standard_output_manager.cc
new file mode 100644
index 000000000..2716ca482
--- /dev/null
+++ b/paludis/standard_output_manager.cc
@@ -0,0 +1,54 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2009 Ciaran McCreesh
+ *
+ * This file is part of the Paludis package manager. Paludis is free software;
+ * you can redistribute it and/or modify it under the terms of the GNU General
+ * Public License version 2, as published by the Free Software Foundation.
+ *
+ * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <paludis/standard_output_manager.hh>
+#include <iostream>
+
+using namespace paludis;
+
+StandardOutputManager::StandardOutputManager()
+{
+}
+
+StandardOutputManager::~StandardOutputManager()
+{
+}
+
+std::ostream &
+StandardOutputManager::stdout_stream()
+{
+ return std::cout;
+}
+
+std::ostream &
+StandardOutputManager::stderr_stream()
+{
+ return std::cerr;
+}
+
+void
+StandardOutputManager::succeeded()
+{
+}
+
+void
+StandardOutputManager::message(const MessageType, const std::string &)
+{
+}
+