aboutsummaryrefslogtreecommitdiffstats
path: root/trace-gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace-gui.h')
-rw-r--r--trace-gui.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/trace-gui.h b/trace-gui.h
new file mode 100644
index 0000000..a2d261f
--- /dev/null
+++ b/trace-gui.h
@@ -0,0 +1,44 @@
1/*
2 * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
3 *
4 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License (not later!)
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 */
21#ifndef _TRACE_GUI
22#define _TRACE_GUI
23
24#include <gtk/gtk.h>
25
26enum trace_dialog_type {
27 TRACE_GUI_INFO,
28 TRACE_GUI_WARNING,
29 TRACE_GUI_ERROR,
30};
31
32GtkWidget *trace_status_bar_new(void);
33
34void trace_dialog_register_window(GtkWidget *window);
35
36void trace_show_help(GtkWidget *window, const gchar *link, GError **error);
37
38void trace_dialog(GtkWindow *parent, enum trace_dialog_type type,
39 gchar *message, ...);
40
41gchar *trace_get_file_dialog(const gchar *title);
42
43
44#endif /* _TRACE_GUI */