X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcursesdisplay.h;h=9188659d430b410943add1ea3e1aef0a80bd1519;hp=6a542527d106973e85451fcdeb8558c4da6f7d83;hb=af54ebcf72ed12fe3a2557886d24bd8e26cc79bb;hpb=37010c3c1a006bf7f3181a1746751c99645ad4bb diff --git a/src/cursesdisplay.h b/src/cursesdisplay.h index 6a54252..9188659 100644 --- a/src/cursesdisplay.h +++ b/src/cursesdisplay.h @@ -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,17 @@ #include #include "common.h" -enum current_view_list +enum view_list { cpu = 1, perf, process_details, - fileio, - netio, iostream, tree, -} current_view; +}; + +enum view_list current_view; +enum view_list previous_view; void display(unsigned int); void init_ncurses();