upnpavcontroller/upnpavcontrollerclient/inc/upnpavsessionbase.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:52:00 +0200
changeset 0 7f85d04be362
child 38 5360b7ddc251
permissions -rw-r--r--
Revision: 200947 Kit: 200951

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:      a base class for browsing and rendering sessions
*
*/






#ifndef C_UPNPAVSESSIONBASE_H
#define C_UPNPAVSESSIONBASE_H

#include <e32std.h>

class CUpnpAVDevice;

/**
 *  UPnP Session base
 *
 *  @lib upnpavcontrollerclient.lib
 *  @since S60 v3.1
 */
class MUPnPAVSessionBase
    {

public:

    /**
     * Returns the device we have a session with
     *
     * @since Series 60 3.1     
     * @return device
     */
    virtual const CUpnpAVDevice& Device() const = 0;
        
    /**
     * Reserves local Media Server services.
     *
     * @since Series 60 3.1     
     */
    virtual void ReserveLocalMSServicesL() = 0; 

    /**
     * Cancels reserving of local Media Server services.
     *
     * @since Series 60 3.1     
     */
    virtual void CancelReserveLocalMSServicesL() = 0; 

    /**
     * Releases local Media Server services.
     *
     * @since Series 60 3.1     
     */
    virtual void ReleaseLocalMSServicesL() = 0; 

protected:
    
    virtual ~MUPnPAVSessionBase() {};
    
    };


#endif // C_UPNPAVSESSIONBASE_H