imagehandlingutilities/thumbnailmanager/thumbagdaemon/traces/thumbagimageobserverTraces.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 __THUMBAGIMAGEOBSERVERTRACES_H__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     5
#define __THUMBAGIMAGEOBSERVERTRACES_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 0x2001fd51
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 CTHUMBAGIMAGEOBSERVER_NEWLC 0x810064
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    10
#define CTHUMBAGIMAGEOBSERVER_NEWL 0x810065
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    11
#define CTHUMBAGIMAGEOBSERVER_CONSTRUCTL 0x810066
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    12
#define DUP1_CTHUMBAGIMAGEOBSERVER_CONSTRUCTL 0x810067
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    13
#define CTHUMBAGIMAGEOBSERVER_INITIALIZEL 0x810068
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    14
#define DUP1_CTHUMBAGIMAGEOBSERVER_INITIALIZEL 0x810069
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    15
#define DUP2_CTHUMBAGIMAGEOBSERVER_INITIALIZEL 0x81006a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    16
#define DUP3_CTHUMBAGIMAGEOBSERVER_INITIALIZEL 0x81006b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    17
#define CTHUMBAGIMAGEOBSERVER_CTHUMBAGIMAGEOBSERVER 0x81006c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    18
#define DUP1_CTHUMBAGIMAGEOBSERVER_CTHUMBAGIMAGEOBSERVER 0x81006d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    19
#define CTHUMBAGIMAGEOBSERVER_HANDLESESSIONOPENED 0x81006e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    20
#define DUP1_CTHUMBAGIMAGEOBSERVER_HANDLESESSIONOPENED 0x81006f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    21
#define DUP2_CTHUMBAGIMAGEOBSERVER_HANDLESESSIONOPENED 0x810070
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    22
#define CTHUMBAGIMAGEOBSERVER_HANDLESESSIONERROR 0x810071
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    23
#define DUP1_CTHUMBAGIMAGEOBSERVER_HANDLESESSIONERROR 0x810072
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    24
#define CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810073
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    25
#define DUP1_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810074
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    26
#define DUP2_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810075
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    27
#define DUP3_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810076
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    28
#define DUP4_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810077
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    29
#define DUP5_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810078
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    30
#define DUP6_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x810079
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    31
#define DUP7_CTHUMBAGIMAGEOBSERVER_HANDLEOBJECTNOTIFICATION 0x81007a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    32
#define CTHUMBAGIMAGEOBSERVER_ADDOBSERVERSL 0x81007b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    33
#define DUP1_CTHUMBAGIMAGEOBSERVER_ADDOBSERVERSL 0x81007c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    34
#define CTHUMBAGIMAGEOBSERVER_SHUTDOWNNOTIFICATION 0x81007d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    35
#define DUP1_CTHUMBAGIMAGEOBSERVER_SHUTDOWNNOTIFICATION 0x81007e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    36
#define CTHUMBAGIMAGEOBSERVER_RECONNECTCALLBACK 0x81007f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    37
#define DUP1_CTHUMBAGIMAGEOBSERVER_RECONNECTCALLBACK 0x810080
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    38
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    39
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    40
#ifndef __OSTTRACEGEN2_TUINT32_TUINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    41
#define __OSTTRACEGEN2_TUINT32_TUINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    42
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    43
inline TBool OstTraceGen2( TUint32 aTraceID, TUint aParam1, TUint aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    44
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    45
    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
    46
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    47
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    48
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    49
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    50
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    51
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    52
        *( ( TUint* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    53
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    54
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    55
        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
    56
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    57
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    58
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    59
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    60
#endif // __OSTTRACEGEN2_TUINT32_TUINT_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    61
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    62
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    63
#ifndef __OSTTRACEGEN2_TUINT32_TUINT32_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    64
#define __OSTTRACEGEN2_TUINT32_TUINT32_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    65
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    66
inline TBool OstTraceGen2( TUint32 aTraceID, TUint32 aParam1, TUint32 aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    67
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    68
    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
    69
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    70
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    71
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    72
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    73
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    74
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    75
        *( ( TUint* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    76
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    77
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    78
        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
    79
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    80
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    81
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    82
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    83
#endif // __OSTTRACEGEN2_TUINT32_TUINT32_TUINT32__
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
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    86
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    87
#endif
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
// End of file
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    90