It would be a great improvement to store the data in a database. And I don't think it will give much trouble. Important is that you do it in a branch and keep it simple.
wxString Token::GetName() const
{
return m_db->GetTokenName(m_id);
}
wxString Token::GetArgs() const
{
return m_db->GetTokenArgs(m_id);
}
wxString Token::GetType() const
{
return m_db->GetTokenType(m_id);
}
TokenID Token::GetParent()
{
return m_db->GetTokenParent(m_id);
}
So is it going to keep the most commonly used header files in a DB? That would be nice. Or maybe an option can be kept for users to define the most commonly used headers. :)
But I like eranif's choice. [...]Rick: I'm not sure if you know about eranif's effort at https://opensvn.csie.org/CodeLite.
I'm downloading it and I'll try to compile it. Let's see if I can decipher bits of it. SmileIf you are referring to CodeLite, please note the source files at https://opensvn.csie.org/CodeLite are out of date.
I continued my project elsewhere, to download it use the following:
svn checkout http://svn.berlios.de/svnroot/repos/codelite/trunk
c) This is the part that I'm not sure how to tackle. How to dispose unused Tokens? Maybe I'll keep a list of used files, and the ones with least requests gets released.
I continued my project elsewhere, to download it use the following:That is good news! I didn't know about that and thought your work has "finished". I'll have a look tonight... :P
svn checkout http://svn.berlios.de/svnroot/repos/codelite/trunk
The CodeLite library is now part of a bigger project, LiteEditor (which was its demo application...)