|
1 /* |
|
2 * Copyright (c) 2005-2009 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 the License "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikappui.h> |
|
20 #include <eikapp.h> |
|
21 #include <eikdoc.h> |
|
22 #include <coecntrl.h> |
|
23 #include <e32base.h> |
|
24 #include <eikstart.h> |
|
25 #include <viewcli.h> |
|
26 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
27 #include <viewclipartner.h> |
|
28 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
|
29 #include <s32file.h> |
|
30 |
|
31 /** |
|
32 * Main application UI class. |
|
33 */ |
|
34 |
|
35 class CMimeAppUi : public CEikAppUi |
|
36 { |
|
37 |
|
38 public: |
|
39 CMimeAppUi(); |
|
40 ~CMimeAppUi(); |
|
41 void ConstructL(); |
|
42 void DoExitL(); |
|
43 |
|
44 TBool ProcessCommandParametersL(TApaCommand aCommand, |
|
45 TFileName& aDocumentName,const TDesC8& /*aTail*/); |
|
46 TBool ProcessCommandParametersL(CApaCommandLine& aCommandLine); |
|
47 }; |
|
48 |
|
49 |
|
50 // =========================================================================== |
|
51 // CMimeDocument |
|
52 // =========================================================================== |
|
53 |
|
54 class CMimeApplication; |
|
55 |
|
56 class CMimeDocument : public CEikDocument |
|
57 /** |
|
58 * Main application document |
|
59 */ |
|
60 { |
|
61 public: // from CEikDocument |
|
62 CMimeDocument(CMimeApplication& aApp); |
|
63 CEikAppUi* CreateAppUiL(); |
|
64 }; |
|
65 |
|
66 |
|
67 // =========================================================================== |
|
68 // CMimeApplication |
|
69 // =========================================================================== |
|
70 |
|
71 class CMimeApplication : public CEikApplication |
|
72 /** |
|
73 * Main application class |
|
74 */ |
|
75 { |
|
76 private: // from CApaApplication |
|
77 TUid AppDllUid() const; |
|
78 CApaDocument* CreateDocumentL(); |
|
79 }; |
|
80 |