|
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: Declares document for application |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef SPDIADOCUMENT_H |
|
24 #define SPDIADOCUMENT_H |
|
25 |
|
26 // INCLUDES |
|
27 #include <AknDoc.h> |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CEikAppUi; |
|
31 class CPbkContactEngine; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * CSpdiaDocument |
|
37 * Speeddial document class. Required by the Symbian application framework. |
|
38 * |
|
39 * @since |
|
40 */ |
|
41 class CSpdiaDocument : public CAknDocument |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 /** |
|
45 * Two-phased constructor. |
|
46 */ |
|
47 static CSpdiaDocument* NewL(CEikApplication& aApp); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CSpdiaDocument(); |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 public: // Functions from base classes |
|
57 |
|
58 protected: // New functions |
|
59 |
|
60 protected: // Functions from base classes |
|
61 |
|
62 private: |
|
63 /** |
|
64 * Symbian default constructor. |
|
65 */ |
|
66 CSpdiaDocument(CEikApplication& aApp); |
|
67 void ConstructL(); |
|
68 |
|
69 private: |
|
70 /** |
|
71 * From CEikDocument, create CSpeedDialAppUi "App UI" object. |
|
72 */ |
|
73 CEikAppUi* CreateAppUiL(); |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // SPDIADOCUMENT_H |
|
78 |
|
79 // End of File |
|
80 |