PECengine/PluginServer2/ClntInc/PEngPluginClient.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     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:  PEngPluginServer - object factory
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __PENGPLUGINCLIENT_H
       
    19 #define __PENGPLUGINCLIENT_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <E32Std.h>
       
    23 
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  * Plugin Server Factory
       
    32  *
       
    33  * @lib PEngPluginClient2
       
    34  * @since 3.0
       
    35  */
       
    36 
       
    37 class PEngPluginClient2
       
    38     {
       
    39 
       
    40     public:
       
    41 
       
    42         /**
       
    43         * Launch plugin server process
       
    44         *
       
    45         * @since 3.0
       
    46         */
       
    47         IMPORT_C static TInt LaunchPluginServer();
       
    48 
       
    49         /**
       
    50         * Informs the plugin server that a connection
       
    51         * to network has been made.
       
    52         *
       
    53         * @since 3.0
       
    54         */
       
    55         IMPORT_C static TInt OpenFirstSession();
       
    56 
       
    57         /**
       
    58         * Informs the plugin server that the last
       
    59         * connection to network was closed
       
    60         *
       
    61         * @since 3.0
       
    62         */
       
    63         IMPORT_C static TInt CloseLastSession();
       
    64 
       
    65         /**
       
    66         * Shutdown plugin server process
       
    67         *
       
    68         * @since 3.0
       
    69         */
       
    70         IMPORT_C static TInt ShutdownPluginServer();
       
    71 
       
    72     private: // Prohibited constructors and destructor
       
    73 
       
    74         PEngPluginClient2();
       
    75         ~PEngPluginClient2();
       
    76     };
       
    77 
       
    78 #endif // __PENGPLUGINCLIENT_H
       
    79 
       
    80 
       
    81