|
1 /* |
|
2 * Copyright (c) 2008-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: Interface class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef GLXUPNPRENDERER_H__ |
|
22 #define GLXUPNPRENDERER_H__ |
|
23 |
|
24 #include "glxupnprendererdefs.h" |
|
25 |
|
26 // INCLUDES |
|
27 #include <e32def.h> |
|
28 #include <e32base.h> |
|
29 |
|
30 #include <glxpointer.h> |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Renderer a fully static class, acts as an interface class |
|
36 * |
|
37 * @lib glxupnpcommandhandler.lib |
|
38 */ |
|
39 |
|
40 NONSHARABLE_CLASS( GlxUpnpRenderer ) |
|
41 { |
|
42 |
|
43 public: |
|
44 |
|
45 /** |
|
46 * Show Video Via UPNP |
|
47 */ |
|
48 static void ShowVideoL(); |
|
49 |
|
50 /** |
|
51 * Start Showing the Image/Video |
|
52 */ |
|
53 static void StartShowingL(); |
|
54 |
|
55 /** |
|
56 * Stop Showing the Image/Video |
|
57 */ |
|
58 IMPORT_C static void StopShowingL(); |
|
59 /** |
|
60 * Stop Showing the Image/Video |
|
61 */ |
|
62 static void ShowStopL(); |
|
63 |
|
64 /** |
|
65 * Check the Status of the Renderer |
|
66 * @return the renderer status |
|
67 */ |
|
68 IMPORT_C static NGlxUpnpRenderer::TStatus Status(); |
|
69 /** |
|
70 * Inform the clients that the UPnP State has changed |
|
71 */ |
|
72 static void ChangeCommandStateL(); |
|
73 |
|
74 }; |
|
75 |
|
76 #endif |
|
77 |