aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_match.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 21:41:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 22:24:33 +0000
commit67bd5a2be68eb8dc7faeab3de48dbf970812331d (patch)
treee8af9459c6e736a5c682048924ae21e523486487 /src/clients/cave/cmd_match.hh
parent2cf131574c5dd27d2cd1a6a8a3c330bb65cd9bae (diff)
downloadpaludis-67bd5a2be68eb8dc7faeab3de48dbf970812331d.tar.gz
paludis-67bd5a2be68eb8dc7faeab3de48dbf970812331d.tar.xz
Make command importance an enum
Diffstat (limited to 'src/clients/cave/cmd_match.hh')
-rw-r--r--src/clients/cave/cmd_match.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_match.hh b/src/clients/cave/cmd_match.hh
index f4d002a70..4d72bb198 100644
--- a/src/clients/cave/cmd_match.hh
+++ b/src/clients/cave/cmd_match.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010 Ciaran McCreesh
+ * Copyright (c) 2010, 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
@@ -34,6 +34,8 @@ namespace paludis
public Command
{
public:
+ virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args