webengine/osswebengine/WebKit/s60/webview/BrCtlLayoutObserverImpl.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/webengine/osswebengine/WebKit/s60/webview/BrCtlLayoutObserverImpl.h	Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/BrCtlLayoutObserverImpl.h	Wed Sep 01 12:28:30 2010 +0100
@@ -20,7 +20,10 @@
 #define BRCTLLAYOUTOBSERVERIMPL_H
 
 //  INCLUDES
-#include <BrCtlLayoutObserver.h>
+#include <brctllayoutobserver.h>
+
+//  Forward Declaration
+class WebView;
 
 /**
 *  This observer is notified of scrolling and tabbing events
@@ -62,7 +65,7 @@
         * @param aNewLayout RTL or LTR
         * @return void
         */
-        virtual void NotifyLayoutChange( TBrCtlLayout /*aNewLayout*/ ) {}
+        virtual void NotifyLayoutChange( TBrCtlLayout  aNewLayout );
         
         /**
         * Update the title of the page in history view
@@ -71,6 +74,17 @@
         * @return void
         */
         virtual void UpdateTitleL( const TDesC& /*aTitle*/ ) {}        
+
+    public:
+        /**
+        * C++ default constructor.
+        */
+        CBrCtlLayoutObserver( WebView* aWebView );
+
+    private:
+       WebView*     m_webView;
+
+
     };
 
 #endif      // BRCTLLAYOUTOBSERVERIMPL_H