Logo Search packages:      
Sourcecode: ibus-chewing version File versions  Download package

ibus-chewing-engine-private.h

/* Generated by GOB (v2.0.15)   (do not edit directly) */



/*
 * Copyright © 2009  Red Hat, Inc. All rights reserved.
 * Copyright © 2009  Ding-Yi Chen <dchen at redhat.com>
 *
 * This file is part of the ibus-chewing Project.
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
#include <stdlib.h>
#include <libintl.h>
#include <ibus.h>
#include <chewing.h>
#include <string.h>
#include <stdio.h>
#define GETTEXT_PACKAGE "gtk20"
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <X11/extensions/XTest.h>
#include <X11/Xlib.h>
#include <ctype.h>

#line 3 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
#line 40 "ibus-chewing-engine-private.h"
#ifndef __IBUS_CHEWING_ENGINE_PRIVATE_H__
#define __IBUS_CHEWING_ENGINE_PRIVATE_H__

#include "ibus-chewing-engine.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#line 109 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"

gboolean ibus_chewing_engine_process_key_event(IBusEngine *engine,
      guint keyval, guint  modifiers);

#ifndef IBUS_1_1
gboolean ibus_chewing_engine_process_key_event_1_2(IBusEngine *engine,
      guint keyval_ignore,  guint  keycode,   guint  modifiers);

#endif /* IBUS_1_1 */

#line 62 "ibus-chewing-engine-private.h"
struct _IBusChewingEnginePrivate {
#line 156 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
      gboolean flags;
#line 159 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
      gboolean easySymbolInput;
#line 195 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
      Display * pDisplay;
#line 198 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
      guint key_last;
#line 199 "/home/dchen/ibus-chewing/src/IBusChewingEngine.gob"
      gchar zhuyin_latest[ZHUYIN_BUFFER_SIZE];
#line 74 "ibus-chewing-engine-private.h"
};
gboolean    ibus_chewing_engine_commit    (IBusChewingEngine * self);
void  ibus_chewing_engine_set_lookup_table_label      (IBusChewingEngine * self, const gchar * labels);
gboolean    ibus_chewing_engine_update    (IBusChewingEngine * self);
void  ibus_chewing_engine_refresh_property      (IBusChewingEngine * self, const gchar * prop_name);
gboolean    ibus_chewing_engine_is_selectKey    (IBusChewingEngine * self, guint keyval);
void  ibus_chewing_engine_set_selKeys_string    (IBusChewingEngine * self, const gchar * selKeys_str);
void  ibus_chewing_engine_handle_Default  (IBusChewingEngine * self, guint keyval, gboolean shiftPressed);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif

Generated by  Doxygen 1.6.0   Back to index