Convert LTTngTop to C++ and state system
[lttngtop.git] / src / cursesdisplay.h
CommitLineData
1fc22eb4 1/*
aa15ac1c 2 * Copyright (C) 2011-2012 Julien Desfossez
1fc22eb4
JD
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
71bd7ce1
AM
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1fc22eb4
JD
16 */
17
18#ifndef CURSESDISPLAY_H
19#define CURSESDISPLAY_H
20
21#include <glib.h>
715cf83c 22extern "C" {
1fc22eb4 23#include <ncurses.h>
715cf83c 24}
1fc22eb4
JD
25#include "common.h"
26
041aa219 27enum view_list
1fc22eb4
JD
28{
29 cpu = 1,
30 perf,
31 process_details,
1fc22eb4
JD
32 iostream,
33 tree,
041aa219
JD
34};
35
715cf83c
PBT
36extern enum view_list current_view;
37extern enum view_list previous_view;
1fc22eb4 38
715cf83c 39void display();
1fc22eb4
JD
40void init_ncurses();
41void reset_ncurses();
42
43#endif // CURSESDISPLAY_H
This page took 0.032609 seconds and 4 git commands to generate.