contentstorage/caclient/s60/inc/cabitmapadapter.h
author hgs
Fri, 06 Aug 2010 13:40:46 +0300
changeset 107 b34d53f6acdf
parent 96 5d243a69bdda
permissions -rw-r--r--
201031

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:
 *
 */

#ifndef BITMAPADAPTER_H
#define BITMAPADAPTER_H

// INCLUDES

// CLASS DECLARATION
#include <QList>

class CFbsBitmap;

/**
 *  CaBitmapAdapter
 *
 */
class CaBitmapAdapter
{
public:
    
    /**
     * Convert from bitmap and mask to qpixmap
     * @param input bitmap.
     * @param pixmap to prepare.
     * @return void.
     */
    static void fromBitmapAndMaskToPixmapL(CFbsBitmap* fbsBitmap, CFbsBitmap* fbsMask, QPixmap& pixmap);

};

#endif // BITMAPADAPTER_H