|
1 /* |
|
2 * Copyright (c) 2005-2006 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: The Default Application server class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_DEFAULTAPPSERVER_H |
|
21 #define C_DEFAULTAPPSERVER_H |
|
22 |
|
23 #include <AknServerApp.h> |
|
24 |
|
25 class CDefaultAppApplication; |
|
26 |
|
27 /** |
|
28 * This is the main implemetation of DefaultApp server. |
|
29 * |
|
30 * @since Series 60 v5.0 |
|
31 */ |
|
32 class CDefaultAppServer: public CAknAppServer |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * Symbian OS two-phased constructor |
|
38 * @return |
|
39 */ |
|
40 static CDefaultAppServer* NewL(CDefaultAppApplication *aApp); |
|
41 |
|
42 // from base class CAknAppServer |
|
43 |
|
44 /** |
|
45 * From CAknAppServer |
|
46 * Creates a service for the specified service Uid |
|
47 * |
|
48 * @since S60 v5.0 |
|
49 * @param aServiceType the service type Uid |
|
50 * @return the created service |
|
51 */ |
|
52 CApaAppServiceBase* CreateServiceL(TUid aServiceType) const; |
|
53 |
|
54 private: |
|
55 |
|
56 /** |
|
57 * C++ default constructor. |
|
58 */ |
|
59 CDefaultAppServer(CDefaultAppApplication *aApp); |
|
60 |
|
61 public: |
|
62 /** |
|
63 * pointer to the application. After the client connects, the server side needs to announce the AppUi class, to |
|
64 * continue the construction |
|
65 * Not owned. |
|
66 */ |
|
67 CDefaultAppApplication* iApp; //Not owned |
|
68 }; |
|
69 |
|
70 #endif // C_DEFAULTAPPSERVER_H |
|
71 |
|
72 // End of File |