imagehandlingutilities/thumbnailmanager/plugins/image/traces/thumbnailimagedecoderTraces.h
author Jyri Kokkonen <jyri.kokkonen@nokia.com>
Fri, 10 Sep 2010 14:24:47 +0100
changeset 46 292fa3105576
parent 45 7af3f0a4f708
permissions -rw-r--r--
Revised "traces" to match "Revision: 201033" - final fix for Bug 3676
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46
292fa3105576 Revised "traces" to match "Revision: 201033" - final fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 45
diff changeset
     1
// Created by TraceCompiler 2.2.3
45
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     2
// 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
     3
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     4
#ifndef __THUMBNAILIMAGEDECODERTRACES_H__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     5
#define __THUMBNAILIMAGEDECODERTRACES_H__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     6
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     7
#define KOstTraceComponentID 0x102830ac
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
#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
    10
#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
    11
#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
    12
#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
    13
#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
    14
#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
    15
#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
    16
#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
    17
#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
    18
#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
    19
#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
    20
#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
    21
#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
    22
#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
    23
#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
    24
#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
    25
#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
    26
#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
    27
#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
    28
#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
    29
#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
    30
#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
    31
#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
    32
#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
    33
#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
    34
#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
    35
#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
    36
#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
    37
#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
    38
#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
    39
#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
    40
#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
    41
#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
    42
#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
    43
#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
    44
#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
    45
#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
    46
#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
    47
#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
    48
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    49
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    50
#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
    51
#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
    52
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    53
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
    54
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    55
    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
    56
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    57
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    58
        TUint8 data[ 8 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    59
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    60
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    61
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    62
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    63
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    64
        ptr -= 8;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    65
        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
    66
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    67
    return retval;
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
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    70
#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
    71
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    72
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    73
#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
    74
#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
    75
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    76
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
    77
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    78
    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
    79
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    80
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    81
        TUint8 data[ 8 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    82
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    83
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    84
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    85
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    86
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    87
        ptr -= 8;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    88
        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
    89
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    90
    return retval;
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
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    93
#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
    94
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    95
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
#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
    98
#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
    99
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   100
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
   101
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   102
    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
   103
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   104
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   105
        TUint8 data[ 12 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   106
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   107
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   108
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   109
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   110
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   111
        *( ( TInt* )ptr ) = aParam3;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   112
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   113
        ptr -= 12;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   114
        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
   115
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   116
    return retval;
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
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   119
#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
   120
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   121
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   122
#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
   123
#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
   124
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   125
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
   126
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   127
    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
   128
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   129
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   130
        TUint8 data[ 12 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   131
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   132
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   133
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   134
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   135
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   136
        *( ( TInt* )ptr ) = aParam3;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   137
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   138
        ptr -= 12;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   139
        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
   140
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   141
    return retval;
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
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   144
#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
   145
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   146
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   147
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   148
#endif
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   149
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   150
// End of file
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   151