upnpavcontroller/upnpavcontrollerclient/inc/upnpavsessionbase.h
changeset 0 7f85d04be362
child 38 5360b7ddc251
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 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:      a base class for browsing and rendering sessions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef C_UPNPAVSESSIONBASE_H
       
    24 #define C_UPNPAVSESSIONBASE_H
       
    25 
       
    26 #include <e32std.h>
       
    27 
       
    28 class CUpnpAVDevice;
       
    29 
       
    30 /**
       
    31  *  UPnP Session base
       
    32  *
       
    33  *  @lib upnpavcontrollerclient.lib
       
    34  *  @since S60 v3.1
       
    35  */
       
    36 class MUPnPAVSessionBase
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Returns the device we have a session with
       
    43      *
       
    44      * @since Series 60 3.1     
       
    45      * @return device
       
    46      */
       
    47     virtual const CUpnpAVDevice& Device() const = 0;
       
    48         
       
    49     /**
       
    50      * Reserves local Media Server services.
       
    51      *
       
    52      * @since Series 60 3.1     
       
    53      */
       
    54     virtual void ReserveLocalMSServicesL() = 0; 
       
    55 
       
    56     /**
       
    57      * Cancels reserving of local Media Server services.
       
    58      *
       
    59      * @since Series 60 3.1     
       
    60      */
       
    61     virtual void CancelReserveLocalMSServicesL() = 0; 
       
    62 
       
    63     /**
       
    64      * Releases local Media Server services.
       
    65      *
       
    66      * @since Series 60 3.1     
       
    67      */
       
    68     virtual void ReleaseLocalMSServicesL() = 0; 
       
    69 
       
    70 protected:
       
    71     
       
    72     virtual ~MUPnPAVSessionBase() {};
       
    73     
       
    74     };
       
    75 
       
    76 
       
    77 #endif // C_UPNPAVSESSIONBASE_H