bearermanagement/mpm/inc/mpmstarter.h
changeset 0 5a93021fdf25
child 32 5c4486441ae6
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2004-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: This header defines starter for MPM server
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19 @file mpmstarter.h
       
    20 Mobility Policy Manager server starter definitions.
       
    21 */
       
    22 
       
    23 #ifndef MPMSTARTER_H
       
    24 #define MPMSTARTER_H
       
    25 
       
    26 //  INCLUDES
       
    27 #include <e32svr.h>
       
    28 class CMPMServer;
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 *  Mobility Policy Manager server starter.
       
    32 *  @lib MPMServer.exe
       
    33 *  @since 3.0
       
    34 */
       
    35 class MPMStarter
       
    36     {
       
    37     public: // New methods
       
    38 
       
    39         /**
       
    40         * Creates and starts server.
       
    41         * @since 3.0
       
    42         * @return Pointer to the server object.
       
    43         */
       
    44         static CServer2* CreateAndStartServerL();
       
    45 
       
    46         /**
       
    47         * Creates and starts server Default connection server.
       
    48         * @since 3.2
       
    49         * @return Pointer to the server object.
       
    50         */
       
    51         static CServer2* CreateDefaultConnServerL( CMPMServer* aMPMServer );
       
    52 
       
    53         /**
       
    54         * Gets server name.
       
    55         * @since 3.0
       
    56         * @return Descriptor of the server name.
       
    57         */
       
    58         static TPtrC ServerName();
       
    59     };
       
    60 
       
    61 #endif // MPMSTARTER_H
       
    62 
       
    63 // End of File