On Fri, 18 Jun 2010 14:30:19 +0200 Graeme Geldenhuys <[email protected]> wrote:
> On 18/06/2010, Mattias Gaertner wrote: > > > >> * Not all code in Lazarus IDE uses the same XML read/write code > > > > What do you mean? > > See the examples of reading/writing to XML (all actual code from the > IDE) posted earlier. Two very different methods are being used. I > vaguely remember seeing a 3rd method as well somewhere. There are two ways: the backend independent TConfigStorage, which by default uses TXMLConfig and using TXMLConfig directly. The IDEIntf only provides the TConfigStorage. For the code there is no difference except that there are some more utility functions for writing lists and trees to xmlconfig. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
