diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-03-03 18:44:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-03-03 18:44:34 +0000 |
| commit | e0c3dcb6f20ba542bcae375176ae02205591e692 (patch) | |
| tree | e03022992324878ab2cdd72d9d5f5d89d0277743 /src/qmmpui/generalfactory.h | |
| parent | 4e8071d478eeb2b0dc4b28616e9ef8419896b846 (diff) | |
| download | qmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.tar.gz qmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.tar.bz2 qmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.zip | |
changed properties api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8744 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/generalfactory.h')
| -rw-r--r-- | src/qmmpui/generalfactory.h | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/src/qmmpui/generalfactory.h b/src/qmmpui/generalfactory.h index 8437a6eb8..a891f854d 100644 --- a/src/qmmpui/generalfactory.h +++ b/src/qmmpui/generalfactory.h @@ -29,26 +29,16 @@ class QWidget; class Control; class General; -/*! @brief Helper class to store general plugin properies. +/*! @brief Structure to store general plugin properies. */ -class QMMPUI_EXPORT GeneralProperties +struct GeneralProperties { -public: - /*! - * Constructor - */ - GeneralProperties() - { - hasAbout = false; - hasSettings = false; - visibilityControl = false; - } - QString name; /*!< File dialog plugin full name */ - QString shortName; /*!< File dialog short name for internal usage */ - bool hasAbout; /*!< Should be \b true if plugin has about dialog, otherwise returns \b false */ - bool hasSettings; /*!< Should be \b true if plugin has settings dialog, otherwise returns \b false */ - bool visibilityControl; /*!< Should be \b true if plugin can show/hide main window of the player, - * otherwise returns \b false */ + QString name; /*!< File dialog plugin full name */ + QString shortName; /*!< File dialog short name for internal usage */ + bool hasAbout = false; /*!< Should be \b true if plugin has about dialog, otherwise returns \b false */ + bool hasSettings = false; /*!< Should be \b true if plugin has settings dialog, otherwise returns \b false */ + bool visibilityControl = false; /*!< Should be \b true if plugin can show/hide main window of the player, + * otherwise returns \b false */ }; /*! @brief %General plugin interface. * @author Ilya Kotov <forkotov02@ya.ru> |
