1 #ifndef RS_SCRIPTLIST_H
2 #define RS_SCRIPTLIST_H
7 #define RS_SCRIPTLIST RS_ScriptList::instance()
10 * The global list of scripts. This is implemented as a singleton.
11 * Use RS_ScriptList::instance() to get a pointer to the object.
15 * @author Andrew Mustun
23 virtual ~RS_ScriptList();
25 static RS_ScriptList * instance();
29 virtual void removeScript(RS_Script * script);
30 RS_Script * requestScript(const QString & name);
31 RS_Script * firstScript();
32 RS_Script * nextScript();
36 static RS_ScriptList * uniqueInstance;
39 //! all scripts available
40 // Q3PtrList<RS_Script> scripts;
41 QList<RS_Script *> scripts;
42 QListIterator<RS_Script *> scriptIterator;