Canorus 0.0
pyconsoleinterface.h
Go to the documentation of this file.
1
8#ifndef PYCONSOLEINTERFACE_H_
9#define PYCONSOLEINTERFACE_H_
10
11#include <QString>
12
13class CAPyConsole;
14
16public:
17#if !defined( SWIG ) && !defined( SWIGCPP )
19
20 // API for pycli plugin
21 char* bufferedInput(char* prompt); // Input goes to script
22 void bufferedOutput(char* bufInp, bool bStdErr);
23#else
24 char* bufferedInput(char* prompt) { return 0; }
25 void bufferedOutput(char* bufInp, bool bStdErr) {}
26#endif
28 void pluginInit(void); // when script initializes
29
30private:
31#if !defined( SWIG ) && !defined( SWIGCPP )
33#endif
34
35};
36
37#endif /* PYCONSOLEINTERFACE_H_ */
Definition: pyconsoleinterface.h:15
CAPyConsole * _pycons
Definition: pyconsoleinterface.h:32
CAPyConsoleInterface()
Definition: pyconsoleinterface.h:27
CAPyConsoleInterface(CAPyConsole *pyConsole)
void bufferedOutput(char *bufInp, bool bStdErr)
char * bufferedInput(char *prompt)
Definition: pyconsole.h:18