omads/omadsappui/ui/src/NSmlDSSyncAppServer.cpp
branchRCL_3
changeset 52 4f0867e42d62
parent 0 dab8a81a92de
equal deleted inserted replaced
51:8e7494275d3a 52:4f0867e42d62
       
     1 /*
       
     2 * Copyright (c) 2002-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    "NSmlDSSyncAppServer.h"
       
    22 #include    "aspdebug.h"
       
    23 
       
    24 #include    <SyncServiceSession.h>
       
    25 #include    <syncserviceconst.h>
       
    26 
       
    27 
       
    28 
       
    29 // ============================ MEMBER FUNCTIONS ===============================
       
    30 
       
    31 
       
    32 
       
    33 // ------------------------------------------------------------------------------
       
    34 // CNSmlDMSyncAppServer::CNSmlDMSyncAppServer
       
    35 //
       
    36 // ------------------------------------------------------------------------------
       
    37 //
       
    38 CNSmlDSSyncAppServer::CNSmlDSSyncAppServer()   
       
    39 	{
       
    40 	FLOG( _L("CNSmlDSSyncAppServer::CNSmlDSSyncAppServer") );	
       
    41 	}
       
    42 
       
    43 
       
    44 // ------------------------------------------------------------------------------
       
    45 // CNSmlDMSyncAppServer::~CNSmlDMSyncAppServer
       
    46 //
       
    47 // ------------------------------------------------------------------------------
       
    48 //        
       
    49 CNSmlDSSyncAppServer::~CNSmlDSSyncAppServer()
       
    50 	{
       
    51     FLOG( _L("CNSmlDSSyncAppServer::~CNSmlDSSyncAppServer") );
       
    52 	}
       
    53 
       
    54 
       
    55 // ------------------------------------------------------------------------------
       
    56 // CNSmlDMSyncAppServer::CreateServiceL
       
    57 //
       
    58 // ------------------------------------------------------------------------------
       
    59 //
       
    60 CApaAppServiceBase* CNSmlDSSyncAppServer::CreateServiceL( TUid aServiceType ) const
       
    61 	{	
       
    62 	FLOG( _L("CNSmlDSSyncAppServer::CreateServiceL") );
       
    63 	
       
    64 	if (aServiceType == TUid::Uid(KSyncServiceUid))   
       
    65 		{
       
    66 		return new (ELeave) CSyncServiceSession;
       
    67 		}
       
    68 	else
       
    69 		{
       
    70 		return CAknAppServer::CreateServiceL(aServiceType);
       
    71 		}
       
    72 	}
       
    73 
       
    74 
       
    75 // ------------------------------------------------------------------------------
       
    76 // CNSmlDMSyncAppServer::CreateServiceL
       
    77 //
       
    78 // ------------------------------------------------------------------------------
       
    79 //
       
    80 void CNSmlDSSyncAppServer::HandleAllClientsClosed()
       
    81     {
       
    82    	FLOG( _L("CNSmlDMSyncAppServer::HandleAllClientsClosed") );
       
    83         
       
    84     // NOTE: HandleAllClientsClosed needs overriding to avoid RunAppShutter
       
    85     }
       
    86 
       
    87 
       
    88 
       
    89 
       
    90 // End of File