upnpmpxplugins/upnpplaybackplugins/inc/upnprendererselectorobserver.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2008 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:      Observer interface used in CUPnPSingleton
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef M_UPNPRENDERERSELECTOROBSERVER_H
       
    24 #define M_UPNPRENDERERSELECTOROBSERVER_H
       
    25 
       
    26 /**
       
    27  * Observer interface for receiving a notification when the renderer 
       
    28  * list has changed
       
    29  *
       
    30  * @lib upnpmusicplugins.lib
       
    31  * @since S60 v3.1
       
    32  */
       
    33 class MUPnPRendererSelectorObserver
       
    34     {
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Notification for the sub player list is available
       
    40      *
       
    41      * @since Series 60 3.1
       
    42      * @param aSubPlayers a list of sub players
       
    43      * @param aComplete ETrue no more sub players. EFalse more subplayer 
       
    44      *                  expected
       
    45      * @param aError Error code
       
    46      */
       
    47      virtual void HandleSubPlayerNames( const MDesCArray* aSubPlayers,
       
    48          TBool aComplete, TInt aError ) = 0;
       
    49         
       
    50     /**
       
    51      * Notification for the sub player list has changed
       
    52      *
       
    53      * @since Series 60 3.1
       
    54      */
       
    55      virtual void RendererListChanged() = 0;
       
    56      
       
    57     };
       
    58 
       
    59 
       
    60 #endif // M_UPNPRENDERERSELECTOROBSERVER_H