upnpavcontroller/upnpavcontrollerserver/inc/upnpavcontrolpointobserver.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
       
     1 /** @file
       
     2 * Copyright (c) 2005-2009 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:  MUpnpAVControlPointObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MUPNPAVCONTROLPOINTOBSERVER_H
       
    21 #define MUPNPAVCONTROLPOINTOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "upnpdevice.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CUpnpAction;
       
    28 class CUpnpHttpMessage;
       
    29 class CUpnpDevice;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  Interface class.
       
    35 *  This class defines a observer interface for AV controlpoint
       
    36 */
       
    37 class MUpnpAVControlPointObserver
       
    38         {
       
    39     public: // New functions
       
    40 
       
    41         /**
       
    42         * Handles an action event that occurred in remote device
       
    43         * @param aAction object that describes the action
       
    44         */
       
    45         virtual void ActionResponseL(CUpnpAction* aAction ) = 0;
       
    46 
       
    47         /**
       
    48         * A service update has been received from network
       
    49         * @param aService the service with its new state
       
    50         */
       
    51         virtual void StateUpdatedL(CUpnpService* aService) = 0;
       
    52 
       
    53         /**
       
    54         * Handles HTTP messages.
       
    55         * @param aMessage Incoming HTTP message.
       
    56         */
       
    57         virtual void HttpResponseL(CUpnpHttpMessage* aMessage) = 0;
       
    58 
       
    59         /**
       
    60         * Handles UPnP device discoveries.
       
    61         * @param aDevice Device that is discovered.
       
    62         */
       
    63         virtual void DeviceDiscoveredL(CUpnpDevice* aDevice) = 0;
       
    64 
       
    65         /**
       
    66         * Handles UPnP device disappears.
       
    67         * @param aDevice Device that disappeared.
       
    68         */
       
    69         virtual void DeviceDisappearedL(CUpnpDevice* aDevice) = 0;
       
    70 
       
    71     };
       
    72 
       
    73 #endif // MUPNPAVCONTROLPOINTOBSERVER_H
       
    74             
       
    75 // End of File