equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #include "appmngr2packageinfo.h" |
19 #include "appmngr2packageinfo.h" |
20 #include <StringLoader.h> // StringLoader |
20 #include <StringLoader.h> // StringLoader |
21 #include <AknQueryDialog.h> // CAknQueryDialog |
21 #include <AknQueryDialog.h> // CAknQueryDialog |
22 //#include <appmngr2.rsg> // Resource IDs |
22 #include <appmngr2.rsg> // Resource IDs |
23 |
23 |
24 |
24 |
25 // ======== MEMBER FUNCTIONS ======== |
25 // ======== MEMBER FUNCTIONS ======== |
26 |
26 |
27 // --------------------------------------------------------------------------- |
27 // --------------------------------------------------------------------------- |
54 // CAppMngr2PackageInfo::ShowDeleteConfirmationQueryL() |
54 // CAppMngr2PackageInfo::ShowDeleteConfirmationQueryL() |
55 // --------------------------------------------------------------------------- |
55 // --------------------------------------------------------------------------- |
56 // |
56 // |
57 EXPORT_C TBool CAppMngr2PackageInfo::ShowDeleteConfirmationQueryL() |
57 EXPORT_C TBool CAppMngr2PackageInfo::ShowDeleteConfirmationQueryL() |
58 { |
58 { |
59 /* Temporary fix until appmngr2pluginapi is removed |
|
60 |
|
61 HBufC* deleteQuery = StringLoader::LoadLC( R_AM_DELETEQUERY, Name() ); |
59 HBufC* deleteQuery = StringLoader::LoadLC( R_AM_DELETEQUERY, Name() ); |
62 |
60 |
63 CAknQueryDialog* dlg = CAknQueryDialog::NewL( CAknQueryDialog::EConfirmationTone ); |
61 CAknQueryDialog* dlg = CAknQueryDialog::NewL( CAknQueryDialog::EConfirmationTone ); |
64 TBool okToDelete = dlg->ExecuteLD( R_APPMNGR2_YES_NO_CONFIRMATION_QUERY, *deleteQuery ); |
62 TBool okToDelete = dlg->ExecuteLD( R_APPMNGR2_YES_NO_CONFIRMATION_QUERY, *deleteQuery ); |
65 CleanupStack::PopAndDestroy( deleteQuery ); |
63 CleanupStack::PopAndDestroy( deleteQuery ); |
66 |
64 |
67 return okToDelete; |
65 return okToDelete; |
68 */ |
|
69 return ETrue; |
|
70 } |
66 } |
71 |
67 |