diff -r 000000000000 -r 4e91876724a2 photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpcommandobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpcommandobserver.h Thu Dec 17 08:45:44 2009 +0200 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2009 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: UpnpCommand Observer +* +*/ + + + +#ifndef UPNP_COMMAND_OBSERVER_H +#define UPNP_COMMAND_OBSERVER_H + +// CONSTANTS +const TInt KUpnpCommandStatusStartPlayVideo = 6; // video is ready to be played. +/** +* UpnpCommand Observer interface class definition. +* +* @since S60 3.2 +*/ +class MUpnpCommandObserver + { + + public: + + /** + * Indicates that the command has been completed. + * + * If the WLAN connection or the target device is lost, + * KErrDisconnected will be returned. + * + * @since S60 3.2 + * @param aStatusCode (TInt) status code + */ + virtual void CommandComplete( TInt aStatusCode ) = 0; + + }; + +#endif // UPNP_COMMAND_OBSERVER_H + +// End of File