examples/QtQuick/contentlauncherexample/mifprovider/mifimageprovider.h

00001 /*
00002 * Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
00003 * All rights reserved.
00004 * This software, including documentation is protected by copyright controlled
00005 * by Nokia Corporation. Copying, including reproducing, storing, adapting or
00006 * translating, any or all of this material can only be done in accordance
00007 * with the Nokia Symbian License version 1.0 (or any subsequent update) or
00008 * any other license terms expressly agreed between you and Nokia.
00009 * This material contains Nokia's confidential information which
00010 * may not be disclosed to others without the prior written consent of Nokia.
00011 *
00012 * Initial Contributors:
00013 * Nokia Corporation - initial contribution.
00014 *
00015 * Contributors:
00016 *
00017 * Description:
00018 *
00019 */
00020 
00021 #ifndef MIFIMAGEPROVIDER_H
00022 #define MIFIMAGEPROVIDER_H
00023 
00024 #include <QtDeclarative/QDeclarativeImageProvider>
00025 #include <e32base.h>
00026 
00027 class MifImageProvider : public QDeclarativeImageProvider
00028 {
00029 public:
00030     MifImageProvider();
00031     QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);
00032 
00033 private:
00034     void LoadImageL(CFbsBitmap *&aImage, CFbsBitmap *&aMask, const TDesC& aFileName, TInt aImg, TInt aMsk, const TSize& aSize); // codescanner::usageofcfbsbitmap
00035 
00036 };
00037 
00038 #endif /*MIFIMAGEPROVIDER_H*/

Generated by  doxygen 1.6.2