browserui/browser/BrowserAppInc/Preferences.h
changeset 10 57d5b8e231c4
parent 0 84ad3b177aa3
child 19 16a119033e3e
equal deleted inserted replaced
0:84ad3b177aa3 10:57d5b8e231c4
   132 	// Minimum, Maximum and Default (for new page) Zoom Level settings
   132 	// Minimum, Maximum and Default (for new page) Zoom Level settings
   133 	TUint32							iZoomLevelMin;
   133 	TUint32							iZoomLevelMin;
   134 	TUint32							iZoomLevelMax;
   134 	TUint32							iZoomLevelMax;
   135 	TUint32							iZoomLevelDefault;
   135 	TUint32							iZoomLevelDefault;
   136 	TInt							iMaxRecentUrlsToShow;
   136 	TInt							iMaxRecentUrlsToShow;
       
   137     TBool                           iSearch;                // Search Feature
       
   138     TBool                           iService;               // Service Feature
   137     };
   139     };
   138 
   140 
   139 /**
   141 /**
   140 *   Helper enum for MPreferencesObserver
   142 *   Helper enum for MPreferencesObserver
   141 */
   143 */
   802         
   804         
   803    		/**
   805    		/**
   804 		* Maximum Recent URLs to show
   806 		* Maximum Recent URLs to show
   805         */
   807         */
   806         virtual TInt MaxRecentUrls() const = 0;
   808         virtual TInt MaxRecentUrls() const = 0;
       
   809 
       
   810         /**
       
   811         * Search Feature Enabled or Disabled. 
       
   812         */
       
   813         virtual inline TBool SearchFeature() const = 0;
       
   814         
       
   815         /**
       
   816         * Service Feature Enabled or Disabled. 
       
   817         */
       
   818         virtual inline TBool ServiceFeature() const = 0;
       
   819                 
       
   820         /**
       
   821         * To access an int value key in ini file
       
   822         * @param aKey the ini file key to read
       
   823         * @return the value of the given key
       
   824         */
       
   825         virtual TInt GetIntValue( TUint32 aKey) const = 0;
       
   826 
       
   827         /**
       
   828         * To access an string value key in ini file
       
   829         * @param aKey the ini file key to read
       
   830         * @return the value of the given key
       
   831         */
       
   832         virtual TInt GetStringValueL ( TUint32 aKey, TInt aMaxBufSize, TDes& aBuf ) const = 0;
       
   833 
   807         
   834         
   808     public:     // observer support
   835     public:     // observer support
   809 
   836 
   810         /**
   837         /**
   811         * Adds an observer to be notified about changes. Derived classes MUST
   838         * Adds an observer to be notified about changes. Derived classes MUST