|
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 "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: Implementation of class CNoteDlgSuppressingSwitch. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "NoteDlgSuppressingSwitch.h" |
|
21 |
|
22 #include <uikon/eiksrvui.h> |
|
23 |
|
24 |
|
25 // ================= MEMBER FUNCTIONS ======================= |
|
26 // |
|
27 // --------------------------------------------------------- |
|
28 // CNoteDlgSuppressingSwitch::CNoteDlgSuppressingSwitch |
|
29 // --------------------------------------------------------- |
|
30 // |
|
31 CNoteDlgSuppressingSwitch::CNoteDlgSuppressingSwitch( CEikDialog** aSelfPtr ) |
|
32 : CAknNoteDialog( aSelfPtr ) |
|
33 { |
|
34 } |
|
35 |
|
36 |
|
37 // --------------------------------------------------------- |
|
38 // CNoteDlgSuppressingSwitch::~CNoteDlgSuppressingSwitch |
|
39 // --------------------------------------------------------- |
|
40 // |
|
41 CNoteDlgSuppressingSwitch::~CNoteDlgSuppressingSwitch() |
|
42 { |
|
43 STATIC_CAST( CEikServAppUi*, |
|
44 CCoeEnv::Static()->AppUi() )->SuppressAppSwitching( EFalse ); |
|
45 } |
|
46 |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // CNoteDlgSuppressingSwitch::PreLayoutDynInitL() |
|
50 // --------------------------------------------------------- |
|
51 // |
|
52 void CNoteDlgSuppressingSwitch::PreLayoutDynInitL() |
|
53 { |
|
54 CAknNoteDialog::PreLayoutDynInitL(); |
|
55 |
|
56 STATIC_CAST( CEikServAppUi*, |
|
57 CCoeEnv::Static()->AppUi() )->SuppressAppSwitching( ETrue ); |
|
58 } |
|
59 |
|
60 |
|
61 // End of File |