1 /*
2  * geanypy-keybindings.h
3  *
4  * Copyright 2015 Thomas Martitz <kugel@rockbox.org>
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 2 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, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  */
21 
22 
23 #ifndef GEANYPY_KEYBINDINGS_H
24 #define GEANYPY_KEYBINDINGS_H
25 
26 #include <glib.h>
27 
28 typedef struct
29 {
30 	PyObject_HEAD
31 	GeanyKeyGroup *kb_group;
32 	gboolean has_cb;
33 	gint item_index;
34 } KeyGroup;
35 
36 extern PyObject *
37 KeyGroup_new_with_geany_key_group(GeanyKeyGroup *group, gboolean has_cb);
38 
39 #endif /* GEANYPY_KEYBINDINGS_H */
40