aboutsummaryrefslogtreecommitdiff
path: root/0.4.0/src/qualudis/qualudis_command_line.hh
diff options
context:
space:
mode:
Diffstat (limited to '0.4.0/src/qualudis/qualudis_command_line.hh')
-rw-r--r--0.4.0/src/qualudis/qualudis_command_line.hh65
1 files changed, 65 insertions, 0 deletions
diff --git a/0.4.0/src/qualudis/qualudis_command_line.hh b/0.4.0/src/qualudis/qualudis_command_line.hh
new file mode 100644
index 000000000..386349913
--- /dev/null
+++ b/0.4.0/src/qualudis/qualudis_command_line.hh
@@ -0,0 +1,65 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+#ifndef PALUDIS_GUARD_SRC_QUALUDIS_QUALUDIS_COMMAND_LINE_HH
+#define PALUDIS_GUARD_SRC_QUALUDIS_QUALUDIS_COMMAND_LINE_HH 1
+
+#include <paludis/args/args.hh>
+#include <paludis/qa/qa.hh>
+#include <paludis/util/instantiation_policy.hh>
+
+class QualudisCommandLine :
+ public paludis::args::ArgsHandler,
+ public paludis::InstantiationPolicy<QualudisCommandLine, paludis::instantiation_method::SingletonAsNeededTag>
+{
+ friend class paludis::InstantiationPolicy<QualudisCommandLine, paludis::instantiation_method::SingletonAsNeededTag>;
+
+ private:
+ /// Constructor.
+ QualudisCommandLine();
+
+ /// Destructor.
+ ~QualudisCommandLine();
+
+ public:
+ /// \name Action arguments
+ ///{
+
+ /// Action arguments.
+ paludis::args::ArgsGroup action_args;
+
+ /// --check
+ paludis::args::SwitchArg a_check;
+
+ /// --describe
+ paludis::args::SwitchArg a_describe;
+
+ /// --version
+ paludis::args::SwitchArg a_version;
+
+ /// --help
+ paludis::args::SwitchArg a_help;
+
+ ///}
+
+ /// \name Check options
+ ///{
+
+ /// Check options.
+ paludis::args::ArgsGroup check_options;
+
+ /// --verbose
+ paludis::args::SwitchArg a_verbose;
+
+ /// --log-level
+ paludis::args::EnumArg a_log_level;
+
+ /// --message-level
+ paludis::args::EnumArg a_message_level;
+
+ paludis::qa::QALevel message_level;
+
+ ///}
+};
+
+
+#endif