13 * |
13 * |
14 * Description: casoftwareregistry_p.h |
14 * Description: casoftwareregistry_p.h |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef CA_SOFTWARE_REGISTRY_PRIVATE_H |
18 #ifndef CASOFTWAREREGISTRY_P_H |
19 #define CA_SOFTWARE_REGISTRY_PRIVATE_H |
19 #define CASOFTWAREREGISTRY_P_H |
20 |
20 |
21 #include <QHash> |
21 #include <QHash> |
22 #include <QString> |
22 #include <QString> |
23 |
23 |
|
24 #include <usif/usifcommon.h> |
|
25 |
|
26 class QStringList; |
24 class CaSoftwareRegistry; |
27 class CaSoftwareRegistry; |
|
28 |
25 namespace Usif |
29 namespace Usif |
26 { |
30 { |
27 class CComponentEntry; |
31 class CComponentEntry; |
28 } |
32 } |
29 |
33 |
35 |
39 |
36 explicit CaSoftwareRegistryPrivate( |
40 explicit CaSoftwareRegistryPrivate( |
37 CaSoftwareRegistry *softwareRegistryPublic); |
41 CaSoftwareRegistry *softwareRegistryPublic); |
38 ~CaSoftwareRegistryPrivate(); |
42 ~CaSoftwareRegistryPrivate(); |
39 |
43 |
|
44 bool getUninstallDetails(int componentId, |
|
45 QString &componentName, |
|
46 QStringList &applicationsUids, |
|
47 QString &confirmationMessage); |
|
48 |
|
49 bool getApplicationsUids(int componentId, |
|
50 QStringList &appUids); |
|
51 |
40 DetailMap entryDetails(int componentId) const; |
52 DetailMap entryDetails(int componentId) const; |
41 |
53 |
42 DetailMap entryDetails( |
54 DetailMap entryDetails( |
43 const Usif::CComponentEntry& entry) const; |
55 const Usif::CComponentEntry& entry) const; |
44 private: |
56 private: |
|
57 void getUninstallDetailsL(int componentId, |
|
58 QString &componentName, |
|
59 QStringList &appUids, |
|
60 QString &confirmationMessage); |
|
61 void getApplicationsUidsL(int componentId, |
|
62 QStringList &appUids); |
|
63 private: |
45 CaSoftwareRegistry *const m_q; |
64 CaSoftwareRegistry *const m_q; |
46 |
65 |
47 }; |
66 }; |
48 |
67 |
49 #endif // CA_SOFTWARE_REGISTRY_PRIVATE_H |
68 #endif // CASOFTWAREREGISTRY_P_H |