Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: Pecan on December 18, 2006, 10:44:42 pm

Title: Using the manifest.xml file.
Post by: Pecan on December 18, 2006, 10:44:42 pm
Is it admissible to use the manifest.xml file to hold help text.

Is the text in the .xml file kept in memory, or is it released after Menu->help->plugin and Menu->plugins->manage plugins ?

Are there already facilities to read the text from the .xml file to which a plugin has access?

thanks
pecan
Title: Re: Using the manifest.xml file.
Post by: mandrav on December 19, 2006, 08:37:49 am
The manifest file is only read on startup and then discarded from memory. Although you can reopen it yourself from your plugin, it is not advisable to add more info in it than what is absolutely needed (especially *much* additional info, like help text). The reason is that the bigger this file is, the longer it takes to read it and these times add up to the app startup time. We should be focusing on minimizing the startup time, not delay it even more...
Title: Re: Using the manifest.xml file.
Post by: Pecan on December 19, 2006, 03:29:55 pm
Acknowledged.