Last change
on this file since 145 was
144,
checked in by rosiere, 14 years ago
|
1) compatible gcc 4.4.3
2) Translation file in MORPHEO_PREFIX directory
|
-
Property svn:keywords set to
Id
|
File size:
606 bytes
|
Rev | Line | |
---|
[81] | 1 | #ifndef ENVIRONMENT_TTY_H |
---|
| 2 | #define ENVIRONMENT_TTY_H |
---|
| 3 | |
---|
| 4 | #include "TTY_Parameters.h" |
---|
| 5 | #include "xTTY.h" |
---|
| 6 | // #include <fcntl.h> |
---|
| 7 | // #include <unistd.h> |
---|
| 8 | #include <signal.h> |
---|
[144] | 9 | #include <stdint.h> |
---|
[81] | 10 | |
---|
| 11 | namespace environment { |
---|
| 12 | namespace tty { |
---|
| 13 | |
---|
| 14 | class TTY |
---|
| 15 | { |
---|
| 16 | private : std::string name; |
---|
| 17 | private : Parameters * param; |
---|
| 18 | private : xTTY * xtty; |
---|
| 19 | |
---|
| 20 | public : TTY (std::string name, |
---|
| 21 | Parameters * param); |
---|
| 22 | public : ~TTY (void); |
---|
| 23 | |
---|
| 24 | public : void reset (void); |
---|
| 25 | public : bool write (uint32_t num_tty, char data); |
---|
| 26 | public : friend std::ostream& operator<< (std::ostream& output, TTY & x); |
---|
| 27 | }; |
---|
| 28 | |
---|
| 29 | }; |
---|
| 30 | }; |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.