X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcursesdisplay.h;fp=src%2Fcursesdisplay.h;h=6a542527d106973e85451fcdeb8558c4da6f7d83;hb=37010c3c1a006bf7f3181a1746751c99645ad4bb;hp=0000000000000000000000000000000000000000;hpb=1fc22eb45fde328b82aa5a5e296fdc086e77a32e;p=lttngtop.git diff --git a/src/cursesdisplay.h b/src/cursesdisplay.h new file mode 100644 index 0000000..6a54252 --- /dev/null +++ b/src/cursesdisplay.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2011 Julien Desfossez + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + +#ifndef CURSESDISPLAY_H +#define CURSESDISPLAY_H + +#include +#include +#include "common.h" + +enum current_view_list +{ + cpu = 1, + perf, + process_details, + fileio, + netio, + iostream, + tree, +} current_view; + +void display(unsigned int); +void init_ncurses(); +void reset_ncurses(); + +#endif // CURSESDISPLAY_H