presencesettingsui/inc/psuigspluginsettingviewcontainer.h
branchRCL_3
changeset 35 fbd2e7cec7ef
parent 0 c8caa15ef882
equal deleted inserted replaced
34:2669f8761a99 35:fbd2e7cec7ef
       
     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:    Header for Presence Settings UI setting view container.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef PSUIGSPLUGINSETTINGVIEWCONTAINER_H
       
    22 #define PSUIGSPLUGINSETTINGVIEWCONTAINER_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknsettingitemlist.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CAknColumnListBox;
       
    29 class CPSUIGSPluginSettingView;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * CPSUIGSPluginSettingViewContainer container class
       
    35 * @since Series60_3.2
       
    36 */
       
    37 class CPSUIGSPluginSettingViewContainer : 
       
    38     public CAknSettingItemList
       
    39     {
       
    40     public: // Constructors and destructor
       
    41         
       
    42         /**
       
    43         * Default constructor.
       
    44         */        
       
    45         CPSUIGSPluginSettingViewContainer( CPSUIGSPluginSettingView* aView );
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         ~CPSUIGSPluginSettingViewContainer();
       
    51    
       
    52     private: // Functions from base classes
       
    53         
       
    54         /**
       
    55         * From CAknSettingItemList
       
    56         * See base class.        
       
    57         */    
       
    58         CAknSettingItem* CreateSettingItemL( TInt aSettingId );
       
    59 
       
    60         /**
       
    61         * From CCoeControl
       
    62         * See base class.        
       
    63         */ 
       
    64         void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    65 
       
    66         /**
       
    67         * From CCoeControl
       
    68         * See base class.        
       
    69         */         
       
    70         void HandleResourceChange(TInt aType);
       
    71 
       
    72         /**
       
    73         * From CCoeControl
       
    74         * See base class.        
       
    75         */         
       
    76         void SizeChanged();      
       
    77 
       
    78     private: // New
       
    79     
       
    80         /**
       
    81         * Update titlepane with setting name
       
    82         *
       
    83         * @param none
       
    84         */
       
    85         void UpdateTitleL();
       
    86 
       
    87     public: // Functions from base classes
       
    88            
       
    89         /**
       
    90         * From CAknSettingItemList
       
    91         * See base class.        
       
    92         */    
       
    93         void EditItemL( TInt aIndex, TBool aCalledFromMenu );
       
    94 
       
    95     public: // New
       
    96     
       
    97         /**
       
    98         * Edit setting which is currently under focus.
       
    99         *
       
   100         * @param none
       
   101         */
       
   102         void EditCurrentItemL();
       
   103         
       
   104     public: // Constructor
       
   105     
       
   106         /**
       
   107         * Symbian OS constructor.
       
   108         *
       
   109         * @param aRect Listbox's rect.
       
   110         */
       
   111         void ConstructL( const TRect& aRect );
       
   112         
       
   113     private: // Data        
       
   114 
       
   115         // Pointer to view
       
   116         CPSUIGSPluginSettingView* iView;
       
   117     };
       
   118 
       
   119 #endif //PSUIGSPLUGINSETTINGVIEWCONTAINER_H   
       
   120 // End of File