aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/commandlineoption.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-11 19:16:16 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-11 19:16:16 +0000
commit53693eaf4b75b5aa6767989a1e2d3ebfc2f443aa (patch)
treea0b71f45a18af1e3e17e09d3492cbf2e3c8762cb /src/qmmpui/commandlineoption.h
parent8308415095dfcbff8d5b7c27045c47f310d6d755 (diff)
downloadqmmp-53693eaf4b75b5aa6767989a1e2d3ebfc2f443aa.tar.gz
qmmp-53693eaf4b75b5aa6767989a1e2d3ebfc2f443aa.tar.bz2
qmmp-53693eaf4b75b5aa6767989a1e2d3ebfc2f443aa.zip
command line api documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@840 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlineoption.h')
-rw-r--r--src/qmmpui/commandlineoption.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h
index 0ea172547..9799d063e 100644
--- a/src/qmmpui/commandlineoption.h
+++ b/src/qmmpui/commandlineoption.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2009 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -26,8 +26,8 @@ class QTranslator;
class QString;
class QObject;
-/**
- @author Vladimir Kuznetsov <vovanec@gmail.ru>
+/*! @brief Abstract base class of the command line plugins.
+ * @author Vladimir Kuznetsov <vovanec@gmail.ru>
*/
class CommandLineOption
{
@@ -37,17 +37,14 @@ public:
* otherise \b false
*/
virtual bool identify(const QString& opt_str)const = 0;
-
/*!
* Command line option name
*/
virtual const QString name()const = 0;
-
/*!
* Help string.
*/
virtual const QString helpString()const = 0;
-
/*!
* Parses \b opt_str args(if needed), executes command.
*/
@@ -56,7 +53,9 @@ public:
* Creates translator with parent object \b parent
*/
virtual QTranslator *createTranslator(QObject *parent) = 0;
-
+ /*!
+ * Object destructor
+ */
virtual ~CommandLineOption() {}
};