diff options
Diffstat (limited to 'grapher/StapParser.hxx')
-rw-r--r-- | grapher/StapParser.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/grapher/StapParser.hxx b/grapher/StapParser.hxx index e11e7302..f4f6bdef 100644 --- a/grapher/StapParser.hxx +++ b/grapher/StapParser.hxx @@ -12,12 +12,15 @@ class StapParser CSVData _csv; Gtk::Window& _win; GraphWidget& _widget; + int _errFd; public: StapParser(Gtk::Window& win, - GraphWidget& widget) : _win(win), _widget(widget) {} + GraphWidget& widget) : _win(win), _widget(widget), _errFd(-1) {} void parseData(std::tr1::shared_ptr<GraphDataBase> gdata, double time, const std::string& dataString); bool ioCallback(Glib::IOCondition ioCondition); - + bool errIoCallback(Glib::IOCondition ioCondition); + int getErrFd() { return _errFd; } + void setErrFd(int fd) { _errFd = fd; } }; } |