--- a/src/hbcore/devicedialogbase/devicedialogserver/hbdevicedialogpluginmanager_p.h Mon May 03 12:48:33 2010 +0300
+++ b/src/hbcore/devicedialogbase/devicedialogserver/hbdevicedialogpluginmanager_p.h Fri May 14 16:09:54 2010 +0300
@@ -67,6 +67,10 @@
bool unloadPlugin(const QString &deviceDialogType);
const HbDeviceDialogPlugin &plugin(const QString &deviceDialogType);
+ static QStringList pluginPathList(const QString &subDir, int &readOnlyPaths);
+ static QString pluginFileNameFilter();
+ static int trimPluginPathList(QStringList &pathList);
+
private: // types
struct PluginInfo {
enum Flag {
@@ -97,9 +101,7 @@
int findPlugin(const QString &deviceDialogType) const;
void freeRecycleWidgets();
- void updateCachePath(const QString &path);
- static QStringList pluginPathList();
- static QString pluginFileNameFilter();
+ void updateCachePath(const QString &path, bool updateReadOnly = false);
static QStringList pluginKeys(QObject *pluginInstance);
private slots:
@@ -114,6 +116,7 @@
bool mAllWidgetsDeleted;
QTimer mDeleteTimer; // timer used to delete widgets
HbPluginNameCache mNameCache;
+ QStringList mPluginPathList;
};
#endif // HBDEVICEDIALOGPLUGINMANAGER_P_H