Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

What's the difference between these two - ISHELL_SetAppPref & ISHELL_SetPref?

I couldn't make it out from the documentation.

Regards

holysmoke wrote:What's the difference between these two - ISHELL_SetAppPref & ISHELL_SetPref?
SetPrefs() also takes the class ID of the app to store the prefs under.
-Erik

holysmoke wrote:What's the difference between these two - ISHELL_SetAppPref & ISHELL_SetPref?
SetPrefs() also takes the class ID of the app to store the prefs under.
-Erik

ebrowne wrote:SetPrefs() also takes the class ID of the app to store the prefs under.
So what's the difference? Both of them save preferences at same locations?
Regards

ebrowne wrote:SetPrefs() also takes the class ID of the app to store the prefs under.
So what's the difference? Both of them save preferences at same locations?
Regards

well, looks like SetAppPrefs() only exists since brew 2.0.. so you need to use SetPrefs for 1.x devices.. otherwise, id assume that SetAppPrefs() probably does the exact same thing as SetPrefs, except it specifies the apps classid for you.. in other words a slight simplification of the code.
-Tyndal

well, looks like SetAppPrefs() only exists since brew 2.0.. so you need to use SetPrefs for 1.x devices.. otherwise, id assume that SetAppPrefs() probably does the exact same thing as SetPrefs, except it specifies the apps classid for you.. in other words a slight simplification of the code.
-Tyndal

tyndal wrote:well, looks like SetAppPrefs() only exists since brew 2.0.. so you need to use SetPrefs for 1.x devices.. otherwise, id assume that SetAppPrefs() probably does the exact same thing as SetPrefs, except it specifies the apps classid for you.. in other words a slight simplification of the code.
-Tyndal
Hi All,
I am unable to understand what Ishell_SetPrefs() actually does??Can anybody help to make me understand??
Thanks in advance......

tyndal wrote:well, looks like SetAppPrefs() only exists since brew 2.0.. so you need to use SetPrefs for 1.x devices.. otherwise, id assume that SetAppPrefs() probably does the exact same thing as SetPrefs, except it specifies the apps classid for you.. in other words a slight simplification of the code.
-Tyndal
Hi All,
I am unable to understand what Ishell_SetPrefs() actually does??Can anybody help to make me understand??
Thanks in advance......

Ishell_SetPrefs() is used to store the persistant data. data is stored in prefs.dat file
Thanks,
Mahesh

Ishell_SetPrefs() is used to store the persistant data. data is stored in prefs.dat file
Thanks,
Mahesh