imagehandlingutilities/thumbnailmanager/thumbnailserver/traces/thumbnailstoreTraces.h
author Jyri Kokkonen <jyri.kokkonen@nokia.com>
Fri, 10 Sep 2010 13:34:28 +0100
changeset 52 d37779bbda25
parent 51 3baa1be38e89
child 46 292fa3105576
permissions -rw-r--r--
More missing "traces" directories, to complete the fix for Bug 3676
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     1
/*
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     2
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). 
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     3
* All rights reserved.
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
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
* Initial Contributors:
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    11
*
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    12
* Contributors:
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    13
*
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    14
* Description:  Store for thumbnails.
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    15
 *
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    16
*/
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    17
// Created by TraceCompiler 2.3.0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    18
// DO NOT EDIT, CHANGES WILL BE LOST
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    19
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    20
#ifndef __THUMBNAILSTORETRACES_H__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    21
#define __THUMBNAILSTORETRACES_H__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    22
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    23
#define KOstTraceComponentID 0x102830ab
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    24
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    25
#define RTHUMBNAILTRANSACTION_BEGINL 0x8600ef
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    26
#define DUP1_RTHUMBNAILTRANSACTION_BEGINL 0x8600f0
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    27
#define DUP2_RTHUMBNAILTRANSACTION_BEGINL 0x8600f1
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    28
#define RTHUMBNAILTRANSACTION_ROLLBACK 0x8600f2
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    29
#define CTHUMBNAILSTORE_CTHUMBNAILSTORE 0x8600f3
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    30
#define DUP1_CTHUMBNAILSTORE_CTHUMBNAILSTORE 0x8600f4
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    31
#define CTHUMBNAILSTORE_CONSTRUCTL 0x8600f5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    32
#define DUP1_CTHUMBNAILSTORE_CONSTRUCTL 0x8600f6
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    33
#define DUP2_CTHUMBNAILSTORE_CONSTRUCTL 0x8600f7
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    34
#define CTHUMBNAILSTORE_OPENDATABASEFILEL 0x8600f8
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    35
#define CTHUMBNAILSTORE_OPENDATABASEL 0x8600f9
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    36
#define DUP1_CTHUMBNAILSTORE_OPENDATABASEL 0x8600fa
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    37
#define CTHUMBNAILSTORE_PREPAREDBL 0x8600fb
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    38
#define CTHUMBNAILSTORE_CREATETABLESL 0x8600fc
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    39
#define DUP1_CTHUMBNAILSTORE_CREATETABLESL 0x8600fd
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    40
#define DUP2_CTHUMBNAILSTORE_CREATETABLESL 0x8600fe
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    41
#define DUP3_CTHUMBNAILSTORE_CREATETABLESL 0x8600ff
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    42
#define DUP4_CTHUMBNAILSTORE_CREATETABLESL 0x860100
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    43
#define CTHUMBNAILSTORE_CREATETEMPTABLESL 0x860101
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    44
#define DUP1_CTHUMBNAILSTORE_CREATETEMPTABLESL 0x860102
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    45
#define DUP2_CTHUMBNAILSTORE_CREATETEMPTABLESL 0x860103
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    46
#define CTHUMBNAILSTORE_RECREATEDATABASEL 0x860104
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    47
#define DUP1_CTHUMBNAILSTORE_RECREATEDATABASEL 0x860105
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    48
#define DUP2_CTHUMBNAILSTORE_RECREATEDATABASEL 0x860106
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    49
#define DUP4_CTHUMBNAILSTORE_RECREATEDATABASEL 0x860107
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    50
#define DUP19_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x860108
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    51
#define DUP20_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x860109
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    52
#define DUP21_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x86010a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    53
#define DUP22_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x86010b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    54
#define DUP23_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x86010c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    55
#define DUP24_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x86010d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    56
#define DUP25_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x86010e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    57
#define CTHUMBNAILSTORE_CLOSESTATEMENTS 0x86010f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    58
#define DUP1_CTHUMBNAILSTORE_CLOSESTATEMENTS 0x860110
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    59
#define DUP2_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860111
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    60
#define DUP1_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860112
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    61
#define DUP3_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860113
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    62
#define DUP4_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860114
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    63
#define DUP5_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860115
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    64
#define DUP6_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860116
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    65
#define DUP7_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860117
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    66
#define DUP8_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860118
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    67
#define DUP9_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860119
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    68
#define DUP10_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011a
52
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    69
#define DUP11_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011b
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    70
#define DUP12_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011c
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    71
#define DUP13_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011d
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    72
#define DUP14_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011e
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    73
#define DUP15_CTHUMBNAILSTORE_STORETHUMBNAILL 0x86011f
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    74
#define DUP16_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860120
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    75
#define DUP17_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860121
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    76
#define DUP18_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860122
d37779bbda25 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents: 51
diff changeset
    77
