|
1 /* |
|
2 * Copyright (c) 2002 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 the License "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 * Implementation of class CSchemeDialog. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 |
|
23 #include <avkon.hrh> |
|
24 #include <aknappui.h> |
|
25 #include <aknlists.h> |
|
26 #include <eiklbo.h> |
|
27 #include <aknform.h> |
|
28 #include "SchemeDialog.h" |
|
29 #include "Scheme.hrh" |
|
30 |
|
31 // ================= MEMBER FUNCTIONS ======================= |
|
32 |
|
33 // --------------------------------------------------------- |
|
34 // CSchemeDialog::~CSchemeDialog() |
|
35 // --------------------------------------------------------- |
|
36 // |
|
37 CSchemeDialog::~CSchemeDialog() |
|
38 { |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CSchemeDialog::PreLayoutDynInitL() |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 void CSchemeDialog::PreLayoutDynInitL() |
|
46 { |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // CSchemeDialog::OkToExitL() |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 TBool CSchemeDialog::OkToExitL( TInt aButtonId ) |
|
54 { |
|
55 if ( aButtonId == EAknSoftkeyOptions ) |
|
56 { |
|
57 iAvkonAppUi->ProcessCommandL( EAknSoftkeyOptions ); |
|
58 } |
|
59 else if ( aButtonId == EAknSoftkeyBack ) |
|
60 { |
|
61 iAvkonAppUi->ProcessCommandL( EEikCmdExit ); |
|
62 } |
|
63 |
|
64 return EFalse; |
|
65 } |