|
1 /* |
|
2 * Copyright (c) 2005 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: Sync app server |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "NSmlDMSyncAppServer.h" |
|
21 #include "NSmlDMSyncDebug.h" |
|
22 |
|
23 #include <SyncServiceSession.h> |
|
24 #include <SyncServiceConst.h> |
|
25 |
|
26 |
|
27 // ------------------------------------------------------------------------------ |
|
28 // CNSmlDMSyncAppServer::CreateServiceL |
|
29 // ------------------------------------------------------------------------------ |
|
30 // |
|
31 CApaAppServiceBase* CNSmlDMSyncAppServer::CreateServiceL( |
|
32 TUid aServiceType ) const |
|
33 { |
|
34 FLOG( "[OMADM] CNSmlDMSyncAppServer::CreateServiceL" ); |
|
35 |
|
36 if ( aServiceType == TUid::Uid( KSyncServiceUid ) ) |
|
37 { |
|
38 return new (ELeave) CSyncServiceSession; |
|
39 } |
|
40 else |
|
41 { |
|
42 return CAknAppServer::CreateServiceL( aServiceType ); |
|
43 } |
|
44 } |
|
45 |
|
46 // ------------------------------------------------------------------------------ |
|
47 // CNSmlDMSyncAppServer::CreateServiceL |
|
48 // ------------------------------------------------------------------------------ |
|
49 // |
|
50 void CNSmlDMSyncAppServer::ConstructL( const TDesC& aFixedServerName ) |
|
51 { |
|
52 FTRACE(RDebug::Print(_L("[OMADM] CNSmlDMSyncAppServer::ConstructL %S"), |
|
53 &aFixedServerName)); |
|
54 |
|
55 CAknAppServer::ConstructL( aFixedServerName ); |
|
56 } |
|
57 |
|
58 // ------------------------------------------------------------------------------ |
|
59 // CNSmlDMSyncAppServer::HandleAllClientsClosed |
|
60 // ------------------------------------------------------------------------------ |
|
61 // |
|
62 void CNSmlDMSyncAppServer::HandleAllClientsClosed() |
|
63 { |
|
64 FLOG( "[OMADM] CNSmlDMSyncAppServer::HandleAllClientsClosed" ); |
|
65 } |
|
66 |
|
67 // End of File |