equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Implementation of server app server. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "ccaappserverapp.h" |
|
20 #include "ccaappservice.h" |
|
21 #include "ccauids.h" |
|
22 |
|
23 // -------------------------------------------------------------------------- |
|
24 // CCAAppServerApp::NewL |
|
25 // -------------------------------------------------------------------------- |
|
26 // |
|
27 CCAAppServerApp* CCAAppServerApp::NewL() |
|
28 { |
|
29 return new ( ELeave ) CCAAppServerApp; |
|
30 } |
|
31 |
|
32 // -------------------------------------------------------------------------- |
|
33 // CCAAppServerApp::CreateServiceL |
|
34 // -------------------------------------------------------------------------- |
|
35 // |
|
36 CApaAppServiceBase* CCAAppServerApp::CreateServiceL( |
|
37 TUid aServiceType ) const |
|
38 { |
|
39 CApaAppServiceBase* result = NULL; |
|
40 |
|
41 if ( aServiceType == TUid::Uid( KCCAClientServiceType ) ) |
|
42 { |
|
43 result = new ( ELeave ) CCAAppService; |
|
44 } |
|
45 else |
|
46 { |
|
47 result = CAknAppServer::CreateServiceL( aServiceType ); |
|
48 } |
|
49 |
|
50 return result; |
|
51 } |
|
52 |
|
53 // end of file |