dvrengine/CommonRecordingEngineClient/inc/RCRClient.h
branchRCL_3
changeset 47 826cea16efd9
parent 45 798ee5f1972c
child 48 13a33d82ad98
equal deleted inserted replaced
45:798ee5f1972c 47:826cea16efd9
     1 /*
       
     2 * Copyright (c) 2007 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 the License "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:    Interface for RC Client class*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef RCRCLIENT_H
       
    21 #define RCRCLIENT_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 // None
       
    28 
       
    29 // MACROS
       
    30 // None
       
    31 
       
    32 // DATA TYPES
       
    33 // None
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 // None
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *  This is the client-side interface through which communication 
       
    42 *  with the server is channelled.
       
    43 *
       
    44 *  @lib CommonRecordingEngineClient.lib
       
    45 *  @since Series 60 3.0
       
    46 */
       
    47 NONSHARABLE_CLASS( RCRClient ) : public RSessionBase
       
    48     {
       
    49 
       
    50 public: // Constructors and destructor
       
    51 
       
    52     /**
       
    53     * C++ default constructor.
       
    54     * @param none.
       
    55     * @return none.
       
    56     */
       
    57     RCRClient();
       
    58 
       
    59 public: // New methods
       
    60 
       
    61     /**
       
    62     * Connects to the  server.
       
    63     * @since Series 60 3.0
       
    64     * @param none.
       
    65     * @return KErrNone if successful,
       
    66     *         otherwise another of the system-wide error code.
       
    67     */
       
    68     TInt Connect();
       
    69 
       
    70     /**
       
    71     * Closes the session.
       
    72     * @since Series 60 3.0
       
    73     * @param none.
       
    74     * @return None
       
    75     */
       
    76     void Close();
       
    77 
       
    78     /**
       
    79     * Version.
       
    80     * @since Series 60 3.0
       
    81     * @param none.
       
    82     * @return version number.
       
    83     */
       
    84     TVersion Version() const;
       
    85 
       
    86     };
       
    87 
       
    88 #endif // RCRCLIENT_H
       
    89 
       
    90 // End of File