* added filter api to create new filters from within plugins

* TTimo, please have a look at the mainframe.cpp part


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@208 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
mattn
2008-03-16 09:42:56 +00:00
parent ed9b7a9265
commit eaa3e3169f
5 changed files with 36 additions and 8 deletions

View File

@@ -43,6 +43,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "pluginmanager.h"
#include "plugin.h"
#include "missing.h"
#include "filters.h"
#include "version.h"
@@ -2228,6 +2229,8 @@ bool CSynapseClientRadiant::RequestAPI(APIDescriptor_t *pAPI)
pTable->m_pfnGetFileTypeRegistry = &GetFileTypeRegistry;
pTable->m_pfnReadProjectKey = &QERApp_ReadProjectKey;
pTable->m_pfnGetMapName = &QERApp_GetMapName;
pTable->m_pfnFilterAdd = &FilterCreate;
pTable->m_pfnFiltersActivate = &FiltersActivate;
return true;
}