browserui/browser/BrowserAppInc/Preferences.h
changeset 10 57d5b8e231c4
parent 0 84ad3b177aa3
child 19 16a119033e3e
--- a/browserui/browser/BrowserAppInc/Preferences.h	Mon Mar 30 12:49:49 2009 +0300
+++ b/browserui/browser/BrowserAppInc/Preferences.h	Fri May 08 08:18:43 2009 +0300
@@ -134,6 +134,8 @@
 	TUint32							iZoomLevelMax;
 	TUint32							iZoomLevelDefault;
 	TInt							iMaxRecentUrlsToShow;
+    TBool                           iSearch;                // Search Feature
+    TBool                           iService;               // Service Feature
     };
 
 /**
@@ -804,6 +806,31 @@
 		* Maximum Recent URLs to show
         */
         virtual TInt MaxRecentUrls() const = 0;
+
+        /**
+        * Search Feature Enabled or Disabled. 
+        */
+        virtual inline TBool SearchFeature() const = 0;
+        
+        /**
+        * Service Feature Enabled or Disabled. 
+        */
+        virtual inline TBool ServiceFeature() const = 0;
+                
+        /**
+        * To access an int value key in ini file
+        * @param aKey the ini file key to read
+        * @return the value of the given key
+        */
+        virtual TInt GetIntValue( TUint32 aKey) const = 0;
+
+        /**
+        * To access an string value key in ini file
+        * @param aKey the ini file key to read
+        * @return the value of the given key
+        */
+        virtual TInt GetStringValueL ( TUint32 aKey, TInt aMaxBufSize, TDes& aBuf ) const = 0;
+
         
     public:     // observer support