Author Topic: Using the manifest.xml file.  (Read 2876 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Using the manifest.xml file.
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Using the manifest.xml file.
« Reply #1 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...
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Re: Using the manifest.xml file.
« Reply #2 on: December 19, 2006, 03:29:55 pm »
Acknowledged.