Msrp/MsrpClient/inc/RMSRP.h
branchMSRP_FrameWork
changeset 25 505ad3f0ce5c
equal deleted inserted replaced
22:f1578314b8da 25:505ad3f0ce5c
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 * Contributors:
       
    11 *
       
    12 * Description:
       
    13 * MSRP Implementation
       
    14 *
       
    15 */
       
    16 
       
    17 #ifndef RMSRP_H_
       
    18 #define RMSRP_H_
       
    19 
       
    20 
       
    21 // Include Files
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <e32std.h>
       
    25 
       
    26 // Forward Declarations
       
    27 
       
    28 // Class declaration
       
    29 
       
    30 class RMSRP : public RSessionBase
       
    31     {
       
    32 public:
       
    33     /**
       
    34       * constructor.
       
    35       */
       
    36     RMSRP();
       
    37     
       
    38 public:
       
    39     /**
       
    40       * Opens a Session to MSRP Server
       
    41       * @return Status of the operation
       
    42       */
       
    43     TInt CreateServerSession();
       
    44 
       
    45     /**
       
    46       * The client API version.
       
    47       */
       
    48     TVersion Version() const;
       
    49     
       
    50 private:
       
    51     /**
       
    52       * Starts the MSRP server
       
    53       * @return Status indicating whether server was started
       
    54       */
       
    55     TInt StartServer() const;
       
    56     
       
    57 private:
       
    58     
       
    59     };
       
    60 
       
    61 
       
    62 #endif /* RMSRP_H_ */