00001 00002 #ifndef NCURSESFRONTEND_H 00003 #define NCURSESFRONTEND_H 00004 00005 #include <curses.h> 00006 00007 #include "../../frontEnd.h" 00008 00009 class NCursesFrontEnd : public FrontEnd { 00010 public: 00011 NCursesFrontEnd (); 00012 NCursesFrontEnd (int argc, char** argv); 00013 ~NCursesFrontEnd (); 00014 00015 void update (); 00016 00017 void displayUsers (int users); // amount of users logged in 00018 void displayMatrices (int matrices); // amount of active matrices 00019 00020 void displayDebugMessage (const char* msg); 00021 00022 private: 00023 WINDOW* debugMsg; 00024 char* clean; 00025 char* oldMsg[16]; 00026 }; 00027 00028 #endif