locationmapnavfw/library/inc/mnserviceclientbase.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  RMnServiceClientBase class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MN_SERVICECLIENTBASE_H
       
    20 #define MN_SERVICECLIENTBASE_H
       
    21 
       
    22 #include <AknServerApp.h>
       
    23 
       
    24 #include "mninternal.h"
       
    25 #include "mnappserviceuids.hrh"
       
    26 
       
    27 /** \internal
       
    28  *  Base class for service implementations
       
    29  */
       
    30 NONSHARABLE_CLASS( RMnServiceClientBase ) : public RAknAppServiceBase
       
    31     {
       
    32     public:
       
    33 
       
    34         /** Connects to new application server */
       
    35         void ConnectL( TUid aProviderUid );
       
    36 
       
    37         /** Connects to new chained application server */
       
    38         void ConnectChainedL( TUid aProviderUid );
       
    39         
       
    40         /** Cancels last async request */
       
    41         void Cancel();
       
    42 
       
    43         /** Closes parent session */
       
    44         void Close();
       
    45         
       
    46     protected:
       
    47         RMnServiceClientBase();
       
    48                 
       
    49         TMnIpcCode      iLastRequest;
       
    50     };
       
    51   
       
    52 #endif // MN_SERVICECLIENTBASE_H
       
    53