1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
141 { |
141 { |
142 _LIT(KNewLine, "\n"); |
142 _LIT(KNewLine, "\n"); |
143 |
143 |
144 TPtr ptr = iBuf->Des(); |
144 TPtr ptr = iBuf->Des(); |
145 |
145 |
146 //TPtrC name = iParam->iNode->Base().Name(); |
146 TPtrC name = iParam->iNode->Base().Name(); |
147 TPtrC description = iParam->iNode->Base().Description(); |
147 TPtrC description = iParam->iNode->Base().Description(); |
148 TIAUpdateVersion version = iParam->iNode->Base().Version(); |
148 TIAUpdateVersion version = iParam->iNode->Base().Version(); |
149 TInt contentSize = iParam->iNode->Base().ContentSizeL(); |
149 TInt contentSize = iParam->iNode->Base().ContentSizeL(); |
150 |
150 |
151 |
151 |
152 /*HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_APP_NAME ); |
152 HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_APP_NAME ); |
153 ptr.Append( KOpeningBoldTag ); |
153 ptr.Append( KOpeningBoldTag ); |
154 ptr.Append( *hBuf ); |
154 ptr.Append( *hBuf ); |
155 ptr.Append( KClosingBoldTag ); |
155 ptr.Append( KClosingBoldTag ); |
156 CleanupStack::PopAndDestroy( hBuf ); |
156 CleanupStack::PopAndDestroy( hBuf ); |
157 |
157 |
158 ptr.Append( KNewLine ); |
158 ptr.Append( KNewLine ); |
159 ptr.Append( name ); |
159 ptr.Append( name ); |
160 ptr.Append( KNewLine ); |
160 ptr.Append( KNewLine ); |
161 ptr.Append( KNewLine );*/ |
161 ptr.Append( KNewLine ); |
162 |
162 |
163 HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_DESCRIPTION ); |
163 hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_DESCRIPTION ); |
164 ptr.Append( KOpeningBoldTag ); |
164 ptr.Append( KOpeningBoldTag ); |
165 ptr.Append( *hBuf ); |
165 ptr.Append( *hBuf ); |
166 ptr.Append( KClosingBoldTag ); |
166 ptr.Append( KClosingBoldTag ); |
167 CleanupStack::PopAndDestroy( hBuf ); |
167 CleanupStack::PopAndDestroy( hBuf ); |
168 |
168 |
209 // ----------------------------------------------------------------------------- |
209 // ----------------------------------------------------------------------------- |
210 TBool CIAUpdateDetailsDialog::ShowDialogL() |
210 TBool CIAUpdateDetailsDialog::ShowDialogL() |
211 { |
211 { |
212 ConstructTextL(); |
212 ConstructTextL(); |
213 |
213 |
214 //HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_TITLE ); |
214 HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_TITLE ); |
215 IAUpdateDialogUtil::ShowMessageQueryL( iParam->iNode->Base().Name(), *iBuf ); |
215 IAUpdateDialogUtil::ShowMessageQueryL( *hBuf, *iBuf ); |
216 //CleanupStack::PopAndDestroy( hBuf ); |
216 CleanupStack::PopAndDestroy( hBuf ); |
217 |
217 |
218 return ETrue; |
218 return ETrue; |
219 } |
219 } |
220 |
220 |
221 |
221 |