engine/inc/ImageHandler.h
author teknolog
Wed, 03 Mar 2010 23:56:05 +0000
changeset 32 26a3f2dfba08
parent 2 29cda98b007e
child 60 4d230e702aa3
permissions -rw-r--r--
Fix for bug where we always load the feed icon a large number of times
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     1
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     2
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     3
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     4
* All rights reserved.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     5
* This component and the accompanying materials are made available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     6
* under the terms of the License "Eclipse Public License v1.0"
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     7
* which accompanies this distribution, and is available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     8
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     9
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    10
* Initial Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    11
* EmbedDev AB - initial contribution.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    12
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    13
* Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    14
* Example code from OcrExample Copyright (c) 2006 Nokia Corporation.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    15
* Description:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    16
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    17
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    18
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    19
#ifndef IMAGEHANDLER_H
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    20
#define IMAGEHANDLER_H
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    21
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    22
#include <f32file.h>
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    23
#include <ImageConversion.h>
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    24
#include <BitmapTransforms.h>
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    25
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    26
/**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    27
 * Listener interface that can be used to listen for image loading operation
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    28
 * completion events from CImageHandler.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    29
 *
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    30
 * The class is intended to be implemented by a client class that observes the
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    31
 * loading operation of image handler. The methods in this class
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    32
 * are called by the image handler (class CImageHandler) when it loads
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    33
 * an image.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    34
 *
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    35
 * Reference to implementations of this listener interface can be passed as
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    36
 * a parameter to the constructor of the image handler (class CImageHandler).
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    37
 */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    38
class MImageHandlerCallback
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    39
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    40
public:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    41
   /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    42
    * Called by CImageHandler when an image has been loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    43
    * @param aError Error code given by the CImageHandler or 0 (zero) if the
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    44
    *   image was loaded successfully.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    45
    */
32
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
    46
    virtual void ImageOperationCompleteL(TInt aError, TUint aHandle) = 0;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    47
    };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    48
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    49
// ============================================================================
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    50
class TImageStruct
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    51
	{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    52
public:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    53
	CFbsBitmap* iScaledImage;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    54
	TSize iScaledSize;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    55
	MImageHandlerCallback* iCallBack;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    56
	TFileName iFileName;
32
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
    57
	TUint iHandle;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    58
	};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    59
/**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    60
*  CImageHandler
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    61
*  Image loader and scaler class.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    62
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    63
class CImageHandler : public CActive
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    64
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    65
    public: // Constructors and destructor
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    66
       /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    67
        * Factory method that constructs a CImageHandler by using the NewLC method
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    68
        * and then cleans the cleanup stack.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    69
        * @param aBitmap Bitmap where the image data is loaded to.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    70
        * @param aScaledBitmap Bitmap where the scaled image data is loaded to.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    71
        * @param aFs File server reference that is used to load the image data.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    72
        * @param aCallback Listener interface implementation that is notified
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    73
        *  when an image has been loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    74
        * @return pointer to created CImageHandler-object
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    75
        */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    76
        IMPORT_C static CImageHandler* NewL(RFs& aFs);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    77
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    78
       /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    79
        * Factory method that constructs a CImageHandler and leaves it to the
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    80
        * cleanup stack.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    81
        * @param aBitmap Bitmap where the image data is loaded to.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    82
        * @param aScaledBitmap Bitmap where the scaled image data is loaded to.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    83
        * @param aFs File server reference that is used to load the image data.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    84
        * @param aCallback Listener interface implementation that is notified
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    85
        *  when an image has been loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    86
        * @return pointer to created CImageHandler-object
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    87
        */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    88
        IMPORT_C static CImageHandler* NewLC(RFs& aFs);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    89
       /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    90
        * Desctructor. Destroys the CImageDecoder used by the image handler.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    91
        */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    92
        IMPORT_C virtual ~CImageHandler();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    93
        IMPORT_C CFbsBitmap* ScaledBitmap();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    94
    public: // New functions      
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    95
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    96
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    97
         * Loads a the given frame from the given file and scale it to the
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    98
         * specified size
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    99
         * @param aFileName Filename wherefrom the bitmap data is loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   100
         * @param aSize the target size for the scaling
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   101
         * @param aSelectedFrame A single frame index in a multi-frame file.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   102
         *  If not given the first frame is loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   103
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   104
    	IMPORT_C void LoadFileAndScaleL(CFbsBitmap* aScaledBitmap, 
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   105
							   const TFileName& aFileName,
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   106
                               const TSize &aSize,
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   107
                               MImageHandlerCallback& aCallback,
32
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
   108
                               TUint aHandle,
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   109
                               TInt aSelectedFrame = 0);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   110
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   111
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   112
         * Returns the current frame information.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   113
         * @return Current frame information.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   114
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   115
        const TFrameInfo& FrameInfo() const;     
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   116
    private:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   117
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   118
         * Loads a the given frame from the given file.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   119
         * @param aFileName Filename wherefrom the bitmap data is loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   120
         * @param aSelectedFrame A single frame index in a multi-frame file. If not given the first frame is loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   121
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   122
        void LoadFileL(const TFileName& aFileName, TInt aSelectedFrame = 0);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   123
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   124
       /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   125
        * Scales a loaded image
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   126
        * Scales a loaded image to the target size (given in LoadFileAndScaleL or
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   127
        * FitToScreenL). The scaled image is stored into iScaledBitmap.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   128
        */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   129
        void ScaleL();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   130
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   131
    private: // Functions from base classes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   132
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   133
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   134
         * CActive::RunL() implementation. Called on image load success/failure.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   135
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   136
        void RunL();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   137
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   138
         * CActive::Cancel() implementation. Stops decoding.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   139
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   140
        void DoCancel();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   141
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   142
    protected:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   143
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   144
         * C++ default constructor. Just stores the given parameters to
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   145
         * corresponding attributes.      
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   146
         * @param aScaledBitmap Bitmap where the scaled image data is loaded to.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   147
         * @param aFs File server reference that is used to load the image data.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   148
         * @param aCallback Listener interface implementation that is notified
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   149
         *  when an image has been loaded.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   150
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   151
        CImageHandler(RFs& aFs);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   152
        /**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   153
         * 2nd phase constructor. Adds this object to the active scheduler.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   154
         */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   155
        void ConstructL();
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   156
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   157
    private: // Data
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   158
        /** Image decoder that is used to load the image data from file. */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   159
        CImageDecoder           *iDecoder;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   160
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   161
        /** Image scaler that is used to scale the image */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   162
        CBitmapScaler           *iScaler;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   163
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   164
        /** Listener that is notified when an image has been loaded. */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   165
        MImageHandlerCallback *  iCallback;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   166
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   167
        /** Bitmap (owned by the user of this class) where the loaded image is put */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   168
        CFbsBitmap              *iBitmap;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   169
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   170
        /** Bitmap (owned by the user of this class) where the SCALED image is put */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   171
        CFbsBitmap              *iScaledBitmap;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   172
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   173
        /** File server session (owned by the user of this class) */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   174
        RFs                     &iFs;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   175
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   176
        /** Current image frame information. */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   177
        TFrameInfo              iFrameInfo;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   178
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   179
        /** target size for scaled image */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   180
        TSize                   iSize;
32
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
   181
        RArray<TImageStruct> iCallbackQue;  
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
   182
        
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
   183
        /* Handle passed back to caller */
26a3f2dfba08 Fix for bug where we always load the feed icon a large number of times
teknolog
parents: 2
diff changeset
   184
        TUint iHandle;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   185
    };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   186
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   187
#endif
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   188