photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpcommand.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 Command State information |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __C_GLXUPNPCOMMAND_H__ |
|
21 #define __C_GLXUPNPCOMMAND_H__ |
|
22 |
|
23 |
|
24 #include <ecom/ecom.h> |
|
25 |
|
26 |
|
27 namespace UpnpCommand |
|
28 { |
|
29 enum TUpnpCommandState |
|
30 { |
|
31 EUndefinedState = 100, |
|
32 EUpnpCommandIdle, // Upnp Fw resources not allocated |
|
33 EUpnpCommandAllocated, // Upnp Fw resources allocated |
|
34 EUpnpCommandExecuting // Upnp command execution ongoing |
|
35 }; |
|
36 } |
|
37 |
|
38 |
|
39 class CUpnpCommand : public CBase |
|
40 { |
|
41 public: |
|
42 static CUpnpCommand* NewL(); |
|
43 |
|
44 virtual UpnpCommand::TUpnpCommandState State() = 0; |
|
45 |
|
46 }; |
|
47 |
|
48 |
|
49 inline CUpnpCommand* CUpnpCommand::NewL() |
|
50 { |
|
51 CUpnpCommand* command = NULL ; |
|
52 return command; |
|
53 } |
|
54 |
|
55 #endif |
|
56 |