Added support for WResourceSelector to have multiple allowed file extensions (required for Prime 3)

This commit is contained in:
parax0
2015-07-27 16:17:22 -04:00
parent 8804c436ed
commit 0577c8a0fa
11 changed files with 366 additions and 180 deletions

View File

@@ -4,6 +4,7 @@
/*
* This header file declares some classes used to track script object properties
* CPropertyBase, __CProperty (and typedefs), CPropertyStruct
* It's a bit hard to read, should be reorganized at some point
*/
#include "../CResource.h"
#include "CScriptTemplate.h"
@@ -91,6 +92,10 @@ public:
mToken = CToken(v);
}
}
const CStringList& AllowedExtensions()
{
return static_cast<CFileTemplate*>(Template())->Extensions();
}
};
/*