homescreenapp/hsapplication/src/hshomescreen.cpp
changeset 71 1db7cc813a4e
parent 63 52b0f64eeb51
child 86 e4f038c420f7
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
   138     
   138     
   139     QServiceManager serviceManager;
   139     QServiceManager serviceManager;
   140     
   140     
   141     QStringList pluginPaths;
   141     QStringList pluginPaths;
   142     
   142     
   143     pluginPaths << "private/20022F35";    
   143     pluginPaths << "private/20022F35";
   144     pluginPaths << "hsresources/plugins";
       
   145 
   144 
   146     QFileInfoList drives = QDir::drives();
   145     QFileInfoList drives = QDir::drives();
   147     foreach(const QString pluginPath, pluginPaths) {
   146     foreach(const QString pluginPath, pluginPaths) {
   148 #ifdef Q_OS_SYMBIAN
   147 #ifdef Q_OS_SYMBIAN
   149         //Check plugin dirs from root of different drives
   148         //Check plugin dirs from root of different drives
   160             registerServicePlugins(pluginPath, serviceManager);
   159             registerServicePlugins(pluginPath, serviceManager);
   161         }
   160         }
   162     }
   161     }
   163     HSTEST_FUNC_EXIT("HS::HsHomeScreen::registerServicePlugins()");
   162     HSTEST_FUNC_EXIT("HS::HsHomeScreen::registerServicePlugins()");
   164 }
   163 }
       
   164 
       
   165 #ifdef COVERAGE_MEASUREMENT 
       
   166 #ifndef Q_OS_SYMBIAN 
       
   167 #pragma CTC SKIP
       
   168 #endif // Q_OS_SYMBIAN
       
   169 #endif //COVERAGE_MEASUREMENT
   165 
   170 
   166 /*!
   171 /*!
   167     Recursively registers service plugins starting from given /a root
   172     Recursively registers service plugins starting from given /a root
   168     directory. All directories containing plugins are added to
   173     directory. All directories containing plugins are added to
   169     application's library paths at the same time.
   174     application's library paths at the same time.
   193             }
   198             }
   194         }
   199         }
   195     }
   200     }
   196     HSTEST_FUNC_EXIT("HS::HsHomeScreen::registerServicePlugins(const QString &)");
   201     HSTEST_FUNC_EXIT("HS::HsHomeScreen::registerServicePlugins(const QString &)");
   197 }
   202 }
       
   203 
       
   204 #ifdef COVERAGE_MEASUREMENT
       
   205 #ifndef Q_OS_SYMBIAN 
       
   206 #pragma CTC ENDSKIP
       
   207 #endif // Q_OS_SYMBIAN
       
   208 #endif //COVERAGE_MEASUREMENT