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