pkiutilities/CertSaver/inc/CertSaverContainer.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2003-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:   Declaration of class CCertSaverContainer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CERTSAVERCONTAINER_H
       
    20 #define CERTSAVERCONTAINER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <coecntrl.h>
       
    24 #include <AknsBasicBackgroundControlContext.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 class CCertSaverContainer : public CCoeControl
       
    33   {
       
    34 public:
       
    35 
       
    36         /**
       
    37         * Second-phase constructor.
       
    38         */
       
    39         void ConstructL( const TRect& aRect );
       
    40 
       
    41         /**
       
    42         * Destructor.
       
    43         */
       
    44         ~CCertSaverContainer();
       
    45 
       
    46 
       
    47 public:
       
    48         /**
       
    49         * From CCoeControl : Return count of controls contained in a compound control.
       
    50         * @return Count of controls contained in a compound control
       
    51         */
       
    52         TInt CountComponentControls() const;
       
    53 
       
    54         /**
       
    55         * From CCoeControl : Get the components of a compound control
       
    56         * @param aIndex : index of control
       
    57         * @return Control of argument aIndex
       
    58         */
       
    59         CCoeControl* ComponentControl( TInt aIndex ) const;
       
    60 
       
    61         /**
       
    62         * From CCoeControl : Notifier for changing language
       
    63         * @param aType : Type of resource change
       
    64         */
       
    65         void HandleResourceChange( TInt aType );
       
    66 
       
    67 
       
    68 private:
       
    69         /**
       
    70         * From CCoeControl : Clear whole rectangle.
       
    71         * @param aRect : rectangle of control
       
    72         */
       
    73         void Draw( const TRect& aRect ) const;
       
    74 
       
    75         /**
       
    76         * From CCoeControl : Control size is set.
       
    77         */
       
    78         void SizeChanged();
       
    79 
       
    80         /**
       
    81         * From CCoeControl.
       
    82         * Pass skin information if need.
       
    83         */
       
    84         TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
       
    85 
       
    86 private:
       
    87         CAknsBasicBackgroundControlContext* iBgContext;
       
    88   };
       
    89 
       
    90 #endif
       
    91 
       
    92 // End of File