homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
child 51 4785f57bf3d4
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
    40     // Function declarations
    40     // Function declarations
    41     static HsMenuItemModel *getAllApplicationsModel(
    41     static HsMenuItemModel *getAllApplicationsModel(
    42         HsSortAttribute sortAttribute = DescendingNameHsSortAttribute);
    42         HsSortAttribute sortAttribute = DescendingNameHsSortAttribute);
    43     static HsMenuItemModel *getAllCollectionsModel(
    43     static HsMenuItemModel *getAllCollectionsModel(
    44         HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute);
    44         HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute);
       
    45     static HsMenuItemModel *getInstalledModel(
       
    46         HsSortAttribute sortAttribute = DescendingNameHsSortAttribute);
    45     static HsMenuItemModel *getCollectionModel(int collectionId,
    47     static HsMenuItemModel *getCollectionModel(int collectionId,
    46             HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute,
    48             HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute,
    47             const QString &collectionType = collectionTypeName());
    49             const QString &collectionType = collectionTypeName());
    48     static QStringList getCollectionNames();
    50     static QStringList getCollectionNames();
    49     static QString getName(int entryId);
    51     static QString getName(int entryId);
    63     static bool organizeCollection(int groupId, QList<int> &entryIdList);
    65     static bool organizeCollection(int groupId, QList<int> &entryIdList);
    64 
    66 
    65     static int allCollectionsId();
    67     static int allCollectionsId();
    66 
    68 
    67     static bool touch(int entryId);
    69     static bool touch(int entryId);
       
    70     
       
    71     static bool launchSoftwareUpdate();
    68 
    72 
    69 private:
    73 private:
    70     // data
    74     // data
    71 
    75 
    72     static int mAllCollectionsId;
    76     static int mAllCollectionsId;