|
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 #ifndef C_TESTSDKNOTESPROGRESSDIALOG_H |
|
19 #define C_TESTSDKNOTESPROGRESSDIALOG_H |
|
20 |
|
21 // INCLUDES |
|
22 |
|
23 #include <aknprogressdialog.h> |
|
24 |
|
25 /** |
|
26 * CTestSDKNotesProgressDialog test class for CAknProgressDialog protected API. |
|
27 */ |
|
28 class CTestSDKNotesProgressDialog : public CAknProgressDialog, |
|
29 public MProgressDialogCallback |
|
30 { |
|
31 public:// Constructors and destructor |
|
32 |
|
33 /** |
|
34 * C++ default constructor. |
|
35 */ |
|
36 CTestSDKNotesProgressDialog( TInt aFinalValue,TInt anIncrement,TInt anInterval, CEikDialog** aSelfPtr ); |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 ~CTestSDKNotesProgressDialog(); |
|
42 |
|
43 // from class MProgressDialogCallback |
|
44 void DialogDismissedL ( TInt aButtonId ); |
|
45 |
|
46 /** |
|
47 * PreLayoutDynInitL test function for testing the |
|
48 * Test PreLayoutDynInitL function |
|
49 */ |
|
50 void PreLayoutDynInitL(); |
|
51 |
|
52 /** |
|
53 * OkToExitL test function for testing the |
|
54 * Test OkToExitL function |
|
55 */ |
|
56 TBool OkToExitL( TInt aButtonId ); |
|
57 private:// Data |
|
58 /** |
|
59 * CEikDialog Property |
|
60 */ |
|
61 CEikDialog* iDialog; |
|
62 }; |
|
63 |
|
64 #endif /*C_TESTSDKNOTESPROGRESSDIALOG_H*/ |