|
1 /* |
|
2 * Copyright (c) 2002 - 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: Test AknProgressDialog.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include "testsdknotesprogressdialog.h" |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CTestSDKNotesControl::DialogDismissedL |
|
24 // ----------------------------------------------------------------------------- |
|
25 void CTestSDKNotesProgressDialog::DialogDismissedL (TInt /*aButtonId*/ ) |
|
26 { |
|
27 |
|
28 } |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // CTestSDKNotesControl::CTestSDKNotesProgressDialog |
|
32 // ----------------------------------------------------------------------------- |
|
33 CTestSDKNotesProgressDialog::CTestSDKNotesProgressDialog( TInt aFinalValue,TInt anIncrement,TInt anInterval, CEikDialog** aSelfPtr ):CAknProgressDialog( aFinalValue, anIncrement, anInterval, aSelfPtr ) |
|
34 { |
|
35 CAknProgressDialog::SetCallback(this); |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CTestSDKNotesControl::PreLayoutDynInitL |
|
40 // ----------------------------------------------------------------------------- |
|
41 void CTestSDKNotesProgressDialog::PreLayoutDynInitL() |
|
42 { |
|
43 CAknProgressDialog::PreLayoutDynInitL(); |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // CTestSDKNotesControl::~CTestSDKNotesProgressDialog |
|
48 // ----------------------------------------------------------------------------- |
|
49 CTestSDKNotesProgressDialog::~CTestSDKNotesProgressDialog() |
|
50 { |
|
51 delete iDialog; |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // CTestSDKNotesControl::OkToExitL |
|
56 // ----------------------------------------------------------------------------- |
|
57 TBool CTestSDKNotesProgressDialog::OkToExitL( TInt aButtonId ) |
|
58 { |
|
59 return CAknProgressDialog::OkToExitL( aButtonId ); |
|
60 } |