Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
interface
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
15
class
CAPyConsoleInterface
{
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
27
CAPyConsoleInterface
() {}
28
void
pluginInit
(
void
);
// when script initializes
29
30
private
:
31
#if !defined( SWIG ) && !defined( SWIGCPP )
32
CAPyConsole
*
_pycons
;
33
#endif
34
35
};
36
37
#endif
/* PYCONSOLEINTERFACE_H_ */
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3