bluetoothengine/bthid/bthidkbdsettings/inc/bthidsettinglist.h
branchRCL_3
changeset 56 9386f31cc85b
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
       
     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 settings list class.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BTHIDSETTINGLIST_H__
       
    20 #define __BTHIDSETTINGLIST_H__
       
    21 
       
    22 #include <aknsettingitemlist.h>
       
    23 
       
    24 class CBtHidSettings;
       
    25 class CBtHidSettingView;
       
    26 
       
    27 class CBTKeySettingList : public CAknSettingItemList
       
    28     {
       
    29 public:
       
    30     CBTKeySettingList(CBtHidSettings& aSettings,
       
    31             CBtHidSettingView* aBtHidSettingView);
       
    32 
       
    33     CAknSettingItem* CreateSettingItemL(TInt identifier);
       
    34 
       
    35     // handles the listbox events
       
    36     void HandleListBoxEventL(CEikListBox* aListBox,
       
    37             TListBoxEvent aEventType);
       
    38 
       
    39     void EditCurrentItemL(TInt aCommand);
       
    40 
       
    41 private:
       
    42     void SizeChanged();
       
    43 
       
    44 private:
       
    45     // From CCoeControl
       
    46 
       
    47 private:
       
    48     /*! A reference to the BtHidSettings object */
       
    49     CBtHidSettings& iSettings;
       
    50 
       
    51     /*! Temporary layout code variable */
       
    52     TInt iLayoutCode;
       
    53 
       
    54     CBtHidSettingView* iBtHidSettingView;
       
    55     };
       
    56 
       
    57 #endif
       
    58