src/hbcore/devicedialogbase/devicedialogserver/hbdevicedialogpluginmanager_p.h
changeset 2 06ff229162e9
parent 0 16d8024aca5e
child 7 923ff622b8b9
--- 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