email/imum/Utils/Inc/IMSWizardControl.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 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:  Control class for mailbox wizard help screen
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CIMSWizardControl_H__
       
    20 #define __CIMSWizardControl_H__
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 
       
    24 class CAknsBasicBackgroundControlContext;
       
    25 class CEikRichTextEditor;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  Control for mailbox wizard first page rich text editor help screen
       
    31 *
       
    32 *  @lib IMUMUTILS.DLL
       
    33 *  @since S60 3.2
       
    34 */
       
    35 
       
    36 NONSHARABLE_CLASS( CIMSWizardControl ) : public CEikBorderedControl
       
    37     {
       
    38     public: // Constructors and destructors
       
    39 
       
    40         /**
       
    41         * Constructor.
       
    42         */
       
    43         CIMSWizardControl();
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         * @since S60 3.2
       
    48         */
       
    49         ~CIMSWizardControl();
       
    50 
       
    51     public: // Functions from base classes
       
    52 
       
    53         /**
       
    54         * From CCoeControl
       
    55         * @since S60 3.2
       
    56         */
       
    57         void ConstructFromResourceL( TResourceReader& aReader );
       
    58 
       
    59         /**
       
    60         * From CCoeControl
       
    61         * @since S60 3.2
       
    62         */
       
    63         void SizeChanged();
       
    64 
       
    65         /**
       
    66         * From CCoeControl.
       
    67         * @since S60 3.2
       
    68         */
       
    69         void Draw( const TRect& aRect ) const;
       
    70 
       
    71         /**
       
    72         * From CCoeControl
       
    73         * @since S60 3.2
       
    74         */
       
    75         TInt CountComponentControls() const;
       
    76 
       
    77         /**
       
    78         * From CCoeControl
       
    79         * @since S60 3.2
       
    80         */
       
    81         CCoeControl* ComponentControl( TInt aIndex ) const;
       
    82 
       
    83         /**
       
    84         * From CCoeControl
       
    85         * @since S60 3.2
       
    86         */
       
    87         void HandleResourceChange( TInt aType );
       
    88 
       
    89         /**
       
    90         * Sets background control context
       
    91         * @since S60 3.2
       
    92         */
       
    93         void SetBackgroundContext( MAknsControlContext* aContext );
       
    94 
       
    95     private: // data
       
    96         
       
    97         // Rich text editor.
       
    98         CEikRichTextEditor* iEditor;
       
    99 
       
   100         // Background context.
       
   101         MAknsControlContext* iBgContext;
       
   102         
       
   103         
       
   104     };
       
   105 
       
   106 #endif // __CIMSWizardControl_H__