aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/accounts/dummy_accounts_handler.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-22 00:31:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-22 00:31:02 +0000
commit66b4acc5c80fb242eac4e5e3358a80614d005865 (patch)
treeed95f8befd4eefb9262c9fd8a58e451d050cdf70 /paludis/repositories/accounts/dummy_accounts_handler.cc
parentd5aa27d7859537369060a1c042fdb478bfc3d2df (diff)
downloadpaludis-66b4acc5c80fb242eac4e5e3358a80614d005865.tar.gz
paludis-66b4acc5c80fb242eac4e5e3358a80614d005865.tar.xz
start accounts
Diffstat (limited to 'paludis/repositories/accounts/dummy_accounts_handler.cc')
-rw-r--r--paludis/repositories/accounts/dummy_accounts_handler.cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/paludis/repositories/accounts/dummy_accounts_handler.cc b/paludis/repositories/accounts/dummy_accounts_handler.cc
new file mode 100644
index 000000000..d811753db
--- /dev/null
+++ b/paludis/repositories/accounts/dummy_accounts_handler.cc
@@ -0,0 +1,34 @@
+/* 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/repositories/accounts/dummy_accounts_handler.hh>
+#include <paludis/package_id.hh>
+#include <paludis/repository.hh>
+#include <iostream>
+
+using namespace paludis;
+using namespace paludis::accounts_repository;
+
+void
+DummyAccountsHandler::merge(const MergeParams & m)
+{
+ std::cout << ">>> Installing " << *m.package_id() << " using dummy handler" << std::endl;
+ std::cout << ">>> Finished installing " << *m.package_id() << std::endl;
+}
+