From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Wed Apr 24 2002 - 02:14:57 EDT
--- "Kenneth J.Davis" <jeremyd@computer.org> wrote: >
Hello,
>
> From a plugin I can read and write stuff to the
> preference file.
> Which scheme should I write my settings into? (I
> currently create
> one for my plugin and maintain my settings in it,
> thus I don't have to
> worry about my option names corresponding to
> AbiWord's, nor do
> I have to change the currently selected scheme to
> access the values.)
> I want to use the preference file, as I believe this
> will allow the
> plugin to store information in a cross platform
> manner (that is, without
> extra platform specific logic for where to place a
> configuration file
> or using platform specific features such as the
> registry on Windows).
>
> What I am not sure of is mostly, should I
> a) not be writing anything to the preference file
> or
> b) using some other means than a prefsScheme or
> c) write my settings to a _plugin_ Scheme using
> option names
> prefixed with the plugin name (ie a scheme for
> all plugins to share) or
> d) what I do now, unique plugin specific scheme or
> e) something else?
How about we put APIs in the AbiWord core especially
for the plugins to access/modify the profiles/
preferences?
Andrew Dunbar.
> Thank you,
> Jeremy Davis
> jeremyd@computer.org
>
=====
http://linguaphile.sourceforge.net http://www.abisource.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
This archive was generated by hypermail 2.1.4 : Wed Apr 24 2002 - 02:16:16 EDT