homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h
changeset 81 7dd137878ff8
parent 63 52b0f64eeb51
child 86 e4f038c420f7
--- a/homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h	Fri Aug 13 14:38:12 2010 +0300
+++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h	Wed Aug 18 10:33:57 2010 +0300
@@ -39,17 +39,17 @@
 
     // Function declarations
     static HsMenuItemModel *getAllApplicationsModel(
-        HsSortAttribute sortAttribute = DescendingNameHsSortAttribute);
+        Hs::HsSortAttribute sortAttribute = Hs::DescendingNameHsSortAttribute);
     static HsMenuItemModel *getAllCollectionsModel();
     static HsMenuItemModel *getInstalledModel(
-        HsSortAttribute sortAttribute = DescendingNameHsSortAttribute);
+        Hs::HsSortAttribute sortAttribute = Hs::DescendingNameHsSortAttribute);
     static HsMenuItemModel *getCollectionModel(int collectionId,
-            HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute,
-            const QString &collectionType = collectionTypeName());
+            Hs::HsSortAttribute sortAttribute = Hs::LatestOnTopHsSortAttribute,
+            const QString &collectionType = Hs::collectionTypeName);
     static QStringList getCollectionNames();
     static QString getName(int entryId);
     static int executeAction(int entryId, const QString &actionName =
-                                  openActionIdentifier());
+                                  Hs::openActionIdentifier);
     static bool launchTaskSwitcher();
 
     static int createCollection(const QString &name);
@@ -67,7 +67,9 @@
     
     static int collectionIdByType(const QString& collectionType);
 
-    static bool touch(int entryId);
+    static void touch(int entryId);
+    
+    static void touch(const QList<int> &entryIdList);
     
     static int launchSoftwareUpdate();