Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 )
18  CAPyConsoleInterface (CAPyConsole* pyConsole);
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) {}
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_ */