upnpavcontrolpoint/avcpengineclient/inc/upnpavcpengineclient.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /** @file
       
     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:  RUpnpAVCPEngineClient
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_RUPNPAVCPENGINECLIENT_H
       
    20 #define C_RUPNPAVCPENGINECLIENT_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <in_sock.h>
       
    25 #include "upnpavcpenginecommon.h"
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29 * Generic class for client-interface. 
       
    30 * It enables to connect to server and starts server if it is not started.
       
    31 */
       
    32 class RUpnpAVCPEngineClient : public RSessionBase
       
    33 	{
       
    34 	public:
       
    35 		/**
       
    36 		* C++ default constructor.
       
    37 		*/	
       
    38 		RUpnpAVCPEngineClient();
       
    39 		/**
       
    40 		* Connect to server, if server is not started, it starts.
       
    41 		* 
       
    42 		* @return status of operation, if OK, KErrNone
       
    43 		*/
       
    44 		IMPORT_C virtual TInt Connect();
       
    45 		/**
       
    46 		* Return version of client, used for connect
       
    47 		*
       
    48 		* @return version
       
    49 		*/
       
    50 		TVersion Version() const;		
       
    51 	};
       
    52 
       
    53 #endif // C_RUPNPAVCPENGINECLIENT_H
       
    54 
       
    55 // End of File