phoneuis/BubbleManager/Inc/BMBubbleImage.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2003-2005 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 *       Thin wrapper over CEikImage to make sure that 
       
    16 *       AknsUtils::RegisterControlPosition is called.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef BMBUBBLEIMAGE_H
       
    22 #define BMBUBBLEIMAGE_H
       
    23 
       
    24 // INCLUDES  
       
    25 #include    <eikimage.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  CBubbleImage control class
       
    32 *
       
    33 *  @lib bubblemanager
       
    34 *  @since 2.0
       
    35 */
       
    36 class CBubbleImage : public CEikImage
       
    37     {    
       
    38     public: // Constructors and destructor
       
    39         
       
    40         /**
       
    41         * Constructor.
       
    42         */
       
    43         CBubbleImage();
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         ~CBubbleImage();
       
    49 
       
    50     public: // New functions
       
    51         void SetAsBackgroundImage( TBool aIsBackground );
       
    52         
       
    53     private: // Functions from base classes
       
    54         
       
    55         /**
       
    56         * From CCoeControl
       
    57         */
       
    58         void SizeChanged();
       
    59 
       
    60         /**
       
    61         * From CCoeControl
       
    62         */
       
    63         void PositionChanged();
       
    64 
       
    65     private: // Data
       
    66         TBool iIsBackgroundImage;
       
    67     
       
    68     };
       
    69 
       
    70 #endif // BUBBLEPLACE_H
       
    71 
       
    72 // End of File