1 #ifndef __SCRIPTLIST_H__
2 #define __SCRIPTLIST_H__
7 #define SCRIPTLIST ScriptList::instance()
8 #warning "!!! THIS CLASS IS OBSOLETE !!!"
11 * The global list of scripts. This is implemented as a singleton.
12 * Use ScriptList::instance() to get a pointer to the object.
16 * @author Andrew Mustun
24 virtual ~ScriptList();
26 static ScriptList * instance();
30 virtual void removeScript(Script * script);
31 Script * requestScript(const QString & name);
32 Script * firstScript();
33 Script * nextScript();
37 static ScriptList * uniqueInstance;
40 //! all scripts available
41 QList<Script *> scripts;
42 QListIterator<Script *> scriptIterator;
45 #endif // __SCRIPTLIST_H__