mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
yaft: prepare for neutrino shellwindow compatibility
* add sigc function to collect terminal output * terminal output is collected without escape codes, "text only" * if a newline is seen, each newline starts a new line, * else, some cursor move escape sequences start a new line
This commit is contained in:
@@ -9,11 +9,16 @@
|
||||
*/
|
||||
#ifndef __yaft_class__
|
||||
#define __yaft_class__
|
||||
class YaFT
|
||||
#include <sigc++/signal.h>
|
||||
|
||||
class YaFT : public sigc::trackable
|
||||
{
|
||||
private:
|
||||
int *res;
|
||||
public:
|
||||
YaFT(const char * const *argv);
|
||||
YaFT(const char * const *argv, int *Res, sigc::signal<void, std::string*, int*, bool*>);
|
||||
~YaFT();
|
||||
int run();
|
||||
sigc::signal<void, std::string*, int*, bool*> OnShellOutputLoop;
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user