/* $Id: callbacks.h,v 1.11 2012/05/29 18:27:10 khorben Exp $ */ /* Copyright (c) 2010-2012 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Keyboard */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef KEYBOARD_CALLBACKS_H # define KEYBOARD_CALLBACKS_H # include # include /* public */ /* functions */ gboolean on_keyboard_delete_event(gpointer data); void on_keyboard_embedded(gpointer data); int on_keyboard_message(void * data, uint32_t value1, uint32_t value2, uint32_t value3); void on_keyboard_set_layout_keypad(gpointer data); void on_keyboard_set_layout_letters(gpointer data); void on_keyboard_set_layout_special(gpointer data); /* menus */ void on_file_quit(gpointer data); void on_help_about(gpointer data); void on_view_hide(gpointer data); /* systray */ # if GTK_CHECK_VERSION(2, 10, 0) void on_systray_activate(gpointer data); void on_systray_popup_menu(GtkStatusIcon * icon, guint button, guint time, gpointer data); # endif #endif /* !KEYBOARD_CALLBACKS_H */