phonebookui/Phonebook/View/inc/MPbkThumbnailPopupControl.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Phonebook phone number formatting interface.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MPBKTHUMBNAILPOPUPCONTROL_H
       
    21 #define MPBKTHUMBNAILPOPUPCONTROL_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include    <eiklbx.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  * Phonebook thumbnail popup control interface
       
    31  */
       
    32 class MPbkThumbnailPopupControl
       
    33     {
       
    34     public:
       
    35         /**
       
    36          * Virtual destructor.
       
    37          */
       
    38         virtual ~MPbkThumbnailPopupControl()
       
    39 			{
       
    40 			}
       
    41 
       
    42         /**
       
    43          * Change the bitmap aBitmap in the control.
       
    44          * Takes ownership of the bitmap
       
    45          * @aBitmap 
       
    46          * @aListBox if given and landscape is on
       
    47          *           it is used to set thumbnail near focus
       
    48          */
       
    49         virtual void ChangeBitmap( CFbsBitmap* aBitmap, CEikListBox* aListBox ) = 0;
       
    50 
       
    51         /**
       
    52          * Change the thumnail background.
       
    53          * Takes ownership of the bitmap
       
    54          */
       
    55         virtual void SetThumbnailBackg( CFbsBitmap* aThumbBackg, CFbsBitmap* aThumbBackgMask ) = 0;
       
    56         
       
    57         /* Calls CoeControl MakeVisible(ETrue) and DrawDeferred*/
       
    58         virtual void MakeControlVisible( TBool aVisible ) = 0;
       
    59     };
       
    60 
       
    61 #endif // MPBKTHUMBNAILPOPUPCONTROL_H
       
    62 
       
    63 // End of File