omads/omadsappui/ui/inc/NSmlDSSyncContainer.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:30:02 +0100
branchRCL_3
changeset 52 4f0867e42d62
parent 0 dab8a81a92de
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2005 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: Datasync app view container
*
*/


#ifndef NSMLDSSYNC_CONTAINER_H
#define NSMLDSSYNC_CONTAINER_H

// INCLUDES
#include <coecntrl.h>


// CLASS DECLARATION


/**
*  Class CNSmlDSSyncContainer.
*  
*/
class CNSmlDSSyncContainer : public CCoeControl, MCoeControlObserver
    {
    public: // Constructors and destructor
        
        /**
        * By default Symbian OS constructor is private.
        */
        void ConstructL(const TRect& aRect);

        /**
        * Destructor.
        */
        ~CNSmlDSSyncContainer();
        
    private: // Functions from base classes

       /**
        * From CoeControl,SizeChanged.
		* @param None. 
    	* @return None.
        */
        void SizeChanged();

       /**
        * From CoeControl,CountComponentControls.
		* @param None. 
    	* @return Component count.
        */
        TInt CountComponentControls() const;

       /**
        * From CCoeControl,ComponentControl.
		* @param aIndex. 
    	* @return CCoeControl.
        */
        CCoeControl* ComponentControl(TInt aIndex) const;

       /**
        * From CCoeControl,Draw.
		* @param aEventType	The type of control event 
    	* @return None
        */
        void Draw(const TRect& aRect) const;
       	
		/**
		* From MCoeControlObserver
		* Acts upon changes in the hosted control's state. 
		* @param aControl The control changing its state
		* @param aEventType	The type of control event 
    	* @return None
		*/
        void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
        
		/**
		* From base class.
		* Called when UI layout changes. 
		* @param aType.
    	* @return None.
		*/
        void HandleResourceChange(TInt aType);
    };


#endif  // NSMLDSSYNC_CONTAINER_H



// End of File