#pragma once #include #include "curseOutput.hh" class CurseSplitOutput: public CurseOutput { public: CurseSplitOutput(const Params &); virtual ~CurseSplitOutput(); /** * Display data, and shutdown ncurses at the end **/ void run(const std::deque &, const std::deque &); bool redraw(); /** * get the screen size **/ const std::pair getScreenSize() const; /** * Initialize ncurses **/ void init(); /** * Release ncurses **/ void shutdown(); void destroyAllSubWin(); protected: std::deque roots; std::deque selections; std::deque fileNames; std::deque subwindows; size_t nbInputs, currentWin; };