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 
13 class CAPyConsole;
14 
16 public:
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 
30 private:
31 #if !defined( SWIG ) && !defined( SWIGCPP )
33 #endif
34 
35 };
36 
37 #endif /* PYCONSOLEINTERFACE_H_ */
CAPyConsole::asyncPluginInit
void asyncPluginInit()
CAPyConsole
Definition: pyconsole.h:18
pyconsole.h
CAPyConsoleInterface
Definition: pyconsoleinterface.h:15
CAPyConsoleInterface::bufferedInput
char * bufferedInput(char *prompt)
pyconsoleinterface.h
CAPyConsole::asyncBufferedInput
QString asyncBufferedInput(QString prompt)
CAPyConsoleInterface::pluginInit
void pluginInit(void)
CAPyConsoleInterface::_pycons
CAPyConsole * _pycons
Definition: pyconsoleinterface.h:32
CAPyConsoleInterface::CAPyConsoleInterface
CAPyConsoleInterface(CAPyConsole *pyConsole)
CAPyConsoleInterface::CAPyConsoleInterface
CAPyConsoleInterface()
Definition: pyconsoleinterface.h:27
CAPyConsole::asyncBufferedOutput
void asyncBufferedOutput(QString bufInp, bool bStdErr)
CAPyConsoleInterface::bufferedOutput
void bufferedOutput(char *bufInp, bool bStdErr)