imagehandlingutilities/thumbnailmanager/thumbnailserver/traces/thumbnailserversessionTraces.h
author Jyri Kokkonen <jyri.kokkonen@nokia.com>
Fri, 10 Sep 2010 14:24:47 +0100
changeset 53 41b64ea195fa
parent 51 3baa1be38e89
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:
53
41b64ea195fa Revised "traces" to match "Revision: 201033" - final fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
     1
// Created by TraceCompiler 2.2.3
51
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     2
// DO NOT EDIT, CHANGES WILL BE LOST
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     4
#ifndef __THUMBNAILSERVERSESSIONTRACES_H__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     5
#define __THUMBNAILSERVERSESSIONTRACES_H__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     7
#define KOstTraceComponentID 0x102830ab
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     9
#define CTHUMBNAILSERVERSESSION_CREATEL 0x8600b0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    10
#define CTHUMBNAILSERVERSESSION_SERVICEL 0x8600b1
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    11
#define DUP1_CTHUMBNAILSERVERSESSION_SERVICEL 0x8600b2
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    12
#define DUP2_CTHUMBNAILSERVERSESSION_SERVICEL 0x8600b3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    13
#define DUP3_CTHUMBNAILSERVERSESSION_SERVICEL 0x8600b4
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    14
#define CTHUMBNAILSERVERSESSION_UPDATETHUMBNAILSL 0x8600b5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    15
#define DUP1_CTHUMBNAILSERVERSESSION_UPDATETHUMBNAILSL 0x8600b6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    16
#define DUP2_CTHUMBNAILSERVERSESSION_UPDATETHUMBNAILSL 0x8600b7
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    17
#define DUP3_CTHUMBNAILSERVERSESSION_UPDATETHUMBNAILSL 0x8600b8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    18
#define DUP4_CTHUMBNAILSERVERSESSION_UPDATETHUMBNAILSL 0x8600b9
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    19
#define CTHUMBNAILSERVERSESSION_RENAMETHUMBNAILSL 0x8600ba
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    20
#define CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYIDASYNCL 0x8600bb
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    21
#define DUP1_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYIDASYNCL 0x8600bc
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    22
#define DUP2_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYIDASYNCL 0x8600bd
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    23
#define CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600be
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    24
#define DUP1_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600bf
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    25
#define DUP2_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    26
#define DUP4_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c1
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    27
#define DUP3_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c2
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    28
#define DUP5_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    29
#define DUP6_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c4
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    30
#define DUP7_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    31
#define DUP8_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    32
#define DUP9_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYFILEHANDLEASYNCL 0x8600c7
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    33
#define CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600c8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    34
#define DUP1_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600c9
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    35
#define DUP2_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600ca
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    36
#define DUP3_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600cb
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    37
#define DUP4_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600cc
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    38
#define DUP5_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600cd
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    39
#define DUP6_CTHUMBNAILSERVERSESSION_REQUESTTHUMBBYPATHASYNCL 0x8600ce
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    40
#define CTHUMBNAILSERVERSESSION_REQUESTSETTHUMBNAILBYBUFFERL 0x8600cf
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    41
#define DUP1_CTHUMBNAILSERVERSESSION_REQUESTSETTHUMBNAILBYBUFFERL 0x8600d0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    42
#define CTHUMBNAILSERVERSESSION_REQUESTSETTHUMBNAILBYBITMAPL 0x8600d1
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    43
#define DUP1_CTHUMBNAILSERVERSESSION_REQUESTSETTHUMBNAILBYBITMAPL 0x8600d2
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    44
#define DUP2_CTHUMBNAILSERVERSESSION_REQUESTSETTHUMBNAILBYBITMAPL 0x8600d3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    45
#define CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMFILEHANDLEL 0x8600d4
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    46
#define DUP1_CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMFILEHANDLEL 0x8600d5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    47
#define CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMBUFFERL 0x8600d6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    48
#define DUP1_CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMBUFFERL 0x8600d7
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    49
#define DUP2_CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMBUFFERL 0x8600d8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    50
#define DUP3_CTHUMBNAILSERVERSESSION_CREATEGENERATETASKFROMBUFFERL 0x8600d9
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    51
#define CTHUMBNAILSERVERSESSION_FETCHTHUMBNAILL 0x8600da
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    52
#define DUP1_CTHUMBNAILSERVERSESSION_FETCHTHUMBNAILL 0x8600db
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    53
#define DUP2_CTHUMBNAILSERVERSESSION_FETCHTHUMBNAILL 0x8600dc
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    54
#define CTHUMBNAILSERVERSESSION_PROCESSBITMAPL 0x8600dd
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    55
#define DUP1_CTHUMBNAILSERVERSESSION_PROCESSBITMAPL 0x8600de
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    56
#define CTHUMBNAILSERVERSESSION_RELEASEBITMAP 0x8600df
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    57
#define CTHUMBNAILSERVERSESSION_CANCELREQUEST 0x8600e0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    58
#define DUP1_CTHUMBNAILSERVERSESSION_CANCELREQUEST 0x8600e1
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    59
#define DUP2_CTHUMBNAILSERVERSESSION_CANCELREQUEST 0x8600e2
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    60
#define CTHUMBNAILSERVERSESSION_CHANGEPRIORITY 0x8600e3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    61
#define DUP1_CTHUMBNAILSERVERSESSION_CHANGEPRIORITY 0x8600e4
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    62
#define DUP2_CTHUMBNAILSERVERSESSION_CHANGEPRIORITY 0x8600e5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    63
#define CTHUMBNAILSERVERSESSION_DELETETHUMBNAILSL 0x8600e6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    64
#define CTHUMBNAILSERVERSESSION_DELETETHUMBNAILSBYIDL 0x8600e7
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    65
#define CTHUMBNAILSERVERSESSION_GETMIMETYPELISTL 0x8600e8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    66
#define CTHUMBNAILSERVERSESSION_RESOLVEMIMETYPEL 0x8600e9
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    67
#define DUP1_CTHUMBNAILSERVERSESSION_RESOLVEMIMETYPEL 0x8600ea
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    68
#define CTHUMBNAILSERVERSESSION_CONVERTSQLERRTOE32ERR 0x8600eb
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    69
#define CTHUMBNAILSERVERSESSION_CLIENTTHREADALIVE 0x8600ec
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    70
#define DUP1_CTHUMBNAILSERVERSESSION_CLIENTTHREADALIVE 0x8600ed
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    71
#define DUP2_CTHUMBNAILSERVERSESSION_CLIENTTHREADALIVE 0x8600ee
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    72
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    73
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    74
#ifndef __KERNEL_MODE__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    75
#ifndef __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    76
#define __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    77
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    78
inline TBool OstTraceGen1( TUint32 aTraceID, const TDesC16& aParam1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    79
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    80
    TBool retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    81
    TInt size = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    82
    // BTrace assumes that parameter size is atleast 4 bytes
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    83
    if (size % 4 == 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    84
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    85
        TUint8* ptr = ( TUint8* )aParam1.Ptr();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    86
        // Data is written directly and length is determined from trace message length
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    87
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, size );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    88
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    89
    else
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    90
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    91
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    92
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    93
        if (size > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    94
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    95
            size = KOstMaxDataLength;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    96
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    97
        TInt sizeAligned = ( size + 3 ) & ~3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    98
        memcpy( ptr, aParam1.Ptr(), size );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    99
        ptr += size;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   100
        // Fillers are written to get 32-bit alignment
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   101
        while ( size++ < sizeAligned )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   102
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   103
            *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   104
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   105
        ptr -= sizeAligned;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   106
        size = sizeAligned;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   107
        // Data is written directly and length is determined from trace message length
3baa1be38e89 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, size );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   109
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   110
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   111
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   112
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   113
#endif // __OSTTRACEGEN1_TUINT32_CONST_TDESC16REF__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   114
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   115
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   116
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   117
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   118
#ifndef __OSTTRACEGEN3_TUINT32_TINT_TINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   119
#define __OSTTRACEGEN3_TUINT32_TINT_TINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   120
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   121
inline TBool OstTraceGen3( TUint32 aTraceID, TInt aParam1, TInt aParam2, TUint aParam3 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   122
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   123
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   124
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   125
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   126
        TUint8 data[ 12 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   127
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   128
        *( ( TInt* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   129
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   130
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   131
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   132
        *( ( TUint* )ptr ) = aParam3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   133
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   134
        ptr -= 12;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   135
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   136
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   137
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   138
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   139
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   140
#endif // __OSTTRACEGEN3_TUINT32_TINT_TINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   141
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   142
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   143
#ifndef __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   144
#define __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   145
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   146
inline TBool OstTraceGen3( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2, TUint32 aParam3 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   147
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   148
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   149
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   150
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   151
        TUint8 data[ 12 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   152
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   153
        *( ( TInt* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   154
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   155
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   156
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   157
        *( ( TUint* )ptr ) = aParam3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   158
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   159
        ptr -= 12;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   160
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   161
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   162
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   163
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   164
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   165
#endif // __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   166
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   167
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   168
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   169
#ifndef __OSTTRACEGEN2_TUINT32_TUINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   170
#define __OSTTRACEGEN2_TUINT32_TUINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   171
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   172
inline TBool OstTraceGen2( TUint32 aTraceID, TUint aParam1, TInt aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   173
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   174
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   175
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   176
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   177
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   178
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   179
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   180
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   181
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   182
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   183
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   184
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   185
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   186
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   187
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   188
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   189
#endif // __OSTTRACEGEN2_TUINT32_TUINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   190
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   191
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   192
#ifndef __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   193
#define __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   194
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   195
inline TBool OstTraceGen2( TUint32 aTraceID, TUint32 aParam1, TInt32 aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   196
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   197
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   198
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   199
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   200
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   201
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   202
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   203
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   204
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   205
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   206
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   207
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   208
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   209
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   210
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   211
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   212
#endif // __OSTTRACEGEN2_TUINT32_TUINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   213
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   214
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   215
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   216
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   217
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   218
// End of file
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   219