interfaces
KDevelop::IRunProvider Class Reference
#include <irunprovider.h>
Detailed Description
An abstract interface for plugins which are able to execute programs.Definition at line 35 of file irunprovider.h.
Public Types | |
| enum | OutputTypes { StandardOutput, StandardError, RunProvider } |
Signals | |
| void | output (int serial, const QString &line, KDevelop::IRunProvider::OutputTypes type) |
Public Member Functions | |
| virtual void | abort (KJob *job)=0 |
| virtual bool | execute (const IRun &run, KJob *job)=0 |
| virtual QStringList | instrumentorsProvided () const =0 |
| virtual QString | translatedInstrumentor (const QString &instrumentor) const =0 |
Member Enumeration Documentation
- Enumerator:
-
StandardOutput indicates the process wrote to standard output StandardError indicates the process wrote to standard error RunProvider indicates the run provider produced output
Definition at line 40 of file irunprovider.h.
Member Function Documentation
| virtual void KDevelop::IRunProvider::abort | ( | KJob * | job | ) | [pure virtual] |
Request the aborting of a run with the given serial number.
| virtual bool KDevelop::IRunProvider::execute | ( | const IRun & | run, | |
| KJob * | job | |||
| ) | [pure virtual] |
Request the execution of run.
| virtual QStringList KDevelop::IRunProvider::instrumentorsProvided | ( | ) | const [pure virtual] |
Return a list of instrumentors that your plugin supports.
| void KDevelop::IRunProvider::output | ( | int | serial, | |
| const QString & | line, | |||
| KDevelop::IRunProvider::OutputTypes | type | |||
| ) | [signal] |
Notify that the process with given serial has produced the given output in the given type.
| virtual QString KDevelop::IRunProvider::translatedInstrumentor | ( | const QString & | instrumentor | ) | const [pure virtual] |
Return the name of the instrumentor, translated and suitable for presentation to the user.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference