diff -r 000000000000 -r 4e91876724a2 photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpshowcommand.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpshowcommand.h Thu Dec 17 08:45:44 2009 +0200 @@ -0,0 +1,72 @@ +/* +* 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: Upnp ShowVia command Stub +* +*/ + + + +#ifndef __C_GLXUPNPSHOWCOMMAND_H__ +#define __C_GLXUPNPSHOWCOMMAND_H__ + +#ifndef __C_GLXUPNPCOMMAND_H__ +#include +#endif + +#include +class MUpnpCommandObserver; + +/*Class declaration +* The UPNP Framwork Stub +*/ + +class CUpnpShowCommand: public CUpnpCommand +{ +public: + + static TBool IsAvailableL(); + + static CUpnpShowCommand* NewL( MUpnpCommandObserver* aObserver ); + + UpnpCommand::TUpnpCommandState State(); + + void StartShowingL(); + + void StopShowingL(); + + void ShowImageL( const TDesC& aFilename ); + + void ShowVideoL( const TDesC& aFilename ); + + static void SetUpIsAvailable(TBool aValue); + +public: + + static TBool iIsAvailableValue; + + void SetStatus(UpnpCommand::TUpnpCommandState aCommandState); + + static UpnpCommand::TUpnpCommandState iUpnpCommandState; + +}; + + + + + + + + + +#endif