|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef __SSMTESTAPPRVERROR_H__ |
|
23 #define __SSMTESTAPPRVERROR_H__ |
|
24 |
|
25 |
|
26 const TInt KSsmTestAppRvError = -2012; |
|
27 |
|
28 |
|
29 /** |
|
30 Application class |
|
31 */ |
|
32 #include <eikapp.h> |
|
33 class CTestApplication : public CEikApplication |
|
34 { |
|
35 public: |
|
36 static CApaApplication* NewApplication(); |
|
37 ~CTestApplication(); |
|
38 |
|
39 private: |
|
40 CTestApplication(); |
|
41 |
|
42 // from CApaApplication |
|
43 TUid AppDllUid() const; |
|
44 CApaDocument* CreateDocumentL(); |
|
45 }; |
|
46 |
|
47 /** |
|
48 Document class |
|
49 */ |
|
50 #include <eikdoc.h> |
|
51 class CEikAppUi; |
|
52 class CEikApplication; |
|
53 class CTestDocument : public CEikDocument |
|
54 { |
|
55 public: |
|
56 static CTestDocument* NewL(CEikApplication& aApp); |
|
57 ~CTestDocument(); |
|
58 |
|
59 private: |
|
60 CTestDocument(CEikApplication& aApp); |
|
61 |
|
62 // from CEikDocument |
|
63 CEikAppUi* CreateAppUiL(); |
|
64 }; |
|
65 |
|
66 /** |
|
67 Application UI class, root of all graphical user interface in this application |
|
68 */ |
|
69 #include <eikappui.h> |
|
70 class CTestAppUi : public CEikAppUi |
|
71 { |
|
72 public: |
|
73 CTestAppUi(); |
|
74 ~CTestAppUi(); |
|
75 |
|
76 // from CEikAppUi |
|
77 void ConstructL(); |
|
78 // From CCoeAppUi |
|
79 virtual TBool FrameworkCallsRendezvous() const; |
|
80 }; |
|
81 |
|
82 #endif // __SSMTESTAPPRVERROR_H__ |