utilities/serviceipcclient/platform/s60/serviceipcsymbiansession.h
changeset 16 3c88a81ff781
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
       
     1 /*
       
     2  * =============================================================================
       
     3  *  Name        : serviceipcsymbiansession.h
       
     4  *  Part of     : Service Framework / Service IPC
       
     5  *  Interface   : 
       
     6  *  Description : Client session class to  server
       
     7  *  Version     : %version: 1 %
       
     8  *
       
     9  *  Copyright © 2008 Nokia. All rights reserved.
       
    10  *  This material, including documentation and any related 
       
    11  *  computer programs, is protected by copyright controlled by 
       
    12  *  Nokia. All rights are reserved. Copying, including 
       
    13  *  reproducing, storing, adapting or translating, any 
       
    14  *  or all of this material requires the prior written consent of 
       
    15  *  Nokia. This material also contains confidential 
       
    16  *  information which may not be disclosed to others without the 
       
    17  *  prior written consent of Nokia.
       
    18  * =============================================================================
       
    19  */
       
    20 
       
    21 #ifndef C_SERVICEIPC_SYMBIANSESSION_H
       
    22 #define C_SERVICEIPC_SYMBIANSESSION_H
       
    23 
       
    24 #include <e32std.h>
       
    25 namespace WRT {
       
    26     
       
    27     class RServiceIPCSession : public RSessionBase
       
    28     {
       
    29     public:
       
    30         TInt Connect(const TDesC& aServer, const TVersion& aVersion);
       
    31     
       
    32         TVersion Version() const;
       
    33     
       
    34         TInt SendReceiveL(TInt aFunction) const;
       
    35     
       
    36         TInt SendReceiveL(TInt aFunction, const TIpcArgs& aArgs) const;
       
    37     
       
    38         void SendReceive(TInt aFunction, TRequestStatus& aStatus) const;
       
    39     
       
    40         void SendReceive(TInt aFunction,
       
    41                          const TIpcArgs& aArgs,
       
    42                          TRequestStatus& aStatus) const;
       
    43     
       
    44         TInt StartServer(const TDesC& aImage);
       
    45     
       
    46     private:
       
    47         TVersion iVersion;
       
    48     };
       
    49 }
       
    50 #endif // C_SERVICEIPC_SYMBIANSESSION_H
       
    51 // End of file