diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-09-13 16:38:23 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-09-13 16:38:23 +0000 |
| commit | 9408303fad1efd3b889f7677dd255b9437276cfc (patch) | |
| tree | 0657a5fd272ab0eb8469626d059e9d1f9f560238 /src/qmmpui/general.h | |
| parent | d0e1f9e4e1e44dbe3372a6cdb621bf0ee9baa668 (diff) | |
| download | qmmp-9408303fad1efd3b889f7677dd255b9437276cfc.tar.gz qmmp-9408303fad1efd3b889f7677dd255b9437276cfc.tar.bz2 qmmp-9408303fad1efd3b889f7677dd255b9437276cfc.zip | |
fixed general plugin api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2351 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/general.h')
| -rw-r--r-- | src/qmmpui/general.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index 6afd75517..502867957 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2010 by Ilya Kotov * + * Copyright (C) 2008-2011 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -25,23 +25,13 @@ #include <QMap> #include "generalfactory.h" -/*! @brief The General class provides the basic functionality for the general plugin objects +/*! @brief The General class provides simple access to general plugins * @author Ilya Kotov <forkotov02@hotmail.ru> */ -class General : public QObject +class General { - Q_OBJECT public: /*! - * Object constructor, - * @param parent Parent object - */ - General(QObject *parent = 0); - /*! - * Destructor - */ - ~General(); - /*! * Prepares general plugins for usage. * @param parent Parent object. */ @@ -72,14 +62,11 @@ public: */ static bool isEnabled(GeneralFactory* factory); - private: - QMap <uint, QString> m_strValues; - QMap <uint, uint> m_numValues; static QList<GeneralFactory*> *m_factories; static QStringList m_files; static void checkFactories(); - static QMap <GeneralFactory*, General*> *m_generals; + static QMap <GeneralFactory*, QObject*> *m_generals; static QObject *m_parent; }; |
