1 #ifndef AESALON_GUI_PROGRAM_H
2 #define AESALON_GUI_PROGRAM_H
4 #include "platform/EventQueue.h"
5 #include "platform/NamedPipe.h"
6 #include "platform/Memory.h"
7 #include "platform/BidirectionalPipe.h"
9 #include "misc/SmartPointer.h"
16 Misc::SmartPointer
<Platform::EventQueue
> event_queue
;
17 Misc::SmartPointer
<Platform::Memory
> memory
;
18 Misc::SmartPointer
<Platform::NamedPipe
> named_pipe
;
20 std::string executable
;
21 std::string arguments
;
24 Misc::SmartPointer
<Platform::BidirectionalPipe
> bi_pipe
;
26 Program(std::string executable
, std::string arguments
, bool in_xterm
);
29 std::string
get_executable() const { return executable
; }
30 std::string
get_arguments() const { return arguments
; }
31 bool is_in_xterm() const { return in_xterm
; }
35 } // namespace Aesalon