aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_dependent_ids.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 14:51:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 14:51:57 +0000
commitd99252d2600be0a16349e7fcc06e158484df628d (patch)
treebba80c65c9aa0abb75815c1a4816593cc3d74420 /src/clients/cave/cmd_print_dependent_ids.hh
parent212c4c26bc5114098d62d9947b5a0211d2b239e0 (diff)
downloadpaludis-d99252d2600be0a16349e7fcc06e158484df628d.tar.gz
paludis-d99252d2600be0a16349e7fcc06e158484df628d.tar.xz
cave print-dependent-ids
Diffstat (limited to 'src/clients/cave/cmd_print_dependent_ids.hh')
-rw-r--r--src/clients/cave/cmd_print_dependent_ids.hh44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_print_dependent_ids.hh b/src/clients/cave/cmd_print_dependent_ids.hh
new file mode 100644
index 000000000..f8b1402a1
--- /dev/null
+++ b/src/clients/cave/cmd_print_dependent_ids.hh
@@ -0,0 +1,44 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2011 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
+ */
+
+#ifndef PALUDIS_GUARD_SRC_CLIENTS_CAVE_CMD_PRINT_DEPENDENT_IDS_HH
+#define PALUDIS_GUARD_SRC_CLIENTS_CAVE_CMD_PRINT_DEPENDENT_IDS_HH 1
+
+#include "command.hh"
+
+namespace paludis
+{
+ namespace cave
+ {
+ class PALUDIS_VISIBLE PrintDependentIDsCommand :
+ public Command
+ {
+ public:
+ int run(
+ const std::shared_ptr<Environment> &,
+ const std::shared_ptr<const Sequence<std::string > > & args
+ );
+
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ };
+ }
+}
+
+
+#endif