omadm/omadmappui/inc/NSmlDMSyncAppServer.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     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:  Header file for CNSmlDMSyncAppServer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CNSMLDMSYNCAPPSERVER_H
       
    20 #define CNSMLDMSYNCAPPSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <AknDoc.h>
       
    25 #include <aknapp.h>
       
    26 #include <AknServerApp.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Device Management Aplication Server
       
    32 *
       
    33 */
       
    34 NONSHARABLE_CLASS (CNSmlDMSyncAppServer) :  public CAknAppServer
       
    35 	{
       
    36 		
       
    37     public: //from CAknServerApp
       
    38         /**
       
    39         * CreateServiceL.
       
    40         * @param    aServiceType
       
    41         * @return   CApaAppServiceBase*
       
    42         */
       
    43         CApaAppServiceBase* CreateServiceL( TUid aServiceType ) const;
       
    44         
       
    45         /**
       
    46         * ConstructL.
       
    47         * @param    aFixedServerName Server name
       
    48         * @return   None
       
    49         */        
       
    50         void ConstructL(const TDesC& aFixedServerName);
       
    51 
       
    52         /**
       
    53         * Implementing this prevents framework for closing application
       
    54         * after last client is destroyed.
       
    55         * @param    None
       
    56         * @return   None
       
    57         */               
       
    58         void HandleAllClientsClosed();
       
    59 	};
       
    60 
       
    61 #endif  //CNSMLDMSYNCAPPSERVER_H
       
    62 
       
    63 // End of File