]> sigrok.org Git - sigrok-gtk.git/blame - sigrok-gtk.h
README: Add "Copyright and license" section.
[sigrok-gtk.git] / sigrok-gtk.h
CommitLineData
3f63165c 1/*
47475c51 2 * This file is part of the sigrok-gtk project.
3f63165c
UH
3 *
4 * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz>
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, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
f3b75ee7
UH
20#ifndef SIGROK_GTK_SIGROK_GTK_H
21#define SIGROK_GTK_SIGROK_GTK_H
3f63165c
UH
22
23#include <gtk/gtk.h>
24
25/* main.c */
26void load_input_file(GtkWindow *parent, const gchar *file);
27
28/* sigview.c */
29extern GtkListStore *siglist;
30
31GtkWidget *sigview_init(void);
32void sigview_zoom(GtkWidget *sigview, gdouble zoom, gint offset);
33
34/* help.c */
35void help_wiki(void);
36void help_about(GtkAction *action, GtkWindow *parent);
37
38/* devselect.c */
39GtkWidget *dev_select_combo_box_new(GtkWindow *parent);
40void dev_select_rescan(GtkAction *action, GtkWindow *parent);
41
42/* log.c */
43GtkWidget *log_init(void);
44GtkWidget *toolbar_init(GtkWindow *parent);
45
46/* icons.c */
47void icons_register(void);
48
49#endif
50