ImagePrint/ImagePrintUI/imageprintapp/inc/cimageprintblankcontainer.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     1 /*
       
     2 * Copyright (c) 2004-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CIMAGEPRINTBLANKCONTAINER_H
       
    20 #define CIMAGEPRINTBLANKCONTAINER_H
       
    21 
       
    22 #include <coecntrl.h>
       
    23 
       
    24 class CAknViewAppUi;
       
    25 class CAknsListBoxBackgroundControlContext;
       
    26 
       
    27 //  CLASS DEFINITION
       
    28 /**
       
    29  * CImagePrintBlankContainer is used to show white background before
       
    30  * the CImagePrintView is launched
       
    31  */
       
    32 class CImagePrintBlankContainer
       
    33     : public CCoeControl
       
    34 	{
       
    35 
       
    36     public: // Constructors and destructor
       
    37 
       
    38         /**
       
    39          *  Two-phase constructor
       
    40          *
       
    41          *  @param aRect  ClientRect of the owner control
       
    42          *
       
    43          *  @return Initialized instance of CImagePrintBlankContainer
       
    44          */        
       
    45         static CImagePrintBlankContainer* NewL( TRect& aRect );
       
    46 		static CImagePrintBlankContainer* NewLC( TRect& aRect );
       
    47 		
       
    48 	    /**
       
    49          * Destructor
       
    50          */
       
    51         virtual ~CImagePrintBlankContainer();
       
    52 	
       
    53 	public:  //Scalable UI
       
    54 	    void HandleResourceChange( TInt aType );
       
    55 	
       
    56 	protected: // 2:nd phase constructor and default constructor
       
    57 
       
    58 		/**
       
    59          *  2:nd phase constructor
       
    60          *
       
    61          *  @param aRect  ClientRect of the owner control
       
    62          */
       
    63         void ConstructL( const TRect& aRect );
       
    64 
       
    65 		CImagePrintBlankContainer();
       
    66     
       
    67     private: // Methods derived from CCoeControl
       
    68         
       
    69         void Draw( const TRect& aRect ) const;		
       
    70         	
       
    71     private:    // Data
       
    72         
       
    73         // Skin control context for drawing the background bitmap
       
    74         CAknsListBoxBackgroundControlContext* iSkinControlContext;
       
    75 	};
       
    76 
       
    77 #endif   // CIMAGEPRINTBLANKCONTAINER_H
       
    78 
       
    79 //  End of File