dependencies/extended_skin_api/AknsSrvChunkLookup.h
author MattD <mattd@symbian.org>
Thu, 01 Apr 2010 14:59:15 +0100
branchv5backport
changeset 50 d717d18a59d5
parent 34 1494d39c2fee
permissions -rw-r--r--
Made a minor error with all the messing around with aknlayout.lag which meant it got performed on the default branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     1
/*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2003-2007 Nokia Corporation and/or its subsidiary(-ies).
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     8
*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    11
*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    12
* Contributors:
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    13
*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    14
* Description:  Chunk Lookup.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    15
*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    16
*/
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    17
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    18
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    19
#ifndef AKNSSRVCHUNKLOOKUP_H
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    20
#define AKNSSRVCHUNKLOOKUP_H
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    21
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    22
// INCLUDES
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    23
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    24
#include <e32std.h>
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    25
#include <e32base.h>
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    26
#include <AknsItemDef.h>
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    27
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    28
// FORWARD DECLARATIONS
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    29
struct TAknsSrvItemDef;
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    30
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    31
/**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    32
* A class for looking up and creating item definitions stored in the
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    33
* shared memory chunk.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    34
*
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    35
* @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    36
*/
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    37
NONSHARABLE_CLASS(CAknsSrvChunkLookup) : public CBase
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    38
    {
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    39
    public: // Construction and destruction
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    40
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    41
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    42
        * SymbianOS two-phased constructor.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    43
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    44
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    45
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    46
        * @return A new instance of CAknsSrvChunkLookup.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    47
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    48
        * @par Exceptions:
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    49
        *   If the construction fails, the leaves with one of the system wide
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    50
        *   error codes.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    51
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    52
        static CAknsSrvChunkLookup* NewL();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    53
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    54
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    55
        * Default C++ destructor.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    56
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    57
        virtual ~CAknsSrvChunkLookup();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    58
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    59
    public: // New methods
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    60
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    61
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    62
        * Returns item definition object matching the given item ID.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    63
        * Performs lookup for the given item ID and returns an instance of one
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    64
        * of the subclasses of CAknsItemDef matching the given ID. If the call
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    65
        * is successfull, ownership of the item definition object is transferred
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    66
        * to the caller.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    67
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    68
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    69
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    70
        * @param aID Item ID to be searched.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    71
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    72
        * @return Pointer to the item definition object now owned by the caller,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    73
        *   or @c NULL if there was no match for the given IID.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    74
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    75
        * @par Exceptions:
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    76
        *   If construction of the item definition object failed, method leaves
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    77
        *   with an error code.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    78
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    79
        IMPORT_C CAknsItemDef* LookupAndCreateDefL( const TAknsItemID& aID );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    80
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    81
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    82
        * Returns stored scalable bitmaps and optionally its mask if it
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    83
        * was stored. The ownership of the returned bitmap (and mask, if any)
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    84
        * is transferred to the caller.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    85
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    86
        * Optionally, the caller can give the current copy of the bitmap and
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    87
        * mask as aBitmap and aMask parameters. If the currently stored
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    88
        * scalable bitmaps have the same handles, they are not re-duplicated.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    89
        * The ownership of the given bitmaps is transferred to chunk lookup.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    90
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    91
        * @since 2.8
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    92
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    93
        * @param aID Item ID to be searched.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    94
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    95
        * @param aLayout The layout id type for the searhed item.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    96
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    97
        * @param aBitmap Current bitmap or @c NULL. Ownership is transferred.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    98
        *   After return, contains the newly duplicated bitmap, or @c NULL if
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
    99
        *   not found. Ownership is transferred.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   100
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   101
        * @param aMask Current mask or @c NULL. Ownership is transferred.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   102
        *   After return, contains the newly duplicated mask, or @c NULL if
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   103
        *   not found. Ownership is transferred.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   104
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   105
        IMPORT_C void LookupAndCreateScalableItemL( const TAknsItemID& aID,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   106
            const TInt aLayout, const TSize& aLayoutSize, CFbsBitmap*& aBitmap,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   107
            CFbsBitmap*& aMask, TInt& aMorphing);
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   108
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   109
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   110
        * Blocks write access to the shared memory chunk.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   111
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   112
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   113
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   114
        void BeginRead();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   115
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   116
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   117
        * Allows write access to the shared memory chunk.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   118
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   119
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   120
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   121
        void EndRead();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   122
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   123
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   124
        * Blocks all rendering.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   125
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   126
        * @since 2.8
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   127
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   128
        IMPORT_C void BeginRender();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   129
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   130
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   131
        * Allows rendering.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   132
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   133
        * @since 2.8
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   134
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   135
        IMPORT_C void EndRender();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   136
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   137
    private: // Reserved exports
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   138
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   139
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   140
        * Reserved for future use.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   141
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   142
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   143
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   144
        * @return Always returns zero.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   145
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   146
        IMPORT_C TInt Reserved();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   147
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   148
    protected: // New methods
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   149
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   150
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   151
        * Creates an item definition object (or leaves) based on the given
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   152
        * item definition structure.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   153
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   154
        * Note that this method does not use the semaphore, and is therefore
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   155
        * unprotected.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   156
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   157
        * @param aID Item ID of the item.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   158
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   159
        * @param aType Type of the definition.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   160
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   161
        * @param aDef Pointer to the definition.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   162
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   163
        * @param aBasePtr Chunk base pointer.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   164
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   165
        * @return Newly construction item definition object, or @c NULL if
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   166
        *   aDef was @c NULL.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   167
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   168
        * @since 2.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   169
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   170
        CAknsItemDef* CreateUnprotectedL( const TAknsItemID& aID,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   171
            const TAny* aDef, const TAknsItemType aType,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   172
            const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   173
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   174
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   175
        * Returns stored scalable bitmaps and optionally its mask if it
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   176
        * was stored.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   177
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   178
        * Note that this method does not use the semaphore, and is therefore
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   179
        * unprotected.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   180
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   181
        * @since 2.8
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   182
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   183
        void LookupAndCreateScalableItemUnprotectedL( const TAknsItemID& aID,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   184
            const TInt aLayout, const TSize& aLayoutSize, CFbsBitmap*& aBitmap,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   185
            CFbsBitmap*& aMask, TInt& aMorphing);
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   186
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   187
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   188
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   189
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   190
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   191
        CAknsEffectQueueItemDef* CreateEffectQueueL( const TAknsItemID& aID,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   192
            const TAny* aDefPtr, const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   193
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   194
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   195
        *
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   196
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   197
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   198
        CAknsAnimationItemDef* CreateAnimationL( const TAknsItemID& aID,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   199
            const TAny* aDefPtr, const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   200
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   201
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   202
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   203
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   204
        CAknsEffectItemDef* CreateEffectL( const TUint8* aData,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   205
            const TBool aIsAnimationCommand, const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   206
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   207
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   208
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   209
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   210
        CAknsEffectParamDef* CreateParameterL( const TUint8* aData, const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   211
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   212
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   213
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   214
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   215
        TUint32 CreateParameterL( CAknsEffectParamDef*& aDef,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   216
                                  const TUint32 aOffset,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   217
                                  const TAny* aDefPtr,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   218
                                  const TAny* aBasePtr );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   219
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   220
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   221
        * @since 3.0
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   222
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   223
        TUint32 CreateEffectL( CAknsEffectItemDef*& aDef,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   224
                               const TUint32 aOffset,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   225
                               const TAny* aDefPtr,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   226
                               const TAny* aBasePtr,
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   227
                               const TBool aIsAnimationCommand );
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   228
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   229
    protected: // Protected constructors
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   230
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   231
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   232
        * Default C++ constructor
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   233
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   234
        CAknsSrvChunkLookup();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   235
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   236
        /**
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   237
        * Second-phase constructor.
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   238
        */
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   239
        void ConstructL();
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   240
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   241
    private: // Data
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   242
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   243
        RChunk iSharedChunk;
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   244
        RSemaphore iWaitSema;
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   245
        RMutex iRenderMutex;
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   246
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   247
    };
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   248
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   249
#endif // AKNSSRVCHUNKLOOKUP_H
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   250
1494d39c2fee added few more dependencies
kashif.sayed
parents:
diff changeset
   251
// End of file.