uifw/AvKon/inc/eikslbProtFactory.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __EIKSLBPROTFACTORY_H__
       
    20 #define __EIKSLBPROTFACTORY_H__
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 class CSettingsProtListBoxItemDrawer;
       
    29 class MTextListBoxModel;
       
    30 class CFont;
       
    31 class CSettingsListBoxData;
       
    32 class CEikListBox;
       
    33 
       
    34 /**
       
    35 * Setting listbox item drawer that is used when 'settings protection'
       
    36 * feature is enabled.
       
    37 */
       
    38 class SettingsProtListBoxItemDrawerFactory
       
    39     {
       
    40     public:
       
    41 
       
    42         /**
       
    43         * Factory function for settings listbox item drawer that is
       
    44         * used when 'settings protection' feature is enabled
       
    45         *
       
    46         * @return If 'settings protection' feature is enabled,
       
    47         *         new CSettingsProtListBoxItemDrawer object.
       
    48         *
       
    49         *         If 'settings protection' feature is disabled, NULL.
       
    50         */
       
    51         static CSettingsProtListBoxItemDrawer* 
       
    52             CreateSettingsProtListBoxItemDrawerL(
       
    53                 MTextListBoxModel* aTextListBoxModel,
       
    54 			    const CFont* aFont,
       
    55 			    CSettingsListBoxData* aSettingsData,
       
    56 			    CEikListBox* aListBox );    
       
    57 
       
    58     private:
       
    59 
       
    60         SettingsProtListBoxItemDrawerFactory();
       
    61     };
       
    62 
       
    63 #endif // __EIKSLBPROTFACTORY_H__
       
    64 
       
    65 // End of File