contentstorage/casoftwareregistry/stub/src/casoftwareregistry_p.cpp
changeset 103 b99b84bcd2d1
parent 80 397d00875918
child 102 8b8b34fa9751
child 109 e0aa398e6810
--- a/contentstorage/casoftwareregistry/stub/src/casoftwareregistry_p.cpp	Fri Jun 11 13:58:37 2010 +0300
+++ b/contentstorage/casoftwareregistry/stub/src/casoftwareregistry_p.cpp	Wed Jun 23 18:33:40 2010 +0300
@@ -16,7 +16,7 @@
  */
 #include <QtGlobal>
 #include <QMetaType>
-#include <QString>
+#include <QStringList>
 
 
 #include "casoftwareregistry.h"
@@ -39,6 +39,45 @@
 {
 }
 
+/*!
+ Provides details needed for uninstalling process of Java applications
+ (windows stub).
+ \param[in] componentId component id of an application to be uninstalled.
+ \param[out] componentName a name of the component.
+ \param[out] applicationsUids a list of uids of applications in the package
+      of the given component id.
+ \param[out] confirmationMessage optional deletion confirmation message,
+      null string means the lack of the message.
+ \retval true if there is no error.
+ */
+bool CaSoftwareRegistryPrivate::getUninstallDetails(int componentId,
+    QString &componentName,
+    QStringList &applicationsUids,
+    QString &confirmationMessage)
+{
+    Q_UNUSED(componentId);
+    componentName.clear();
+    applicationsUids.clear();
+    confirmationMessage.clear();
+    return true;
+}
+
+/*!
+ Provides a list of uids of applications installed by the given package
+ (windows stub).
+ \param[in] componentId component id of an application to be uninstalled.
+ \param[out] applicationsUids a list of uids of applications in the package
+      of the given component id.
+ \retval true if there is no error.
+ */
+bool CaSoftwareRegistryPrivate::getApplicationsUids(int componentId,
+    QStringList &applicationsUids)
+{
+    Q_UNUSED(componentId);
+    applicationsUids.clear();
+    return true;
+}
+
 /*
  Stub for windows development.
  \param Component id.