bluetoothengine/bthid/bthidkbdsettings/inc/bthidsettingcontainer.h
changeset 0 f63038272f30
child 14 f7fbeaeb166a
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Declares setting container class.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTHIDSETTINGCONTAINER_H
       
    20 #define BTHIDSETTINGCONTAINER_H
       
    21 
       
    22 /**
       
    23  *  CBTHidSettingContainer  
       
    24  *  container control class.
       
    25  */
       
    26 class CBTHidSettingContainer : public CCoeControl, public MCoeControlObserver
       
    27     {
       
    28 public:
       
    29     // Constructors and destructor
       
    30 
       
    31     /**
       
    32      * EPOC default constructor.
       
    33      * @param aRect Frame rectangle for container.
       
    34      */
       
    35     void ConstructL(const TRect& aRect);
       
    36 
       
    37     /**
       
    38      * Constructs common parts of the container.
       
    39      * @param aRect control's rect.
       
    40      */
       
    41     void BaseConstructL(const TRect& aRect);
       
    42 
       
    43     /**
       
    44      * Destructor.
       
    45      */
       
    46     ~CBTHidSettingContainer();
       
    47 
       
    48 private:
       
    49     // Functions from base classes
       
    50 
       
    51     /**
       
    52      * From CCoeControl,Draw.
       
    53      */
       
    54     void Draw(const TRect& aRect) const;
       
    55 
       
    56     /**
       
    57      * From CCoeControl
       
    58      */
       
    59     void HandleResourceChange(TInt aType);
       
    60 
       
    61     /**
       
    62      * From CoeControl,SizeChanged.
       
    63      */
       
    64     void SizeChanged();
       
    65 
       
    66     /**
       
    67      * From CoeControl,CountComponentControls.
       
    68      */
       
    69     TInt CountComponentControls() const;
       
    70 
       
    71     /**
       
    72      * From CCoeControl,ComponentControl.
       
    73      */
       
    74     CCoeControl* ComponentControl(TInt aIndex) const;
       
    75 
       
    76     /**
       
    77      * From MCoeControlObserver
       
    78      */
       
    79     void HandleControlEventL(CCoeControl* aControl, TCoeEvent aEventType);
       
    80 
       
    81     /**
       
    82      * Pass skin information if needed.
       
    83      */
       
    84     TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
       
    85 
       
    86     /**
       
    87      * From CCoeControl
       
    88      */
       
    89     //void GetHelpContext(TCoeHelpContext& aContext) const;
       
    90 
       
    91 private:
       
    92     //data
       
    93     CAknsBasicBackgroundControlContext* iBackGround; //for skins support
       
    94 
       
    95 
       
    96     };
       
    97 
       
    98 #endif // BTHIDSETTINGCONTAINER_H
       
    99 // End of File