author | Jyri Kokkonen <jyri.kokkonen@nokia.com> |
Fri, 10 Sep 2010 13:34:28 +0100 | |
changeset 45 | 7af3f0a4f708 |
child 46 | 292fa3105576 |
permissions | -rw-r--r-- |
45
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
1 |
/* |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
8 |
* |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
11 |
* |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
13 |
* |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
14 |
* Description: Image thumbnail decoder |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
15 |
* |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
16 |
*/ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
17 |
// Created by TraceCompiler 2.3.0 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
18 |
// DO NOT EDIT, CHANGES WILL BE LOST |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
19 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
20 |
#ifndef __THUMBNAILIMAGEDECODERTRACES_H__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
21 |
#define __THUMBNAILIMAGEDECODERTRACES_H__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
22 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
23 |
#define KOstTraceComponentID 0x102830ac |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
24 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
25 |
#define CTHUMBNAILIMAGEDECODER_CREATEL 0x860001 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
26 |
#define DUP1_CTHUMBNAILIMAGEDECODER_CREATEL 0x860002 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
27 |
#define DUP2_CTHUMBNAILIMAGEDECODER_CREATEL 0x860003 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
28 |
#define DUP3_CTHUMBNAILIMAGEDECODER_CREATEL 0x860004 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
29 |
#define CTHUMBNAILIMAGEDECODER_DECODEL 0x860005 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
30 |
#define DUP1_CTHUMBNAILIMAGEDECODER_DECODEL 0x860006 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
31 |
#define DUP2_CTHUMBNAILIMAGEDECODER_DECODEL 0x860007 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
32 |
#define DUP3_CTHUMBNAILIMAGEDECODER_DECODEL 0x860008 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
33 |
#define DUP4_CTHUMBNAILIMAGEDECODER_DECODEL 0x860009 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
34 |
#define DUP5_CTHUMBNAILIMAGEDECODER_DECODEL 0x86000a |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
35 |
#define DUP6_CTHUMBNAILIMAGEDECODER_DECODEL 0x86000b |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
36 |
#define DUP7_CTHUMBNAILIMAGEDECODER_DECODEL 0x86000c |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
37 |
#define DUP8_CTHUMBNAILIMAGEDECODER_DECODEL 0x86000d |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
38 |
#define CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86000e |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
39 |
#define DUP1_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86000f |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
40 |
#define DUP2_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860010 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
41 |
#define DUP3_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860011 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
42 |
#define DUP4_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860012 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
43 |
#define DUP5_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860013 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
44 |
#define DUP6_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860014 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
45 |
#define DUP7_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860015 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
46 |
#define DUP8_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860016 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
47 |
#define DUP9_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860017 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
48 |
#define DUP10_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860018 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
49 |
#define DUP11_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860019 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
50 |
#define DUP12_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001a |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
51 |
#define DUP13_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001b |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
52 |
#define DUP14_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001c |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
53 |
#define DUP15_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001d |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
54 |
#define DUP16_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001e |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
55 |
#define DUP17_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x86001f |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
56 |
#define DUP18_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860020 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
57 |
#define DUP19_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860021 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
58 |
#define DUP20_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860022 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
59 |
#define DUP21_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860023 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
60 |
#define DUP22_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860024 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
61 |
#define DUP23_CTHUMBNAILIMAGEDECODER_CREATEDECODERL 0x860025 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
62 |
#define CTHUMBNAILIMAGEDECODER_CREATEEXIFDECODERL 0x860026 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
63 |
#define DUP1_CTHUMBNAILIMAGEDECODER_CREATEEXIFDECODERL 0x860027 |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
64 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
65 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
66 |
#ifndef __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
67 |
#define __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
68 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
69 |
inline TBool OstTraceGen2( TUint32 aTraceID, TInt aParam1, TInt aParam2 ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
70 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
71 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
72 |
if ( retval ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
73 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
74 |
TUint8 data[ 8 ]; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
75 |
TUint8* ptr = data; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
76 |
*( ( TInt* )ptr ) = aParam1; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
77 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
78 |
*( ( TInt* )ptr ) = aParam2; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
79 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
80 |
ptr -= 8; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
81 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
82 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
83 |
return retval; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
84 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
85 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
86 |
#endif // __OSTTRACEGEN2_TUINT32_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
87 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
88 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
89 |
#ifndef __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
90 |
#define __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
91 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
92 |
inline TBool OstTraceGen2( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2 ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
93 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
94 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
95 |
if ( retval ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
96 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
97 |
TUint8 data[ 8 ]; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
98 |
TUint8* ptr = data; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
99 |
*( ( TInt* )ptr ) = aParam1; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
100 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
101 |
*( ( TInt* )ptr ) = aParam2; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
102 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
103 |
ptr -= 8; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
104 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
105 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
106 |
return retval; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
107 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
108 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
109 |
#endif // __OSTTRACEGEN2_TUINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
110 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
111 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
112 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
113 |
#ifndef __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
114 |
#define __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
115 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
116 |
inline TBool OstTraceGen3( TUint32 aTraceID, TInt aParam1, TInt aParam2, TInt aParam3 ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
117 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
118 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
119 |
if ( retval ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
120 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
121 |
TUint8 data[ 12 ]; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
122 |
TUint8* ptr = data; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
123 |
*( ( TInt* )ptr ) = aParam1; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
124 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
125 |
*( ( TInt* )ptr ) = aParam2; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
126 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
127 |
*( ( TInt* )ptr ) = aParam3; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
128 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
129 |
ptr -= 12; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
130 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
131 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
132 |
return retval; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
133 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
134 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
135 |
#endif // __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
136 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
137 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
138 |
#ifndef __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
139 |
#define __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
140 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
141 |
inline TBool OstTraceGen3( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2, TInt32 aParam3 ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
142 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
143 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
144 |
if ( retval ) |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
145 |
{ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
146 |
TUint8 data[ 12 ]; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
147 |
TUint8* ptr = data; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
148 |
*( ( TInt* )ptr ) = aParam1; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
149 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
150 |
*( ( TInt* )ptr ) = aParam2; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
151 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
152 |
*( ( TInt* )ptr ) = aParam3; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
153 |
ptr += sizeof ( TInt ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
154 |
ptr -= 12; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
155 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 ); |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
156 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
157 |
return retval; |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
158 |
} |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
159 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
160 |
#endif // __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__ |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
161 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
162 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
163 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
164 |
#endif |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
165 |
|
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
166 |
// End of file |
7af3f0a4f708
More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff
changeset
|
167 |