89 Destructor. |
89 Destructor. |
90 */ |
90 */ |
91 CaSoftwareRegistry::~CaSoftwareRegistry() |
91 CaSoftwareRegistry::~CaSoftwareRegistry() |
92 { |
92 { |
93 delete m_d; |
93 delete m_d; |
|
94 } |
|
95 |
|
96 /*! |
|
97 Provides details needed for uninstalling process of Java applications. |
|
98 \code |
|
99 QSharedPointer<CaSoftwareRegistry> service = CaSoftwareRegistry::create(); |
|
100 int componentId(20); |
|
101 QString &componentName, |
|
102 QStringList applicationsUids; |
|
103 QString confirmationMessage; |
|
104 CaSoftwareRegistry::DetailMap detailMap = service->getUninstallDetails( |
|
105 componentId, |
|
106 componentName, |
|
107 applicationsUids, |
|
108 confirmationMessage); |
|
109 \endcode |
|
110 \param[in] componentId component id of an application to be uninstalled. |
|
111 \param[out] componentName a name of the component. |
|
112 \param[out] applicationsUids a list of uids of applications in the package |
|
113 of the given component id. |
|
114 \param[out] confirmationMessage optional deletion confirmation message, |
|
115 null string means the lack of the message. |
|
116 \retval true if there is no error. |
|
117 */ |
|
118 bool CaSoftwareRegistry::getUninstallDetails(int componentId, |
|
119 QString &componentName, |
|
120 QStringList &applicationsUids, |
|
121 QString &confirmationMessage) |
|
122 { |
|
123 return m_d->getUninstallDetails(componentId, |
|
124 componentName, |
|
125 applicationsUids, |
|
126 confirmationMessage); |
|
127 } |
|
128 |
|
129 /*! |
|
130 Provides a list of uids of applications installed by the given package. |
|
131 \param[in] componentId component id of an application to be uninstalled. |
|
132 \param[out] applicationsUids a list of uids of applications in the package |
|
133 of the given component id. |
|
134 \retval true if there is no error. |
|
135 */ |
|
136 |
|
137 bool CaSoftwareRegistry::getApplicationsUids(int componentId, |
|
138 QStringList &applicationsUids) |
|
139 { |
|
140 return m_d->getApplicationsUids(componentId, applicationsUids); |
94 } |
141 } |
95 |
142 |
96 /*! |
143 /*! |
97 The method provides component details from USIF for a given component id. |
144 The method provides component details from USIF for a given component id. |
98 \code |
145 \code |