| 1 | /* desktop session recorder |
| 2 | * Copyright (C) 2005 Benjamin Otte <[email protected]> |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Library General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 3 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Library General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public |
| 15 | * License along with this library; if not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #include <glib.h> |
| 19 | #include <gtk/gtk.h> |
| 20 | |
| 21 | #ifndef __HAVE_BYZANZ_SELECT_H__ |
| 22 | #define __HAVE_BYZANZ_SELECT_H__ |
| 23 | |
| 24 | guint byzanz_select_get_method_count (void); |
| 25 | const char * byzanz_select_method_describe (guint method); |
| 26 | const char * byzanz_select_method_get_mnemonic (guint method); |
| 27 | const char * byzanz_select_method_get_icon_name (guint method); |
| 28 | const char * byzanz_select_method_get_name (guint method); |
| 29 | int byzanz_select_method_lookup (const char * name); |
| 30 | |
| 31 | typedef void (* ByzanzSelectFunc) (GdkWindow *window, const cairo_rectangle_int_t *area, gpointer data); |
| 32 | void byzanz_select_method_select (guint method, |
| 33 | ByzanzSelectFunc func, |
| 34 | gpointer data); |
| 35 | |
| 36 | |
| 37 | #endif /* __HAVE_BYZANZ_SELECT_H__ */ |