summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/util.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-10-26 08:00:55 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-10-26 13:06:36 -0200
commitae55795ef2d9ba71d46e4111b87a4d0cde93abea (patch)
treedcd1afdaa5942cb661774f4c4b96353327ae1f28 /tools/perf/util/ui/util.h
parent1056d3dd9416740ec7d31348ca5f55009dc06bf3 (diff)
perf ui: Reimplement the popup windows using libslang
Just another step in stopping the use of libnewt in perf. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-vtxnmz1t1807ykprapnk9njl@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ui/util.h')
-rw-r--r--tools/perf/util/ui/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/ui/util.h b/tools/perf/util/ui/util.h
index e53c3d33490..9a25538d473 100644
--- a/tools/perf/util/ui/util.h
+++ b/tools/perf/util/ui/util.h
@@ -7,5 +7,7 @@ int ui__getch(int delay_secs);
int ui__popup_menu(int argc, char * const argv[]);
int ui__help_window(const char *text);
bool ui__dialog_yesno(const char *msg);
+int ui__question_window(const char *title, const char *text,
+ const char *exit_msg, int delay_secs);
#endif /* _PERF_UI_UTIL_H_ */