#define DUP19_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860123
51
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    78
#define DUP20_CTHUMBNAILSTORE_STORETHUMBNAILL 0x860124
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    79
#define CTHUMBNAILSTORE_FINDDUPLICATEL 0x860125
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    80
#define DUP1_CTHUMBNAILSTORE_FINDDUPLICATEL 0x860126
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    81
#define DUP2_CTHUMBNAILSTORE_FINDDUPLICATEL 0x860127
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    82
#define DUP3_CTHUMBNAILSTORE_FINDDUPLICATEL 0x860128
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    83
#define DUP4_CTHUMBNAILSTORE_FINDDUPLICATEL 0x860129
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    84
#define DUP5_CTHUMBNAILSTORE_FINDDUPLICATEL 0x86012a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    85
#define CTHUMBNAILSTORE_GETMISSINGSIZESL 0x86012b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    86
#define DUP1_CTHUMBNAILSTORE_GETMISSINGSIZESL 0x86012c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    87
#define DUP2_CTHUMBNAILSTORE_GETMISSINGSIZESL 0x86012d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    88
#define DUP3_CTHUMBNAILSTORE_GETMISSINGSIZESL 0x86012e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    89
#define CTHUMBNAILSTORE_FETCHTHUMBNAILL 0x86012f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    90
#define DUP1_CTHUMBNAILSTORE_FETCHTHUMBNAILL 0x860130
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    91
#define DUP2_CTHUMBNAILSTORE_FETCHTHUMBNAILL 0x860131
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    92
#define DUP3_CTHUMBNAILSTORE_FETCHTHUMBNAILL 0x860132
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    93
#define DUP4_CTHUMBNAILSTORE_FETCHTHUMBNAILL 0x860133
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    94
#define CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860134
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    95
#define DUP1_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860135
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    96
#define DUP2_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860136
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    97
#define DUP3_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860137
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    98
#define DUP4_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860138
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    99
#define DUP5_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x860139
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   100
#define DUP6_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x86013a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   101
#define DUP7_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x86013b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   102
#define DUP8_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x86013c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   103
#define DUP9_CTHUMBNAILSTORE_DELETETHUMBNAILSL 0x86013d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   104
#define CTHUMBNAILSTORE_RENAMETHUMBNAILSL 0x86013e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   105
#define DUP1_CTHUMBNAILSTORE_RENAMETHUMBNAILSL 0x86013f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   106
#define DUP2_CTHUMBNAILSTORE_RENAMETHUMBNAILSL 0x860140
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   107
#define DUP3_CTHUMBNAILSTORE_RENAMETHUMBNAILSL 0x860141
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   108
#define CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860142
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   109
#define DUP1_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860143
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   110
#define DUP2_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860144
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   111
#define DUP3_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860145
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   112
#define DUP4_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860146
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   113
#define DUP5_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860147
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   114
#define DUP6_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860148
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   115
#define DUP7_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860149
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   116
#define DUP8_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   117
#define DUP9_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   118
#define DUP10_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   119
#define DUP11_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   120
#define DUP12_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   121
#define DUP13_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x86014f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   122
#define DUP14_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860150
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   123
#define DUP15_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860151
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   124
#define DUP16_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860152
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   125
#define DUP17_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860153
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   126
#define DUP18_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860154
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   127
#define DUP19_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860155
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   128
#define DUP20_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860156
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   129
#define DUP21_CTHUMBNAILSTORE_FLUSHCACHETABLE 0x860157
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   130
#define CTHUMBNAILSTORE_STARTAUTOFLUSH 0x860158
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   131
#define DUP1_CTHUMBNAILSTORE_STARTAUTOFLUSH 0x860159
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   132
#define CTHUMBNAILSTORE_STOPAUTOFLUSH 0x86015a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   133
#define CTHUMBNAILSTORE_STARTMAINTENANCE 0x86015b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   134
#define DUP1_CTHUMBNAILSTORE_STARTMAINTENANCE 0x86015c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   135
#define CTHUMBNAILSTORE_AUTOFLUSHTIMERCALLBACK 0x86015d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   136
#define CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x86015e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   137
#define DUP1_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x86015f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   138
#define DUP2_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860160
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   139
#define DUP3_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860161
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   140
#define DUP4_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860162
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   141
#define DUP5_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860163
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   142
#define DUP6_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860164
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   143
#define DUP7_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860165
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   144
#define DUP8_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860166
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   145
#define DUP9_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860167
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   146
#define DUP10_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860168
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   147
#define DUP11_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x860169
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   148
#define DUP12_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x86016a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   149
#define DUP13_CTHUMBNAILSTORE_MAINTENANCETIMERCALLBACK 0x86016b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   150
#define CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x86016c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   151
#define DUP1_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x86016d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   152
#define DUP2_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x86016e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   153
#define DUP3_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x86016f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   154
#define DUP4_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x860170
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   155
#define DUP5_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x860171
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   156
#define DUP6_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x860172
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   157
#define DUP7_CTHUMBNAILSTORE_CHECKMODIFIEDBYPATHL 0x860173
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   158
#define CTHUMBNAILSTORE_PREPAREBLACKLISTEDITEMSFORRETRYL 0x860174
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   159
#define DUP1_CTHUMBNAILSTORE_PREPAREBLACKLISTEDITEMSFORRETRYL 0x860175
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   160
#define CTHUMBNAILSTORE_DELETEMARKEDL 0x860176
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   161
#define DUP1_CTHUMBNAILSTORE_DELETEMARKEDL 0x860177
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   162
#define DUP2_CTHUMBNAILSTORE_DELETEMARKEDL 0x860178
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   163
#define CTHUMBNAILSTORE_FILEEXISTENCECHECKL 0x860179
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   164
#define DUP1_CTHUMBNAILSTORE_FILEEXISTENCECHECKL 0x86017a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   165
#define CTHUMBNAILSTORE_CHECKDBSTATE 0x86017b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   166
#define CTHUMBNAILSTORE_HANDLEDISKSPACENOTIFICATIONL 0x86017c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   167
#define CTHUMBNAILSTORE_HANDLEDISKSPACEERROR 0x86017d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   168
#define CTHUMBNAILSTORE_ACTIVITYCHANGED 0x86017e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   169
#define DUP1_CTHUMBNAILSTORE_ACTIVITYCHANGED 0x86017f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   170
#define DUP2_CTHUMBNAILSTORE_ACTIVITYCHANGED 0x860180
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   171
#define DUP3_CTHUMBNAILSTORE_ACTIVITYCHANGED 0x860181
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   172
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_GETDRIVENUMBERL 0x860182
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   173
#define DUP1_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_GETDRIVENUMBERL 0x860183
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   174
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_CTHUMBNAILSTOREDISKSPACENOTIFIERAO 0x860184
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   175
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x860185
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   176
#define DUP1_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x860186
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   177
#define DUP2_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x860187
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   178
#define DUP3_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x860188
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   179
#define DUP4_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x860189
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   180
#define DUP5_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x86018a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   181
#define DUP6_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x86018b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   182
#define DUP7_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNL 0x86018c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   183
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_RUNERROR 0x86018d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   184
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_DOCANCEL 0x86018e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   185
#define DUP1_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_CTHUMBNAILSTOREDISKSPACENOTIFIERAO 0x86018f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   186
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_CONSTRUCTL 0x860190
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   187
#define DUP1_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_CONSTRUCTL 0x860191
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   188
#define DUP2_CTHUMBNAILSTOREDISKSPACENOTIFIERAO_CONSTRUCTL 0x860192
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   189
#define CTHUMBNAILSTOREDISKSPACENOTIFIERAO_STARTNOTIFIER 0x860193
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   190
#define CTHUMBNAILSTORE_STORETHUMBNAILL 0x8601f5
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   191
#define DUP3_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810001
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   192
#define DUP5_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810002
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   193
#define DUP6_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810003
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   194
#define DUP7_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810004
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   195
#define DUP8_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810005
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   196
#define DUP9_CTHUMBNAILSTORE_RECREATEDATABASEL 0x810006
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   197
#define CTHUMBNAILSTORE_CHECKROWIDS 0x810007
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   198
#define DUP1_CTHUMBNAILSTORE_CHECKROWIDS 0x810008
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   199
#define DUP2_CTHUMBNAILSTORE_CHECKROWIDS 0x810009
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   200
#define DUP3_CTHUMBNAILSTORE_CHECKROWIDS 0x81000a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   201
#define DUP4_CTHUMBNAILSTORE_CHECKROWIDS 0x81000b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   202
#define DUP5_CTHUMBNAILSTORE_CHECKROWIDS 0x81000c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   203
#define DUP6_CTHUMBNAILSTORE_CHECKROWIDS 0x81000d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   204
#define CTHUMBNAILSTORE_CHECKVERSION 0x81000e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   205
#define DUP1_CTHUMBNAILSTORE_CHECKVERSION 0x81000f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   206
#define DUP2_CTHUMBNAILSTORE_CHECKVERSION 0x810010
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   207
#define DUP3_CTHUMBNAILSTORE_CHECKVERSION 0x810011
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   208
#define CTHUMBNAILSTORE_CHECKIMEI 0x810012
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   209
#define DUP1_CTHUMBNAILSTORE_CHECKIMEI 0x810013
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   210
#define DUP2_CTHUMBNAILSTORE_CHECKIMEI 0x810014
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   211
#define DUP3_CTHUMBNAILSTORE_CHECKIMEI 0x810015
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   212
#define CTHUMBNAILSTORE_CHECKMEDIAIDL 0x810016
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   213
#define DUP1_CTHUMBNAILSTORE_CHECKMEDIAIDL 0x810017
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   214
#define CTHUMBNAILSTORE_ADDVERSIONANDIMEIL 0x810018
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   215
#define CTHUMBNAILSTORE_UPDATEIMEIL 0x810019
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   216
#define DUP1_CTHUMBNAILSTORE_UPDATEIMEIL 0x81001a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   217
#define CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81001b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   218
#define DUP1_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81001c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   219
#define DUP2_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81001d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   220
#define DUP3_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81001e
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   221
#define DUP4_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81001f
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   222
#define DUP5_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810020
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   223
#define DUP6_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810021
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   224
#define DUP7_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810022
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   225
#define DUP8_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810023
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   226
#define DUP9_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810024
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   227
#define DUP10_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810025
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   228
#define DUP11_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810026
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   229
#define DUP12_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810027
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   230
#define DUP13_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810028
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   231
#define DUP14_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x810029
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   232
#define DUP15_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81002a
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   233
#define DUP16_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81002b
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   234
#define DUP17_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81002c
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   235
#define DUP18_CTHUMBNAILSTORE_PREPARESTATEMENTSL 0x81002d
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   236
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   237
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   238
#ifndef __KERNEL_MODE__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   239
#ifndef __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   240
#define __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   241
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   242
inline TBool OstTraceGen2( TUint32 aTraceID, const TDesC16& aParam1, TInt aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   243
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   244
    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
   245
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   246
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   247
        TInt length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   248
        // Check that parameter lenght is not too long
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   249
        TInt length1 = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   250
        if ((length + length1 + sizeof ( TUint32 )) > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   251
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   252
            length1 = KOstMaxDataLength - (length + sizeof ( TUint32 ));
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   253
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   254
        TInt lengthAligned1 = ( length1 + 3 ) & ~3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   255
        if (lengthAligned1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   256
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   257
            length = length + sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   258
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   259
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   260
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   261
        // Set length to zero and calculate it againg
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   262
        // when adding parameters
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   263
        length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   264
        if (length1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   265
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   266
            // Number of elements is written before data
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   267
            // In case of Unicode string, number of elements is half of length
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   268
            *( ( TUint32* )ptr ) = length1 / (aParam1.Size() / aParam1.Length());
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   269
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   270
            memcpy( ptr, aParam1.Ptr(), length1 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   271
            ptr += length1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   272
            // 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
   273
            while ( length1++ < lengthAligned1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   274
                {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   275
                *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   276
                }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   277
            length += sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   278
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   279
        else if (length + sizeof ( TUint32 ) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   280
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   281
            *( ( TUint32* )ptr ) = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   282
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   283
            length += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   284
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   285
        // Check that there are enough space to next parameter
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   286
        if ((length + sizeof ( TInt )) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   287
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   288
            *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   289
            ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   290
            length += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   291
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   292
        ptr -= length;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   293
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, length );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   294
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   295
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   296
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   297
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   298
#endif // __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   299
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   300
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   301
#ifndef __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   302
#define __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   303
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   304
inline TBool OstTraceGen2( TUint32 aTraceID, const TDesC16& aParam1, TInt32 aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   305
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   306
    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
   307
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   308
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   309
        TInt length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   310
        // Check that parameter lenght is not too long
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   311
        TInt length1 = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   312
        if ((length + length1 + sizeof ( TUint32 )) > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   313
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   314
            length1 = KOstMaxDataLength - (length + sizeof ( TUint32 ));
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   315
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   316
        TInt lengthAligned1 = ( length1 + 3 ) & ~3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   317
        if (lengthAligned1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   318
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   319
            length = length + sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   320
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   321
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   322
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   323
        // Set length to zero and calculate it againg
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   324
        // when adding parameters
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   325
        length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   326
        if (length1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   327
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   328
            // Number of elements is written before data
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   329
            // In case of Unicode string, number of elements is half of length
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   330
            *( ( TUint32* )ptr ) = length1 / (aParam1.Size() / aParam1.Length());
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   331
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   332
            memcpy( ptr, aParam1.Ptr(), length1 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   333
            ptr += length1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   334
            // 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
   335
            while ( length1++ < lengthAligned1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   336
                {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   337
                *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   338
                }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   339
            length += sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   340
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   341
        else if (length + sizeof ( TUint32 ) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   342
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   343
            *( ( TUint32* )ptr ) = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   344
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   345
            length += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   346
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   347
        // Check that there are enough space to next parameter
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   348
        if ((length + sizeof ( TInt )) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   349
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   350
            *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   351
            ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   352
            length += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   353
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   354
        ptr -= length;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   355
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, length );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   356
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   357
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   358
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   359
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   360
#endif // __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   361
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   362
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   363
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   364
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   365
#ifndef __KERNEL_MODE__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   366
#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
   367
#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
   368
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   369
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
   370
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   371
    TBool retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   372
    TInt size = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   373
    // 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
   374
    if (size % 4 == 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   375
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   376
        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
   377
        // 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
   378
        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
   379
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   380
    else
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   381
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   382
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   383
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   384
        if (size > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   385
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   386
            size = KOstMaxDataLength;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   387
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   388
        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
   389
        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
   390
        ptr += size;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   391
        // 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
   392
        while ( size++ < sizeAligned )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   393
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   394
            *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   395
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   396
        ptr -= sizeAligned;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   397
        size = sizeAligned;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   398
        // 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
   399
        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
   400
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   401
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   402
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   403
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   404
#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
   405
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   406
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   407
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   408
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   409
#ifndef __OSTTRACEGEN1_TUINT32_TINT64__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   410
#define __OSTTRACEGEN1_TUINT32_TINT64__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   411
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   412
inline TBool OstTraceGen1( TUint32 aTraceID, TInt64 aParam1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   413
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   414
    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
   415
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   416
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   417
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   418
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   419
        *( ( TInt64* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   420
        ptr += sizeof ( TInt64 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   421
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   422
        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
   423
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   424
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   425
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   426
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   427
#endif // __OSTTRACEGEN1_TUINT32_TINT64__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   428
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   429
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   430
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   431
#ifndef __OSTTRACEGEN3_TUINT32_TUINT_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   432
#define __OSTTRACEGEN3_TUINT32_TUINT_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   433
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   434
inline TBool OstTraceGen3( TUint32 aTraceID, TUint aParam1, TInt aParam2, TInt aParam3 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   435
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   436
    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
   437
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   438
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   439
        TUint8 data[ 12 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   440
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   441
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   442
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   443
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   444
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   445
        *( ( TInt* )ptr ) = aParam3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   446
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   447
        ptr -= 12;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   448
        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
   449
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   450
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   451
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   452
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   453
#endif // __OSTTRACEGEN3_TUINT32_TUINT_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   454
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   455
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   456
#ifndef __OSTTRACEGEN3_TUINT32_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   457
#define __OSTTRACEGEN3_TUINT32_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   458
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   459
inline TBool OstTraceGen3( TUint32 aTraceID, TUint32 aParam1, TInt32 aParam2, TInt32 aParam3 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   460
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   461
    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
   462
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   463
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   464
        TUint8 data[ 12 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   465
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   466
        *( ( TUint* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   467
        ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   468
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   469
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   470
        *( ( TInt* )ptr ) = aParam3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   471
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   472
        ptr -= 12;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   473
        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
   474
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   475
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   476
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   477
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   478
#endif // __OSTTRACEGEN3_TUINT32_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   479
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   480
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   481
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   482
#ifndef __KERNEL_MODE__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   483
#ifndef __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   484
#define __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   485
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   486
inline TBool OstTraceGen2( TUint32 aTraceID, const TDesC16& aParam1, TUint aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   487
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   488
    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
   489
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   490
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   491
        TInt length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   492
        // Check that parameter lenght is not too long
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   493
        TInt length1 = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   494
        if ((length + length1 + sizeof ( TUint32 )) > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   495
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   496
            length1 = KOstMaxDataLength - (length + sizeof ( TUint32 ));
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   497
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   498
        TInt lengthAligned1 = ( length1 + 3 ) & ~3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   499
        if (lengthAligned1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   500
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   501
            length = length + sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   502
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   503
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   504
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   505
        // Set length to zero and calculate it againg
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   506
        // when adding parameters
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   507
        length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   508
        if (length1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   509
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   510
            // Number of elements is written before data
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   511
            // In case of Unicode string, number of elements is half of length
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   512
            *( ( TUint32* )ptr ) = length1 / (aParam1.Size() / aParam1.Length());
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   513
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   514
            memcpy( ptr, aParam1.Ptr(), length1 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   515
            ptr += length1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   516
            // 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
   517
            while ( length1++ < lengthAligned1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   518
                {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   519
                *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   520
                }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   521
            length += sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   522
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   523
        else if (length + sizeof ( TUint32 ) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   524
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   525
            *( ( TUint32* )ptr ) = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   526
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   527
            length += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   528
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   529
        // Check that there are enough space to next parameter
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   530
        if ((length + sizeof ( TUint )) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   531
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   532
            *( ( TUint* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   533
            ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   534
            length += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   535
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   536
        ptr -= length;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   537
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, length );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   538
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   539
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   540
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   541
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   542
#endif // __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   543
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   544
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   545
#ifndef __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   546
#define __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   547
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   548
inline TBool OstTraceGen2( TUint32 aTraceID, const TDesC16& aParam1, TUint32 aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   549
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   550
    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
   551
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   552
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   553
        TInt length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   554
        // Check that parameter lenght is not too long
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   555
        TInt length1 = aParam1.Size();
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   556
        if ((length + length1 + sizeof ( TUint32 )) > KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   557
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   558
            length1 = KOstMaxDataLength - (length + sizeof ( TUint32 ));
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   559
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   560
        TInt lengthAligned1 = ( length1 + 3 ) & ~3;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   561
        if (lengthAligned1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   562
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   563
            length = length + sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   564
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   565
        TUint8 data[ KOstMaxDataLength ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   566
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   567
        // Set length to zero and calculate it againg
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   568
        // when adding parameters
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   569
        length = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   570
        if (length1 > 0)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   571
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   572
            // Number of elements is written before data
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   573
            // In case of Unicode string, number of elements is half of length
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   574
            *( ( TUint32* )ptr ) = length1 / (aParam1.Size() / aParam1.Length());
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   575
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   576
            memcpy( ptr, aParam1.Ptr(), length1 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   577
            ptr += length1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   578
            // 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
   579
            while ( length1++ < lengthAligned1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   580
                {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   581
                *ptr++ = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   582
                }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   583
            length += sizeof ( TUint32 ) + lengthAligned1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   584
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   585
        else if (length + sizeof ( TUint32 ) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   586
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   587
            *( ( TUint32* )ptr ) = 0;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   588
            ptr += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   589
            length += sizeof ( TUint32 );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   590
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   591
        // Check that there are enough space to next parameter
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   592
        if ((length + sizeof ( TUint )) <= KOstMaxDataLength)
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   593
            {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   594
            *( ( TUint* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   595
            ptr += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   596
            length += sizeof ( TUint );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   597
            }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   598
        ptr -= length;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   599
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, length );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   600
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   601
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   602
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   603
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   604
#endif // __OSTTRACEGEN2_TUINT32_CONST_TDESC16REF_TUINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   605
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   606
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   607
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   608
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   609
#ifndef __OSTTRACEGEN2_TUINT32_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   610
#define __OSTTRACEGEN2_TUINT32_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   611
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   612
inline TBool OstTraceGen2( TUint32 aTraceID, TInt aParam1, TInt aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   613
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   614
    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
   615
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   616
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   617
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   618
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   619
        *( ( TInt* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   620
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   621
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   622
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   623
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   624
        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
   625
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   626
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   627
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   628
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   629
#endif // __OSTTRACEGEN2_TUINT32_TINT_TINT__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   630
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   631
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   632
#ifndef __OSTTRACEGEN2_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   633
#define __OSTTRACEGEN2_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   634
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   635
inline TBool OstTraceGen2( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   636
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   637
    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
   638
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   639
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   640
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   641
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   642
        *( ( TInt* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   643
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   644
        *( ( TInt* )ptr ) = aParam2;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   645
        ptr += sizeof ( TInt );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   646
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   647
        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
   648
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   649
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   650
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   651
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   652
#endif // __OSTTRACEGEN2_TUINT32_TINT32_TINT32__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   653
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   654
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   655
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   656
#ifndef __OSTTRACEGEN1_TUINT32_TREAL__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   657
#define __OSTTRACEGEN1_TUINT32_TREAL__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   658
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   659
inline TBool OstTraceGen1( TUint32 aTraceID, TReal aParam1 )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   660
    {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   661
    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
   662
    if ( retval )
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   663
        {
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   664
        TUint8 data[ 8 ];
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   665
        TUint8* ptr = data;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   666
        *( ( TReal* )ptr ) = aParam1;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   667
        ptr += sizeof ( TReal );
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   668
        ptr -= 8;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   669
        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
   670
        }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   671
    return retval;
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   672
    }
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   673
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   674
#endif // __OSTTRACEGEN1_TUINT32_TREAL__
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   675
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   676
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   677
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   678
#endif
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   679
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   680
// End of file
3baa1be38e89 Add missing "traces" directories to thumbnailmanager, to fix Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
   681