webengine/osswebengine/WebKit/s60/webview/SettingsContainer.h
changeset 5 10e98eab6f85
parent 0 dd21522fd290
child 26 cb62a4f66ebe
--- a/webengine/osswebengine/WebKit/s60/webview/SettingsContainer.h	Fri May 08 08:25:06 2009 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/SettingsContainer.h	Fri Jul 03 15:54:40 2009 +0100
@@ -28,11 +28,12 @@
 class SettingsContainer
 {
 public:
+    enum NavigationType { NavigationTypeCursor, NavigationTypeTabbed, NavigationTypeNone };
     SettingsContainer(WebView* view, HistoryControllerInterface* historyProvider);
     unsigned int brctlSetting(TBrCtlDefs::TBrCtlSettings setting);
     void setBrctlSetting(TBrCtlDefs::TBrCtlSettings setting, unsigned int value);
-    void setTabbedNavigation(bool on_) { m_tabbedNaviOn = on_; }
-    bool getTabbedNavigation() const { return m_tabbedNaviOn; }
+    void setNavigationType(NavigationType type) { m_navigationType = type; }
+    NavigationType getNavigationType() const { return m_navigationType; }
 
 private:
     void updatePageSetting(TBrCtlDefs::TBrCtlSettings setting);
@@ -46,7 +47,7 @@
     unsigned int brctlSettings[TBrCtlDefs::ESettingsMaxEnum];
     WebView* m_webView;
     HistoryControllerInterface* m_historyController;
-    bool m_tabbedNaviOn;
+    NavigationType m_navigationType;
 };
 
 #endif // __WEBDOCUMENTLOADER_H__