javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/browserpreferences.h
changeset 23 98ccebc37403
parent 21 2a9601315dfc
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
    32     TUint                           iDefaultAccessPoint;
    32     TUint                           iDefaultAccessPoint;
    33     CSwtBrowserApItem*              iDefaultAPDetails;  //cache all data
    33     CSwtBrowserApItem*              iDefaultAPDetails;  //cache all data
    34     TUint                           iAssocVpn;
    34     TUint                           iAssocVpn;
    35     TBool                           iAccessPointSelectionMode;
    35     TBool                           iAccessPointSelectionMode;
    36     TBool                           iAutoLoadImages;
    36     TBool                           iAutoLoadImages;
    37     TInt                            iFontSize;
    37     TUint                           iFontSize;
    38     TBool                           iTextWrap;
    38     TBool                           iTextWrap;
    39     TWmlSettingsCookies             iCookies;
    39     TBool                           iCookies;
    40     TBool                           iPageOverview;
    40     TBool                           iPageOverview;
    41     TBool                           iBackList;
    41     TBool                           iBackList;
    42     TBool                           iAutoRefresh;
    42     TBool                           iAutoRefresh;
    43     TWmlSettingsECMA                iEcma;
    43     TBool                           iEcma;
    44     TWmlSettingsIMEI                iIMEINotification;
    44     TBool                           iIMEINotification;
    45     TUint32                         iEncoding;
    45     TUint32                         iEncoding;
    46     TWmlSettingsFullScreen          iFullScreen;
    46     TBool                           iFullScreen;
    47     TBool                           iQueryOnExit;
    47     TBool                           iQueryOnExit;
    48     TBool                           iSendReferrer;
    48     TBool                           iSendReferrer;
    49     TWmlSettingsHomePage            iHomePgType;
    49     TUint                           iHomePgType;
    50     TBool                           iHTTPSecuritySupressed;
    50     TBool                           iHTTPSecuritySupressed;
    51     TBool                           iConnDialogs;
    51     TBool                           iConnDialogs;
    52     TBool                           iHttpSecurityWarnings;
    52     TBool                           iHttpSecurityWarnings;
    53     TInt                            iMediaVolume;
    53     TUint                           iMediaVolume;
    54     HBufC*                          iSearchPgURL;
    54     HBufC*                          iSearchPgURL;
    55     HBufC*                          iHomePgURL;
    55     HBufC*                          iHomePgURL;
    56     TBool                           iPopupBlocking;
    56     TBool                           iPopupBlocking;
    57     TWmlSettingsFormData            iFormDataSaving;
    57     TUint                           iFormDataSaving;
    58     TWmlSettingsAutomaticUpdating   iAutomaticUpdating;
    58     TUint                           iAutomaticUpdating;
    59     TUint                           iAutomaticUpdatingAP;
    59     TUint                           iAutomaticUpdatingAP;
       
    60     TUint                           iZoomMin;
       
    61     TUint                           iZoomMax;
       
    62     TUint                           iZoomDef;
    60 };
    63 };
    61 
    64 
    62 
    65 
    63 /**
    66 /**
    64  * Enum for MPreferencesObserver
    67  * Enum for MPreferencesObserver
   104     /**
   107     /**
   105      * Returns a structure containing all of the settings according to the
   108      * Returns a structure containing all of the settings according to the
   106      * central repository values
   109      * central repository values
   107      * @return Returns references of TPreferencesValues which contains all preferences
   110      * @return Returns references of TPreferencesValues which contains all preferences
   108      */
   111      */
   109     virtual const TPreferencesValues& AllPreferencesL() = 0;
   112     virtual const TPreferencesValues& AllPreferences() const = 0;
   110 
   113 
   111     /**
   114     /**
   112      * To access DefaultAccessPoint setting
   115      * To access DefaultAccessPoint setting
   113      * @return UID for default accesspoint
   116      * @return UID for default accesspoint
   114      */
   117      */
   214 
   217 
   215     /**
   218     /**
   216      * To access Cookies setting
   219      * To access Cookies setting
   217      * @return TWmlSettingsCookies
   220      * @return TWmlSettingsCookies
   218      */
   221      */
   219     virtual TWmlSettingsCookies Cookies() const = 0;
   222     virtual TBool Cookies() const = 0;
   220 
   223 
   221     /**
   224     /**
   222      * To access ECMA setting
   225      * To access ECMA setting
   223      * @return TWmlSettingsECMA
   226      * @return TWmlSettingsECMA
   224      */
   227      */
   225     virtual TWmlSettingsECMA Ecma() const = 0;
   228     virtual TBool Ecma() const = 0;
   226 
   229 
   227     /**
   230     /**
   228      * Get IMEI notification setting
   231      * Get IMEI notification setting
   229      * @return EWmlSettingsIMEIEnable if notification is enabled,
   232      * @return EWmlSettingsIMEIEnable if notification is enabled,
   230      * otherwise EWmlSettingsIMEIDisable
   233      * otherwise EWmlSettingsIMEIDisable
   231      */
   234      */
   232     virtual TWmlSettingsIMEI IMEINotification() const = 0;
   235     virtual TBool IMEINotification() const = 0;
   233 
   236 
   234     /**
   237     /**
   235      * Sends/Don not send the referrer header
   238      * Sends/Don not send the referrer header
   236      * 0 = Do not send the referrer header
   239      * 0 = Do not send the referrer header
   237      * 1 = Send the referrer header
   240      * 1 = Send the referrer header
   247 
   250 
   248     /**
   251     /**
   249      * To access Form Data Saving setting.
   252      * To access Form Data Saving setting.
   250      * @return value of setting
   253      * @return value of setting
   251      */
   254      */
   252     virtual TWmlSettingsFormData FormDataSaving() const = 0;
   255     virtual TUint FormDataSaving() const = 0;
   253 
   256 
   254     /**
   257     /**
   255      * Adds an observer to be notified about changes. Derived classes MUST
   258      * Adds an observer to be notified about changes. Derived classes MUST
   256      * notify all observers when preferences changed!
   259      * notify all observers when preferences changed!
   257      * @param anObserver Observer to be notified about events.
   260      * @param anObserver Observer to be notified about events.