diff -r 9b022b1f357c -r e0aa398e6810 homescreensrv_plat/contentstorage_api/casoftwareregistry.h --- a/homescreensrv_plat/contentstorage_api/casoftwareregistry.h Tue Jul 06 14:37:10 2010 +0300 +++ b/homescreensrv_plat/contentstorage_api/casoftwareregistry.h Wed Aug 18 10:05:49 2010 +0300 @@ -28,40 +28,53 @@ //FORWARD DECLARATIONS class QStringList; class CaSoftwareRegistryPrivate; +class CaUninstallNotifier; /** * Class provides Usif specific services */ class CACLIENT_EXPORT CaSoftwareRegistry: public QObject { - -Q_OBJECT + +Q_OBJECT explicit CaSoftwareRegistry(QObject *parent = 0); ~CaSoftwareRegistry(); - + public: - + static QSharedPointer create(); - + typedef QHash DetailMap; - + bool getUninstallDetails(int componentId, QString &componentName, QStringList &applicationsUids, QString &confirmationMessage); - + bool getApplicationsUids(int componentId, QStringList &applicationsUids); + + DetailMap entryDetails(int componentId) const; + + QList retrieveLogEntries() const; - DetailMap entryDetails(int componentId) const; - + CaUninstallNotifier *createUninstallNotifier() const; + static QString componentNameKey(); static QString componentVersionKey(); static QString componentVendorKey(); static QString componentDriveInfoKey(); + static QString componentProtectionDomainKey(); static QString componentSizeKey(); static QString componentTypeKey(); + static QString componentDescriptionKey(); + static QString componentTimeKey(); + static QString componentOperationTypeKey(); + static QString componentInstallValue(); + static QString componentUninstallValue(); + static QString componentUpgradeValue(); + static QString componentHiddenValue(); private: /** * Pointer to a private implementation. @@ -77,7 +90,7 @@ friend class QtSharedPointer::ExternalRefCount; Q_DISABLE_COPY(CaSoftwareRegistry) - + }; #endif // CA_SOFTWARE_REGISTRY_H