I would like to know if there is a way to add information to a project file.
I looked at the ConfObject base class which look like a friend to plugin developpers. But I didn't find a way to add a new ConfObject to an existing project.
In fact, I just want to add optional features to a project file. So I would like something like :
Code: Select all
bool Project::AddConf(wxString sName, ConfObject* pConf);
ConfObject* Project::GetConf(wxString sName);
Do you think it is a good idea ? Actually, this is not possible because the ConfObject doesn't store any information. Maybe
Code: Select all
bool Project::AddConf(wxString sName, wxXmlNode* pConf);
wxXmlNode* Project::GetConf(wxString sName);
Moreover, what is the std::map<wxString, wxXmlNode*> m_vdCache; in Project class ?
--
Jérémie