X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcursesdisplay.h;h=82877f993e13908c8a757a00b3bb04f7865fb3b8;hp=6a542527d106973e85451fcdeb8558c4da6f7d83;hb=fbbda4dac5b23757921dea8e2992cbb6bff5775f;hpb=37010c3c1a006bf7f3181a1746751c99645ad4bb diff --git a/src/cursesdisplay.h b/src/cursesdisplay.h index 6a54252..82877f9 100644 --- a/src/cursesdisplay.h +++ b/src/cursesdisplay.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Julien Desfossez + * Copyright (C) 2011-2012 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 @@ -10,10 +10,9 @@ * 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. + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef CURSESDISPLAY_H @@ -23,16 +22,18 @@ #include #include "common.h" -enum current_view_list +enum view_list { cpu = 1, perf, process_details, - fileio, - netio, iostream, tree, -} current_view; + kprobes, +}; + +enum view_list current_view; +enum view_list previous_view; void display(unsigned int); void init_ncurses();