 |
Crossfire Resources Editor
|
Go to the documentation of this file.
13 #ifndef SCRIPT_FILE_MANAGER_H
14 #define SCRIPT_FILE_MANAGER_H
33 virtual QString
displayName()
const override {
return tr(
"Scripts"); }
53 QList<ScriptFile*>
scripts()
const;
Manage scripts for items.
virtual QString displayName() const override
QHash< QString, ScriptFile * > myScripts
QList< ScriptFile * > scriptsForMap(CREMapInformation *map)
Base class for all assets that can be displayed or edited by CRE.
void removeMap(CREMapInformation *map)
Remove scripts linked to a map.
virtual int childrenCount() const
ScriptFileManager(AssetWrapper *parent)
QList< ScriptFile * > scripts() const
Information about a script file.
ScriptFile * getFile(const QString &path)
Get information about a script path.
virtual AssetWrapper * child(int child)
virtual ~ScriptFileManager()
virtual int childIndex(AssetWrapper *child)
void addHook(const QString &file, HookInformation *hook)