photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpshowcommand.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: Upnp ShowVia command Stub |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __C_GLXUPNPSHOWCOMMAND_H__ |
|
21 #define __C_GLXUPNPSHOWCOMMAND_H__ |
|
22 |
|
23 #ifndef __C_GLXUPNPCOMMAND_H__ |
|
24 #include <upnpcommand.h> |
|
25 #endif |
|
26 |
|
27 #include <upnpcommandobserver.h> |
|
28 class MUpnpCommandObserver; |
|
29 |
|
30 /*Class declaration |
|
31 * The UPNP Framwork Stub |
|
32 */ |
|
33 |
|
34 class CUpnpShowCommand: public CUpnpCommand |
|
35 { |
|
36 public: |
|
37 |
|
38 static TBool IsAvailableL(); |
|
39 |
|
40 static CUpnpShowCommand* NewL( MUpnpCommandObserver* aObserver ); |
|
41 |
|
42 UpnpCommand::TUpnpCommandState State(); |
|
43 |
|
44 void StartShowingL(); |
|
45 |
|
46 void StopShowingL(); |
|
47 |
|
48 void ShowImageL( const TDesC& aFilename ); |
|
49 |
|
50 void ShowVideoL( const TDesC& aFilename ); |
|
51 |
|
52 static void SetUpIsAvailable(TBool aValue); |
|
53 |
|
54 public: |
|
55 |
|
56 static TBool iIsAvailableValue; |
|
57 |
|
58 void SetStatus(UpnpCommand::TUpnpCommandState aCommandState); |
|
59 |
|
60 static UpnpCommand::TUpnpCommandState iUpnpCommandState; |
|
61 |
|
62 }; |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 #endif |