author | Jyri Kokkonen <jyri.kokkonen@nokia.com> |
Wed, 08 Sep 2010 14:23:06 +0100 | |
changeset 44 | 3667bae5fb65 |
child 46 | 292fa3105576 |
permissions | -rw-r--r-- |
44
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
1 |
/* |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
8 |
* |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
11 |
* |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
13 |
* |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
14 |
* Description: Active object for an asynchronous thumbnail request |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
15 |
* |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
16 |
*/ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
17 |
// Created by TraceCompiler 2.3.0 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
18 |
// DO NOT EDIT, CHANGES WILL BE LOST |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
19 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
20 |
#ifndef __THUMBNAILREQUESTACTIVETRACES_H__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
21 |
#define __THUMBNAILREQUESTACTIVETRACES_H__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
22 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
23 |
#define KOstTraceComponentID 0x102830aa |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
24 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
25 |
#define CTHUMBNAILREQUESTACTIVE_CTHUMBNAILREQUESTACTIVE 0x860021 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
26 |
#define CTHUMBNAILREQUESTACTIVE_STARTL 0x860022 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
27 |
#define DUP1_CTHUMBNAILREQUESTACTIVE_STARTL 0x860023 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
28 |
#define DUP2_CTHUMBNAILREQUESTACTIVE_STARTL 0x860024 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
29 |
#define DUP3_CTHUMBNAILREQUESTACTIVE_STARTL 0x860025 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
30 |
#define DUP4_CTHUMBNAILREQUESTACTIVE_STARTL 0x860026 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
31 |
#define DUP5_CTHUMBNAILREQUESTACTIVE_STARTL 0x860027 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
32 |
#define CTHUMBNAILREQUESTACTIVE_RUNL 0x860028 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
33 |
#define DUP1_CTHUMBNAILREQUESTACTIVE_RUNL 0x860029 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
34 |
#define DUP2_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002a |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
35 |
#define DUP3_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002b |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
36 |
#define DUP4_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002c |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
37 |
#define DUP5_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002d |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
38 |
#define DUP6_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002e |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
39 |
#define DUP7_CTHUMBNAILREQUESTACTIVE_RUNL 0x86002f |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
40 |
#define DUP8_CTHUMBNAILREQUESTACTIVE_RUNL 0x860030 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
41 |
#define DUP9_CTHUMBNAILREQUESTACTIVE_RUNL 0x860031 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
42 |
#define DUP10_CTHUMBNAILREQUESTACTIVE_RUNL 0x860032 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
43 |
#define DUP11_CTHUMBNAILREQUESTACTIVE_RUNL 0x860033 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
44 |
#define DUP12_CTHUMBNAILREQUESTACTIVE_RUNL 0x860034 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
45 |
#define DUP13_CTHUMBNAILREQUESTACTIVE_RUNL 0x860035 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
46 |
#define DUP14_CTHUMBNAILREQUESTACTIVE_RUNL 0x860036 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
47 |
#define DUP15_CTHUMBNAILREQUESTACTIVE_RUNL 0x860037 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
48 |
#define DUP16_CTHUMBNAILREQUESTACTIVE_RUNL 0x860038 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
49 |
#define DUP17_CTHUMBNAILREQUESTACTIVE_RUNL 0x860039 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
50 |
#define CTHUMBNAILREQUESTACTIVE_RUNERROR 0x86003a |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
51 |
#define CTHUMBNAILREQUESTACTIVE_DOCANCEL 0x86003b |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
52 |
#define CTHUMBNAILREQUESTACTIVE_ASYNCCANCEL 0x86003c |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
53 |
#define CTHUMBNAILREQUESTACTIVE_RELEASESERVERBITMAP 0x86003d |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
54 |
#define CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x86003e |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
55 |
#define DUP1_CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x86003f |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
56 |
#define DUP2_CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x860040 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
57 |
#define DUP3_CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x860041 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
58 |
#define DUP4_CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x860042 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
59 |
#define DUP5_CTHUMBNAILREQUESTACTIVE_HANDLEERROR 0x860043 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
60 |
#define CTHUMBNAILREQUESTACTIVE_SETTHUMBNAILL 0x860044 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
61 |
#define CTHUMBNAILREQUESTACTIVE_GET2NDPHASETHUMBNAILL 0x860045 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
62 |
#define CTHUMBNAILREQUESTACTIVE_CHANGEPRIORITY 0x860046 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
63 |
#define CTHUMBNAILREQUESTACTIVE_STARTERROR 0x860047 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
64 |
#define CTHUMBNAILREQUESTACTIVE_TIMERCALLBACK 0x860048 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
65 |
#define DUP1_CTHUMBNAILREQUESTACTIVE_TIMERCALLBACK 0x860049 |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
66 |
#define CTHUMBNAILREQUESTACTIVE_ISVIRTUALURI 0x86004a |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
67 |
#define DUP18_CTHUMBNAILREQUESTACTIVE_RUNL 0x86006d |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
68 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
69 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
70 |
#ifndef __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
71 |
#define __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
72 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
73 |
inline TBool OstTraceGen2( TUint32 aTraceID, TInt aParam1, TInt aParam2 ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
74 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
75 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
76 |
if ( retval ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
77 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
78 |
TUint8 data[ 8 ]; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
79 |
TUint8* ptr = data; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
80 |
*( ( TInt* )ptr ) = aParam1; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
81 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
82 |
*( ( TInt* )ptr ) = aParam2; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
83 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
84 |
ptr -= 8; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
85 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
86 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
87 |
return retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
88 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
89 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
90 |
#endif // __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
91 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
92 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
93 |
#ifndef __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
94 |
#define __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
95 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
96 |
inline TBool OstTraceGen2( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2 ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
97 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
98 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
99 |
if ( retval ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
100 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
101 |
TUint8 data[ 8 ]; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
102 |
TUint8* ptr = data; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
103 |
*( ( TInt* )ptr ) = aParam1; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
104 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
105 |
*( ( TInt* )ptr ) = aParam2; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
106 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
107 |
ptr -= 8; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
108 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
109 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
110 |
return retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
111 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
112 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
113 |
#endif // __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
114 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
115 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
116 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
117 |
#ifndef __KERNEL_MODE__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
118 |
#ifndef __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
119 |
#define __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
120 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
121 |
inline TBool OstTraceGen1( TUint32 aTraceID, const TDesC16& aParam1 ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
122 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
123 |
TBool retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
124 |
TInt size = aParam1.Size(); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
125 |
// BTrace assumes that parameter size is atleast 4 bytes |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
126 |
if (size % 4 == 0) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
127 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
128 |
TUint8* ptr = ( TUint8* )aParam1.Ptr(); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
129 |
// Data is written directly and length is determined from trace message length |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
130 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, size ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
131 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
132 |
else |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
133 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
134 |
TUint8 data[ KOstMaxDataLength ]; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
135 |
TUint8* ptr = data; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
136 |
if (size > KOstMaxDataLength) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
137 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
138 |
size = KOstMaxDataLength; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
139 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
140 |
TInt sizeAligned = ( size + 3 ) & ~3; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
141 |
memcpy( ptr, aParam1.Ptr(), size ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
142 |
ptr += size; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
143 |
// Fillers are written to get 32-bit alignment |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
144 |
while ( size++ < sizeAligned ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
145 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
146 |
*ptr++ = 0; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
147 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
148 |
ptr -= sizeAligned; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
149 |
size = sizeAligned; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
150 |
// Data is written directly and length is determined from trace message length |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
151 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, size ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
152 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
153 |
return retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
154 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
155 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
156 |
#endif // __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
157 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
158 |
#endif |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
159 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
160 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
161 |
#ifndef __OSTTRACEGEN2_TUINT32_TUINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
162 |
#define __OSTTRACEGEN2_TUINT32_TUINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
163 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
164 |
inline TBool OstTraceGen2( TUint32 aTraceID, TUint aParam1, TInt aParam2 ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
165 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
166 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
167 |
if ( retval ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
168 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
169 |
TUint8 data[ 8 ]; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
170 |
TUint8* ptr = data; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
171 |
*( ( TUint* )ptr ) = aParam1; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
172 |
ptr += sizeof ( TUint ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
173 |
*( ( TInt* )ptr ) = aParam2; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
174 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
175 |
ptr -= 8; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
176 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
177 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
178 |
return retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
179 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
180 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
181 |
#endif // __OSTTRACEGEN2_TUINT32_TUINT_TINT__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
182 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
183 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
184 |
#ifndef __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
185 |
#define __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
186 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
187 |
inline TBool OstTraceGen2( TUint32 aTraceID, TUint32 aParam1, TInt32 aParam2 ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
188 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
189 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
190 |
if ( retval ) |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
191 |
{ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
192 |
TUint8 data[ 8 ]; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
193 |
TUint8* ptr = data; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
194 |
*( ( TUint* )ptr ) = aParam1; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
195 |
ptr += sizeof ( TUint ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
196 |
*( ( TInt* )ptr ) = aParam2; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
197 |
ptr += sizeof ( TInt ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
198 |
ptr -= 8; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
199 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
200 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
201 |
return retval; |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
202 |
} |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
203 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
204 |
#endif // __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__ |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
205 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
206 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
207 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
208 |
#endif |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
209 |
|
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
210 |
// End of file |
3667bae5fb65
Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
211 |