pkiutilities/DeviceToken/Inc/DevTokenClientSession.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 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:   The header file of DevTokenClientSession
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DEVTOKENCLIENTSESSION_H__
       
    21 #define __DEVTOKENCLIENTSESSION_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 #include "DevTokenCliServ.h"
       
    25 
       
    26 /**
       
    27  * Makes SendReceive requests on the filetokens server
       
    28  *
       
    29  *  @lib DevTokenClient.dll
       
    30  *  @since S60 v3.2
       
    31 */
       
    32 class RDevTokenClientSession : public RSessionBase
       
    33     {
       
    34     public:
       
    35     
       
    36         RDevTokenClientSession();
       
    37     
       
    38         static RDevTokenClientSession* ClientSessionL();
       
    39     
       
    40         TInt Connect(EDevTokenEnum aTokenEnum);
       
    41     
       
    42         TInt SendRequest(TDevTokenMessages aRequest, const TIpcArgs& aArgs) const;
       
    43     
       
    44         void SendAsyncRequest(TDevTokenMessages aRequest, const TIpcArgs& aArgs, TRequestStatus* aStatus) const;
       
    45     };
       
    46 
       
    47 #endif  //  __DEVTOKENCLIENTSESSION_H__
       
    48 
       
    49 //EOF
       
    50