screengrabber/inc/SGSettingListContainer.h
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     1 /*
       
     2 * Copyright (c) 2009 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 
       
    20 #ifndef SCREENGRABBERSETTINGLISTCONTAINER_H
       
    21 #define SCREENGRABBERSETTINGLISTCONTAINER_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknsettingitemlist.h>
       
    26 #include "SGModel.h"
       
    27  
       
    28 // FORWARD DECLARATIONS
       
    29 class CScreenGrabberModel;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  CScreenGrabberSettingListContainer  container control class.
       
    35 *  
       
    36 */
       
    37 class CScreenGrabberSettingListContainer : public CAknSettingItemList
       
    38     {
       
    39     public: // Constructors and destructor
       
    40         
       
    41         /**
       
    42         * EPOC default constructor.
       
    43         * @param aRect Frame rectangle for container.
       
    44         */
       
    45         void ConstructL(const TRect& aRect);
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         ~CScreenGrabberSettingListContainer();
       
    51 
       
    52     public: // New functions
       
    53         void ShowSettingPageL(TInt aCalledFromMenu);
       
    54 
       
    55     public: // Functions from base classes
       
    56         void HandleResourceChange(TInt aType);
       
    57 
       
    58     private: // Functions from base classes
       
    59 
       
    60         CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
       
    61         void HandleListBoxEventL(CEikListBox *aListBox, TListBoxEvent aEventType);
       
    62 
       
    63     private:
       
    64         void UpdateSettingsL();
       
    65         void SetVisibilitiesOfSettingItems(); 
       
    66 
       
    67     private: //data
       
    68         CScreenGrabberModel*    iModel;
       
    69         TGrabSettings           iGrabSettings;
       
    70 
       
    71 
       
    72     };
       
    73 
       
    74 #endif
       
    75 
       
    76 // End of File