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;
virtual ~ScriptFileManager()
virtual int childIndex(AssetWrapper *child)
ScriptFileManager(AssetWrapper *parent)
virtual AssetWrapper * child(int child)
QList< ScriptFile * > scriptsForMap(CREMapInformation *map)
virtual QString displayName() const override
ScriptFile * getFile(const QString &path)
pluglist shows those as well as a short text describing each the list will simply appear empty The keyword for the Python plugin is Python plugout< keyword > Unloads a given identified by its _keyword_ So if you want to unload the Python you need to do plugout Python plugin< libname > Loads a given whose _filename_ is libname So in the case of you d have to do a plugin cfpython so Note that all filenames are relative to the default plugin path(SHARE/plugins). Console messages. ----------------- When Crossfire starts
void addHook(const QString &file, HookInformation *hook)
virtual int childrenCount() const
QHash< QString, ScriptFile * > myScripts
QList< ScriptFile * > scripts() const
void removeMap(CREMapInformation *map)