/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ /* Copyright (C) 2003 Dario Abatianni Copyright (C) 2004 Peter Simonsson */ #include #ifndef SCRIPTLAUNCHER_H #define SCRIPTLAUNCHER_H class Server; class ScriptLauncher : public TQObject { TQ_OBJECT public: explicit ScriptLauncher(Server* server); ~ScriptLauncher(); signals: void scriptNotFound(const TQString& name); void scriptExecutionError(const TQString& name); public slots: void launchScript(const TQString& target, const TQString& parameter); protected: Server* m_server; }; #endif