Removed convar stuff from CPlugin, now uses plugin properties for convar listing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40493
This commit is contained in:
Scott Ehlert
2007-02-14 01:25:45 +00:00
parent 20441b70d3
commit bb79b1e6a9
5 changed files with 45 additions and 41 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
*
* The second vector is the identity linked list. An identity has its own handle, so
* these handles are used as sentinel nodes for index linking. They point to the first and last
* index into the handle array. Each subsequent Handle who is owned by that indentity is mapped into
* index into the handle array. Each subsequent Handle who is owned by that identity is mapped into
* that list. This lets owning identities be unloaded in O(n) time.
*
* Eventually, there may be a third list for type chains.
-15
View File
@@ -531,21 +531,6 @@ unsigned int CPlugin::GetLangFileByIndex(unsigned int index) const
return m_PhraseFiles.at(index);
}
void CPlugin::AddConVar(ConVar *convar)
{
m_ConVarList.push_back(convar);
}
size_t CPlugin::GetConVarCount() const
{
return m_ConVarList.size();
}
ConVar *CPlugin::GetConVarByIndex(size_t index) const
{
return m_ConVarList.at(index);
}
/*******************
* PLUGIN ITERATOR *
*******************/
-16
View File
@@ -210,21 +210,6 @@ public:
* Returns true if the plugin was running, but is now invalid.
*/
bool WasRunning();
/**
* Adds a convar to the plugin's list
*/
void AddConVar(ConVar *convar);
/**
* Get convar count for this plugin.
*/
size_t GetConVarCount() const;
/**
* Get convar pointer based on the vector index.
*/
ConVar *GetConVarByIndex(size_t index) const;
protected:
void UpdateInfo();
void SetTimeStamp(time_t t);
@@ -242,7 +227,6 @@ private:
Handle_t m_handle;
bool m_WasRunning;
CVector<unsigned int> m_PhraseFiles;
CVector<ConVar *> m_ConVarList;
Trie *m_pProps;
};