examples/sfexamples/Wikipedia/inc/BrowserContainer.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 
00018 
00019 #ifndef __BROWSER_CONTAINER_H__
00020 #define __BROWSER_CONTAINER_H__
00021 
00022 // INCLUDES
00023 #include <aknview.h>
00024 #include <BrCtlInterface.h>
00025 
00026 // FORWARD DECLARATION
00027 class CBrowserView;
00028 
00029 // CLASS DECLARATION
00030 
00036 class CBrowserContainer : public CCoeControl 
00037    {    
00038         public:
00042                 void HandleResourceChange( TInt aType );
00043             
00048             TInt CountComponentControls() const;
00049                                 
00053             void SizeChanged();
00054         
00060         CCoeControl* ComponentControl( TInt aIndex ) const;
00061              
00066             ~CBrowserContainer();
00067             
00068     protected: // Constructors
00074         CBrowserContainer (CBrowserView& aView);
00075         
00081             void ConstructL(const TRect& aRect);
00082     
00083         protected: // New function
00084         
00085                 void ScrollBrowserToTopL();
00086                 
00087     protected:
00088     
00089                 CBrowserView& iView;
00090         
00091                 CBrCtlInterface* iBrowser;
00092    };
00093 
00094 #endif /*__BROWSER_CONTAINER_H__*/
00095 
00096 // End of File

Generated by  doxygen 1.6.2