examples/SFExamples/Wikipedia/inc/DetailContainer.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 __DETAIL_CONTAINER_H__
00020 #define __DETAIL_CONTAINER_H__
00021 
00022 // INCLUDES
00023 #include "BrowserContainer.h"
00024 
00025 // FORWARD DECLARATION
00026 class CWikiDb;
00027 class CDetailView;
00028 
00029 // CLASS DECLARATION
00030 
00036 class CDetailContainer : public CBrowserContainer, public MBrCtlLoadEventObserver
00037     {
00038     public:  // Constructors and destructor
00039 
00047         static CDetailContainer* NewL( const TRect& aRect, CDetailView& aView );
00048 
00056         static CDetailContainer* NewLC( const TRect& aRect, CDetailView& aView );
00057 
00063         void ConstructL( const TRect& aRect );
00064         
00065     private: // Constructor
00066     
00071         CDetailContainer( CDetailView& aView );
00072         
00073     public: // from CoeControl
00074         
00083         TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, 
00084              TEventCode aType );
00085 
00086     public: // from MBrCtlLoadEventObserver
00087     
00088         void HandleBrowserLoadEventL ( TBrCtlDefs::TBrCtlLoadEvent aLoadEvent,
00089                 TUint aSize, TUint16 aTransactionId ); 
00090         
00091     private: // Member data
00092         
00093         CWikiDb& iWikiEngine;
00094         
00095         TBool iOnlineConfirmed;
00096     };
00097 
00098 #endif // __DETAIL_CONTAINER_H__
00099 
00100 // End of File

Generated by  doxygen 1.6.2