I have a few plugins that may be of interest for Dutch users. One of them parses data from often used websites and uses the result to fill the (meta) fields of a source.
To make the plugin usable for others I need to provide a mapping from the parsed data to 'their' (meta) fields. Hence my question: what would be an easy way (I don't want to go into iup, that's one step to far for me) of providing the user with a kind of preference/settings plugin to set these mappings and make them available to the other plugins to use them when relevant.
* Howto save and use setting from within a plugin?
- ColeValleyGirl
- Megastar
- Posts: 4854
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Howto save and use setting from within a plugin?
Have a look at the functions saveOption, loadOptions and resetOptions in fhutils for loading/saving etc.
Also look at getParam in fhUtils, which uses iup but insulates you from it.
Also look at getParam in fhUtils, which uses iup but insulates you from it.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history