diff -r 3785f754ee62 -r 5360b7ddc251 upnpavcontroller/upnpavcontrollerclient/inc/upnpavdeviceobserver.h --- a/upnpavcontroller/upnpavcontrollerclient/inc/upnpavdeviceobserver.h Fri Sep 17 08:31:21 2010 +0300 +++ b/upnpavcontroller/upnpavcontrollerclient/inc/upnpavdeviceobserver.h Mon Nov 01 12:37:49 2010 +0200 @@ -1,79 +1,87 @@ -/* -* 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: main callback interface for AVController client -* -*/ - - - - - - -#ifndef M_UPNPAVDEVICEOBSERVER_H -#define M_UPNPAVDEVICEOBSERVER_H - -// INCLUDES - -// FORWARD DECLARATIONS -class CUpnpAVDevice; - -/** -* Defines the response interface for the device control operations of the -* UPnP AV Controller. -* -* @since Series 60 3.1 -*/ -class MUPnPAVDeviceObserver - { - -public: - - /** - * Notifies that a new UPnP device was discovered. - * - * UPnPAVController releases the memory allocated for aDevice - * after calling the callback method. - * - * @since Series 60 3.1 - * @param aDevice CUpnpDevice object - * @return None - */ - virtual void UPnPDeviceDiscovered( const CUpnpAVDevice& aDevice ) = 0; - - /** - * Notifies that a UPnP device was disappeared. - * - * UPnPAVController releases the memory allocated for aDevice - * after calling the callback method. - * - * @since Series 60 3.1 - * @param aDevice CUpnpDevice object - * @return None - */ - virtual void UPnPDeviceDisappeared( const CUpnpAVDevice& aDevice ) = 0; - - /** - * Notifies that the WLAN connection has been lost. All sessions - * are now usable and must be closed. - * - * @since Series 60 3.1 - * @return None - */ - virtual void WLANConnectionLost() = 0; - - }; - -#endif // M_UPNPAVDEVICEOBSERVER_H - -// End of File +/* +* 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: main callback interface for AVController client +* +*/ + + + + + + +#ifndef M_UPNPAVDEVICEOBSERVER_H +#define M_UPNPAVDEVICEOBSERVER_H + +// INCLUDES + +// FORWARD DECLARATIONS +class CUpnpAVDevice; + +/** +* Defines the response interface for the device control operations of the +* UPnP AV Controller. +* +* @since Series 60 3.1 +*/ +class MUPnPAVDeviceObserver + { + +public: + + /** + * Notifies that a new UPnP device was discovered. + * + * UPnPAVController releases the memory allocated for aDevice + * after calling the callback method. + * + * @since Series 60 3.1 + * @param aDevice CUpnpDevice object + * @return None + */ + virtual void UPnPDeviceDiscovered( const CUpnpAVDevice& aDevice ) = 0; + + /** + * Notifies that a UPnP device was disappeared. + * + * UPnPAVController releases the memory allocated for aDevice + * after calling the callback method. + * + * @since Series 60 3.1 + * @param aDevice CUpnpDevice object + * @return None + */ + virtual void UPnPDeviceDisappeared( const CUpnpAVDevice& aDevice ) = 0; + + /** + * Notifies that the WLAN connection has been lost. All sessions + * are now unusable and must be closed. + * + * @since Series 60 3.1 + * @return None + */ + virtual void WLANConnectionLost() = 0; + + /** + * Notifies that the device icon download has completed and icon is readable by + * MUPnPAVController::GetDeviceIconL(). + * + * @param aDevice CUpnpDevice object + */ + virtual void UPnPDeviceIconDownloaded( const CUpnpAVDevice& /*aDevice*/ ) {} + + }; + +#endif // M_UPNPAVDEVICEOBSERVER_H + +// End of File