equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CAM_DEBUG_UTILITIES_H |
|
20 #define CAM_DEBUG_UTILITIES_H |
|
21 |
|
22 #include <aknmessagequerydialog.h> |
|
23 #include "camtest.rsg" |
|
24 |
|
25 |
|
26 class TCamDebugUtilities |
|
27 { |
|
28 public: |
|
29 |
|
30 static void ShowMessageDialogL( const TDesC& aTitle, const TDesC& aMessage ) |
|
31 { |
|
32 TBuf<1> tmp; // CAknMessageQueryDialog needs some initial value |
|
33 CAknMessageQueryDialog* dlg = CAknMessageQueryDialog::NewL( tmp ); |
|
34 dlg->PrepareLC( R_CAM_DEBUG_MESSAGE_DLG ); |
|
35 dlg->QueryHeading()->SetTextL( aTitle ); |
|
36 dlg->SetMessageText( aMessage ); |
|
37 dlg->RunLD(); |
|
38 }; |
|
39 }; |
|
40 |
|
41 #endif |
|