/* Katoob * Copyright (c) 2002,2003 Arabeyes, Mohammed Sameer. * * 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; either version 2 of the License, or * (at your option) any later version. * * 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, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __EMULATOR_H__ #define __EMULATOR_H__ void katoob_emulator_init (); void katoob_emulator_switch_xkb (); gboolean katoob_text_view_emulator_insert (GtkWidget * widget, GdkEventKey * event); gboolean katoob_emulator_text_entry_insert (GtkEntry * entry, const gchar * text, gint length, gint * position, gpointer data); void katoob_handle_xkb_button (GtkButton * button, GtkMenu * menu); void katoob_handle_xkb_menu (GtkMenuItem * menuitem, gpointer emu); GtkWidget *katoob_emulator_build_menu (); #endif /* __EMULATOR_H__ */