psln/Inc/PslnScreenSaverContainer.h
changeset 37 89c890c70182
parent 34 6b5204869ed5
child 45 667edd0b8678
equal deleted inserted replaced
34:6b5204869ed5 37:89c890c70182
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Container for screen saver view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_PSLNSCREENSAVERCONTAINER_H
       
    21 #define C_PSLNSCREENSAVERCONTAINER_H
       
    22 
       
    23 #include "PslnBaseContainer.h"
       
    24 
       
    25 /**
       
    26 *  Container for screen saver view.
       
    27 *  Creates setting items for different types of screen savers.
       
    28 *
       
    29 *  @since S60 v3.1
       
    30 */
       
    31 class CPslnScreenSaverContainer : public CPslnBaseContainer
       
    32     {
       
    33     public:
       
    34 
       
    35         /**
       
    36         * C++ default constructor.
       
    37         */
       
    38         CPslnScreenSaverContainer();
       
    39 
       
    40         /**
       
    41         * By default Symbian 2nd phase constructor is private.
       
    42         * @param aRect Client rect.
       
    43         */
       
    44         void ConstructL( const TRect& aRect );
       
    45 
       
    46         /**
       
    47         * Destructor.
       
    48         */
       
    49         virtual ~CPslnScreenSaverContainer();
       
    50 
       
    51         /**
       
    52         * Updates the whole container.
       
    53         */
       
    54         void UpdateListBoxL();
       
    55 
       
    56     private:
       
    57 
       
    58         /**
       
    59         * From CPslnBaseContainer.
       
    60         * Creates listbox.
       
    61         */
       
    62         void ConstructListBoxL( TInt aResLbxId );
       
    63 
       
    64         /**
       
    65         * From CPslnBaseContainer.
       
    66         * Creates listbox items.
       
    67         */
       
    68         void CreateListBoxItemsL();
       
    69 
       
    70         /* Gets Help context. */
       
    71         void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    72 
       
    73     };
       
    74 
       
    75 #endif      // C_PSLNSCREENSAVERCONTAINER_H
       
    76 
       
    77 // End of File