filemanager/View/inc/CFileManagerCheckBoxSettingPage.h
changeset 0 6a9f87576119
equal deleted inserted replaced
-1:000000000000 0:6a9f87576119
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Checkbox setting page
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_FILEMANAGERCHECKBOXSETTINGPAGE_H
       
    21 #define C_FILEMANAGERCHECKBOXSETTINGPAGE_H
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include <akncheckboxsettingpage.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30  *  This class implements checkbox setting page
       
    31  *
       
    32  *  @lib FileManagerView.lib
       
    33  *  @since S60 3.1
       
    34  */
       
    35 NONSHARABLE_CLASS(CFileManagerCheckBoxSettingPage) :
       
    36         public CAknCheckBoxSettingPage
       
    37     {
       
    38 
       
    39 public:
       
    40 	/**
       
    41      * Constructor.
       
    42 	 * @see CAknCheckBoxSettingPage
       
    43      */
       
    44     CFileManagerCheckBoxSettingPage(
       
    45         const TInt aResourceID,
       
    46         CSelectionItemList& aItemArray,
       
    47         const TInt aDominantItemIndex );
       
    48 
       
    49     ~CFileManagerCheckBoxSettingPage();
       
    50 
       
    51 private: // From CAknCheckBoxSettingPage
       
    52     void UpdateSettingL();
       
    53 
       
    54 private: // New functions
       
    55     void UpdateSelection();
       
    56 
       
    57 private: // Data
       
    58     /**
       
    59      * Pointer to items array
       
    60      * Not own.
       
    61      */
       
    62     CSelectionItemList& iItemsArray;
       
    63 
       
    64     /**
       
    65      * Index of the dominant item
       
    66      */
       
    67     TInt iDominantItemIndex;
       
    68 
       
    69     };
       
    70 
       
    71 #endif // C_FILEMANAGERCHECKBOXSETTINGPAGE_H
       
    72 
       
    73 // End of File