diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
| commit | 2111b82728e37a649539076ee4e9fc83103f196b (patch) | |
| tree | 502932f709108cd76ae393a4904e460c5dd57d0a /src/qmmpui/commandlineoption.h | |
| parent | 6ca203336305da1b2f8b45e4dca647153da49e3c (diff) | |
| download | qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.gz qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.bz2 qmmp-2111b82728e37a649539076ee4e9fc83103f196b.zip | |
changed translation api again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlineoption.h')
| -rw-r--r-- | src/qmmpui/commandlineoption.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h index f6f67d5e5..1b2255dc5 100644 --- a/src/qmmpui/commandlineoption.h +++ b/src/qmmpui/commandlineoption.h @@ -34,7 +34,6 @@ class CommandLineProperties { public: QString shortName; /*!< Input plugin short name for internal usage */ - QString translation; /*!< Translation file path without locale code and extension */ QStringList helpString; /*!< A list of specially formatted help strings. Example: "--help||Display this text and exit" */ }; @@ -48,7 +47,7 @@ public: /*! * Returns command line plugin properties. */ - virtual const CommandLineProperties properties() const = 0; + virtual CommandLineProperties properties() const = 0; /*! * Returns \b true if \b opt_str string can be processed, * otherise \b false @@ -65,6 +64,10 @@ public: * Object destructor */ virtual ~CommandLineOption() {} + /*! + * Returns translation file path without locale code and extension + */ + virtual QString translation() const = 0; }; Q_DECLARE_INTERFACE(CommandLineOption,"CommandLineOptionInterface/1.0") |
