From cfe1ebf0f2d2a0854582893d68ebbf528786a068 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 23 Oct 2011 17:19:18 +0000 Subject: fixed api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2426 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/general.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/general.h') diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index 502867957..95cf76132 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include "generalfactory.h" /*! @brief The General class provides simple access to general plugins @@ -41,9 +41,10 @@ public: */ static QList *factories(); /*! - * Returns a list of the loaded general plugin files. + * Returns plugin file path. + * @param factory General plugin factory. */ - static QStringList files(); + static QString file(GeneralFactory *factory); /*! * Sets whether the general plugin is enabled. * @param factory General plugin factory. @@ -63,10 +64,10 @@ public: static bool isEnabled(GeneralFactory* factory); private: - static QList *m_factories; - static QStringList m_files; static void checkFactories(); - static QMap *m_generals; + static QList *m_factories; + static QHash *m_generals; + static QHash *m_files; static QObject *m_parent; }; -- cgit v1.2.3-13-gbd6f