|
1 /* |
|
2 * Copyright (c) 2004 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: Blank dialog for Video Telephone application. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CVTUIBLANKDIALOG_H |
|
21 #define CVTUIBLANKDIALOG_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <eikdialg.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Blank dialog for Video Telephone application. |
|
30 * |
|
31 * @since Series 60 2.6 |
|
32 */ |
|
33 class CVtUiBlankDialog |
|
34 : public CEikDialog |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Constructor. |
|
40 * |
|
41 * @param aSelfPtr optional pointer to itself. |
|
42 */ |
|
43 CVtUiBlankDialog( CEikDialog** aSelfPtr ); |
|
44 |
|
45 /** |
|
46 * Destructor. If a pointer was passed in constructor, |
|
47 * it will be cleared here. |
|
48 */ |
|
49 ~CVtUiBlankDialog(); |
|
50 |
|
51 public: // New functions |
|
52 |
|
53 /** |
|
54 * Executes blank dialog, no wait flag set. |
|
55 */ |
|
56 void ExecuteDialogNoWaitLD(); |
|
57 |
|
58 /** |
|
59 * Executes blank dialog. |
|
60 * @param aRequest request status, optional. |
|
61 */ |
|
62 void ExecuteDialogLD( |
|
63 TRequestStatus* aRequest ); |
|
64 |
|
65 protected: // New functions |
|
66 |
|
67 /** |
|
68 * Completes dialog with error. |
|
69 * Note: this method will delete the dialog. |
|
70 * @param aError error code. |
|
71 */ |
|
72 void Complete( const TInt aError ); |
|
73 |
|
74 protected: // Functions from base classes |
|
75 |
|
76 /** |
|
77 * @see CEikDialog::PreLayoutDynInitL. |
|
78 */ |
|
79 void PreLayoutDynInitL(); |
|
80 |
|
81 /** |
|
82 * @see CEikDialog::PostLayoutDynInitL. |
|
83 */ |
|
84 void PostLayoutDynInitL(); |
|
85 |
|
86 /** |
|
87 * @see CEikDialog::OkToExitL. |
|
88 */ |
|
89 TBool OkToExitL( TInt aButtonId ); |
|
90 |
|
91 /** |
|
92 * @see CEikDialog::Draw. |
|
93 */ |
|
94 void Draw( const TRect& aRect ) const; |
|
95 |
|
96 private: |
|
97 |
|
98 // Pointer to itself. |
|
99 CEikDialog** iSelfPtr; |
|
100 |
|
101 // Error code. |
|
102 TInt* iError; |
|
103 |
|
104 // Request status. |
|
105 TRequestStatus* iRequest; |
|
106 }; |
|
107 |
|
108 #endif // CVTUIBLANKDIALOG_H |
|
109 |
|
110 // End of File |