presencesettingsui/inc/psuigsplugincontainer.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:37:41 +0200
changeset 12 e6a66db4e9d0
parent 0 c8caa15ef882
child 13 b7e70c0792e6
permissions -rw-r--r--
Revision: 201005 Kit: 201011

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:    Header for Presence Settings UI GS plugin container.
*
*/




#ifndef PSUIGSPLUGINCONTAINER_H
#define PSUIGSPLUGINCONTAINER_H

// INCLUDES
#include <GSBaseContainer.h>

// FORWARD DECLARATIONS
class CPSUIGSPlugin;

// CLASS DECLARATION

/**
* CPSUIGSPluginContainer container class
* @since Series60_3.2
*/
class CPSUIGSPluginContainer : public CGSBaseContainer
    {
    public: // Constructors and destructor
        
        /**
        * Default constructor.
        */        
        CPSUIGSPluginContainer( CPSUIGSPlugin* aView );

        /**
        * Destructor.
        */
        ~CPSUIGSPluginContainer();
    
    private: // Functions from base classes
        
        /**
        * From CGSBaseContainer
        * See base class.        
        */    
        void ConstructListBoxL( TInt aResLbxId );

        /**
        * From CGSBaseContainer
        * See base class.        
        */    
        TKeyResponse OfferKeyEventL( 
            const TKeyEvent& aKeyEvent,
            TEventCode aType );        

        /**
        * From CCoeControl
        * See base class.        
        */ 
        void GetHelpContext( TCoeHelpContext& aContext ) const;
        
    private: // New

        /**
        * Sets empty texts to listbox
        *
        * @param none
        */
        void SetEmptyTextsToListboxL();

    private: // Constructor
    
        /**
        * Symbian OS constructor.
        *
        * @param aRect Listbox's rect.
        */
        void ConstructL( const TRect& aRect );
        
    private: // Data
    
        // Handle to view        
        CPSUIGSPlugin* iView; // not owned
    };

#endif //PSUIGSPLUGINCONTAINER_H   
// End of File