phonebookui/Phonebook2/UIControls/inc/MPbk2ThumbnailPopupControl.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 18:22:55 +0300
branchRCL_3
changeset 17 2666d9724c76
parent 0 e686773b3f54
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2005-2007 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:  Phonebook 2 thumbnail popup control interface.
*
*/


#ifndef MPBK2THUMBNAILPOPUPCONTROL_H
#define MPBK2THUMBNAILPOPUPCONTROL_H

// FORWARD DECLARATIONS
class CEikListBox;
class CFbsBitmap;

// CLASS DECLARATION

/**
 * Phonebook 2 thumbnail popup control interface.
 */
class MPbk2ThumbnailPopupControl
    {
    public: // Interface

        /**
         * Virtual destructor.
         */
        virtual ~MPbk2ThumbnailPopupControl()
            {}

        /**
         * Changes the given bitmap to the control.
         * Takes ownership of the bitmap.
         *
         * @param aBitmap   The bitmap to show.
         */
        virtual void SetBitmap(CFbsBitmap* aBitmap) = 0;

        /**
         * Changes the thumbnail background.
         * No ownership transfer.
         *
         * @param aThumbBackg       Thumbnail background.
         * @param aThumbBackgMask   Thumbnail background mask.
         */
        virtual void SetThumbnailBackg(
                CFbsBitmap* aThumbBackg,
                CFbsBitmap* aThumbBackgMask ) = 0;

        /**
         * Shows or hides the control.
         *
         * @param aVisible      If ETrue the control is shown,
         *                      if EFalse it is hidden.
         */
        virtual void MakeControlVisible(
                TBool aVisible ) = 0;
    };

#endif // MPBK2THUMBNAILPOPUPCONTROL_H

// End of File