Thomas, how far is this new API from being accepted in the official source ?<br><br>As a side note, on Elektra there are no config files. So maybe this methods should be renamed to something like retrieveConfigResource() and saveConfigResource().
<br>A filename can be a configuration root, etc, so we can use them the way they are today anyway.<br><br>I'll have future concerns about Kiosk mode, and how to implement that on Elektra. I already have some ideas for that, and we'll discuss it here.
<br><br>Regards,<br>Avi<br><br><div><span class="gmail_quote">On 2/20/06, <b class="gmail_sendername">Thomas Braxton</b> <<a href="mailto:brax108@cox.net">brax108@cox.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 20 February 2006 05:32, Adriaan de Groot wrote:<br>> On Mon, 20 Feb 2006, Avi Alkalay wrote:<br>> > It is time to write an alternative Elektra (<a href="http://libelektra.org">http://libelektra.org</a>)
<br>> > backend to KDE, in place of the INI files, and I decided to start this<br>> > work.<br>><br>> Aaron Seigo recently did some work on LDAP backends (or was it Samba<br>> backends? - Something different anyway), check his blog
<br>> (<a href="http://aseigo.blogspot.com">aseigo.blogspot.com</a>) for some musings about that.<br>><br>> > - Is KConfig 100% backend-independent ?<br>><br>> Less than one might hope, was what he found.
<br>><br>> [ade]<br><br>You can find it at branches/work/kde4/playground/libs/kconfig/<br>It doesn't work yet, but I'm planning on committing today the last bits that<br>should make it mostly compatible with current KConfig.
<br>With the new api there are only 2 functions that need to be implemented in the<br>backend:<br>virtual bool parseConfigFile(const QString& filename,<br> KEntryMap& pWriteBackMap,
<br> bool bGlobal, bool bDefault) = 0;<br>virtual bool writeConfigFile(const QString& filename, KEntryMap& entryMap,<br> bool bGlobal, bool bMerge) = 0;
<br><br>Thomas<br></blockquote></div><br>