|
1 /* |
|
2 * Copyright (c) 2007,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: upnprenderingstatemachine trace helper functions |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_UPNPRETRACES_H |
|
19 #define C_UPNPRETRACES_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // FUNCTIONS |
|
29 |
|
30 |
|
31 /** |
|
32 * Name of a state, for logging purposes |
|
33 * @param aState: see Upnp::TState |
|
34 * @return 16-bit zero-terminated string. Use %s in descriptor format. |
|
35 */ |
|
36 const TUint16* StateName( TInt aState ); |
|
37 |
|
38 /** |
|
39 * Name of a command, for logging purposes |
|
40 * @param aCommand: see Upnp::TCommand |
|
41 * @return 16-bit zero-terminated string. Use %s in descriptor format. |
|
42 */ |
|
43 const TUint16* CommandName( TInt aCommand ); |
|
44 |
|
45 /** |
|
46 * Name of a property, for logging purposes |
|
47 * @param aProperty: see Upnp::TProperty |
|
48 * @return 16-bit zero-terminated string. Use %s in descriptor format. |
|
49 */ |
|
50 const TUint16* PropertyName( TInt aProperty ); |
|
51 |
|
52 /** |
|
53 * Name of a interact operation, for logging purposes |
|
54 * @param aInteractOperation: see TUPnPAVInteractOperation |
|
55 * @return 16-bit zero-terminated string. Use %s in descriptor format. |
|
56 */ |
|
57 const TUint16* InteractOperationName( TInt aInteractOperation ); |
|
58 |
|
59 #endif // C_UPNPRETRACES_H |
|
60 |