phonebookui/Phonebook2/UIControls/inc/MPbk2ThumbnailPopupControl.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Phonebook 2 thumbnail popup control interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2THUMBNAILPOPUPCONTROL_H
       
    20 #define MPBK2THUMBNAILPOPUPCONTROL_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class CEikListBox;
       
    24 class CFbsBitmap;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * Phonebook 2 thumbnail popup control interface.
       
    30  */
       
    31 class MPbk2ThumbnailPopupControl
       
    32     {
       
    33     public: // Interface
       
    34 
       
    35         /**
       
    36          * Virtual destructor.
       
    37          */
       
    38         virtual ~MPbk2ThumbnailPopupControl()
       
    39             {}
       
    40 
       
    41         /**
       
    42          * Changes the given bitmap to the control.
       
    43          * Takes ownership of the bitmap.
       
    44          *
       
    45          * @param aBitmap   The bitmap to show.
       
    46          */
       
    47         virtual void SetBitmap(CFbsBitmap* aBitmap) = 0;
       
    48 
       
    49         /**
       
    50          * Changes the thumbnail background.
       
    51          * No ownership transfer.
       
    52          *
       
    53          * @param aThumbBackg       Thumbnail background.
       
    54          * @param aThumbBackgMask   Thumbnail background mask.
       
    55          */
       
    56         virtual void SetThumbnailBackg(
       
    57                 CFbsBitmap* aThumbBackg,
       
    58                 CFbsBitmap* aThumbBackgMask ) = 0;
       
    59 
       
    60         /**
       
    61          * Shows or hides the control.
       
    62          *
       
    63          * @param aVisible      If ETrue the control is shown,
       
    64          *                      if EFalse it is hidden.
       
    65          */
       
    66         virtual void MakeControlVisible(
       
    67                 TBool aVisible ) = 0;
       
    68     };
       
    69 
       
    70 #endif // MPBK2THUMBNAILPOPUPCONTROL_H
       
    71 
       
    72 // End of File