ibusbus.h   ibusbus.h 
skipping to change at line 27 skipping to change at line 27
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the * License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION) #if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
#error "Only <ibus.h> can be included directly" #error "Only <ibus.h> can be included directly"
#endif #endif
#ifndef __IBUS_BUS_H_
#define __IBUS_BUS_H_
/** /**
* SECTION: ibusbus * SECTION: ibusbus
* @short_description: Connect with IBus daemon. * @short_description: Connect with IBus daemon.
* @stability: Stable * @stability: Stable
* *
* An IBusBus connects with IBus daemon. * An IBusBus connects with IBus daemon.
*/ */
#ifndef __IBUS_BUS_H_
#define __IBUS_BUS_H_
#include <gio/gio.h> #include <gio/gio.h>
#include "ibusinputcontext.h" #include "ibusinputcontext.h"
#include "ibusconfig.h" #include "ibusconfig.h"
#include "ibuscomponent.h" #include "ibuscomponent.h"
/* /*
* Type macros. * Type macros.
*/ */
/* define GOBJECT macros */ /* define GOBJECT macros */
skipping to change at line 491 skipping to change at line 491
* Finishes an operation started with ibus_bus_exit_async(). * Finishes an operation started with ibus_bus_exit_async().
*/ */
gboolean ibus_bus_exit_async_finish (IBusBus *bus, gboolean ibus_bus_exit_async_finish (IBusBus *bus,
GAsyncResult *res, GAsyncResult *res,
GError **error); GError **error);
/** /**
* ibus_bus_create_input_context: * ibus_bus_create_input_context:
* @bus: An #IBusBus. * @bus: An #IBusBus.
* @client_name: Name of client. * @client_name: Name of client.
* @returns: An newly allocated #IBusInputContext if the "CreateInputContex * @returns: (transfer full): An newly allocated #IBusInputContext if the
t" * "CreateInputContext" call is suceeded, %NULL otherwise.
* call is suceeded, %NULL otherwise.
* *
* Create an input context for client synchronously. * Create an input context for client synchronously.
*/ */
IBusInputContext * IBusInputContext *
ibus_bus_create_input_context ibus_bus_create_input_context
(IBusBus *bus, (IBusBus *bus,
const gchar *client_name); const gchar *client_name);
/** /**
* ibus_bus_create_input_context_async: * ibus_bus_create_input_context_async:
skipping to change at line 528 skipping to change at line 528
GAsyncReadyCallback GAsyncReadyCallback
callback, callback,
gpointer user_data); gpointer user_data);
/** /**
* ibus_bus_create_input_context_async_finish: * ibus_bus_create_input_context_async_finish:
* @bus: An #IBusBus. * @bus: An #IBusBus.
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to * @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to
* ibus_bus_create_input_context_async(). * ibus_bus_create_input_context_async().
* @error: Return location for error or %NULL. * @error: Return location for error or %NULL.
* @returns: An newly allocated #IBusInputContext if the "CreateInputContex * @returns: (transfer full): An newly allocated #IBusInputContext if the
t" * "CreateInputContext" call is suceeded, %NULL otherwise.
* call is suceeded, %NULL otherwise.
* *
* Finishes an operation started with ibus_bus_create_input_context_async() . * Finishes an operation started with ibus_bus_create_input_context_async() .
*/ */
IBusInputContext * IBusInputContext *
ibus_bus_create_input_context_async_finish ibus_bus_create_input_context_async_finish
(IBusBus *bus, (IBusBus *bus,
GAsyncResult *res, GAsyncResult *res,
GError **error); GError **error);
/** /**
skipping to change at line 997 skipping to change at line 997
/** /**
* ibus_bus_get_config: * ibus_bus_get_config:
* @bus: An #IBusBus. * @bus: An #IBusBus.
* @returns: (transfer none): An #IBusConfig object which is configurable w ith * @returns: (transfer none): An #IBusConfig object which is configurable w ith
* @bus. * @bus.
* *
* Get the config instance from #IBusBus. * Get the config instance from #IBusBus.
*/ */
IBusConfig *ibus_bus_get_config (IBusBus *bus); IBusConfig *ibus_bus_get_config (IBusBus *bus);
/**
* ibus_bus_preload_engines:
* @bus: An #IBusBus.
* @names: (array zero-terminated=1): A %NULL-terminated array of engine na
mes.
* @returns: %TRUE if components start. %FALSE otherwise.
*
* Start bus components by engine names synchronously.
*/
gboolean ibus_bus_preload_engines (IBusBus *bus,
const gchar * const *names);
/**
* ibus_bus_preload_engines_async:
* @bus: An #IBusBus.
* @names: (array zero-terminated=1): A %NULL-terminated array of engine na
mes.
* @timeout_msec: The timeout in milliseconds or -1 to use the default time
out.
* @cancellable: A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied
* or %NULL if you don't care about the result of the method invocatio
n.
* @user_data: The data to pass to callback.
*
* Start bus components by engine names asynchronously.
*/
void ibus_bus_preload_engines_async
(IBusBus *bus,
const gchar * const
*names,
gint timeout_msec,
GCancellable *cancellable,
GAsyncReadyCallback
callback,
gpointer user_data);
/**
* ibus_bus_preload_engines_async_finish:
* @bus: An #IBusBus.
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to
* ibus_bus_preload_engines_async().
* @error: Return location for error or %NULL.
* @returns: %TRUE if component starts. %FALSE otherwise.
*
* Finishes an operation started with ibus_bus_preload_engines_async().
*/
gboolean ibus_bus_preload_engines_async_finish
(IBusBus *bus,
GAsyncResult *res,
GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 5 change blocks. 
9 lines changed or deleted 59 lines changed or added


 ibusengine.h   ibusengine.h 
skipping to change at line 36 skipping to change at line 36
/** /**
* SECTION: ibusengine * SECTION: ibusengine
* @short_description: Input method engine abstract. * @short_description: Input method engine abstract.
* @title: IBusEngine * @title: IBusEngine
* @stability: Stable * @stability: Stable
* *
* An IBusEngine provides infrastructure for input method engine. * An IBusEngine provides infrastructure for input method engine.
* Developers can "extend" this class for input method engine development. * Developers can "extend" this class for input method engine development.
* *
* @see_also: #IBusComponent, #IBusEngineDesc * see_also: #IBusComponent, #IBusEngineDesc
*/ */
#ifndef __IBUS_ENGINE_H_ #ifndef __IBUS_ENGINE_H_
#define __IBUS_ENGINE_H_ #define __IBUS_ENGINE_H_
#include "ibusservice.h" #include "ibusservice.h"
#include "ibusattribute.h" #include "ibusattribute.h"
#include "ibuslookuptable.h" #include "ibuslookuptable.h"
#include "ibusproplist.h" #include "ibusproplist.h"
/* /*
skipping to change at line 425 skipping to change at line 425
* @cursor_pos: (out) (allow-none): Cursor position in characters in @text. * @cursor_pos: (out) (allow-none): Cursor position in characters in @text.
* @anchor_pos: (out) (allow-none): Anchor position of selection in @text. * @anchor_pos: (out) (allow-none): Anchor position of selection in @text.
* *
* Get surrounding text. * Get surrounding text.
* *
* It is also used to tell the input-context that the engine will * It is also used to tell the input-context that the engine will
* utilize surrounding-text. In that case, it must be called in * utilize surrounding-text. In that case, it must be called in
* #IBusEngine::enable handler, with both @text and @cursor set to * #IBusEngine::enable handler, with both @text and @cursor set to
* %NULL. * %NULL.
* *
* @see_also #IBusEngine::set-surrounding-text * see_also #IBusEngine::set-surrounding-text
*/ */
void ibus_engine_get_surrounding_text(IBusEngine *engine, void ibus_engine_get_surrounding_text(IBusEngine *engine,
IBusText **text, IBusText **text,
guint *cursor_pos, guint *cursor_pos,
guint *anchor_pos); guint *anchor_pos);
/** /**
* ibus_engine_get_name: * ibus_engine_get_name:
* @engine: An IBusEngine. * @engine: An IBusEngine.
* @returns: Name of IBusEngine. * @returns: Name of IBusEngine.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 ibusenginedesc.h   ibusenginedesc.h 
skipping to change at line 97 skipping to change at line 97
* icon: Icon file of this engine. * icon: Icon file of this engine.
* layout: Keyboard layout * layout: Keyboard layout
* layout_variant: Keyboard variant * layout_variant: Keyboard variant
* layout_option: Keyboard option * layout_option: Keyboard option
* rank: Preference rank among engines, the highest ranked IME will put in * rank: Preference rank among engines, the highest ranked IME will put in
* the front. * the front.
* hotkeys: One or more hotkeys for switching to this engine, separated by * hotkeys: One or more hotkeys for switching to this engine, separated by
* semi-colon. * semi-colon.
* setup: Exec lists of the engine setup command. * setup: Exec lists of the engine setup command.
* version: Version number of the input method engine. * version: Version number of the input method engine.
* textdomain: Domain name for dgettext()
*/ */
struct _IBusEngineDesc { struct _IBusEngineDesc {
IBusSerializable parent; IBusSerializable parent;
/* instance members */ /* instance members */
/*< public >*/ /*< public >*/
/*< private >*/ /*< private >*/
IBusEngineDescPrivate *priv; IBusEngineDescPrivate *priv;
}; };
skipping to change at line 302 skipping to change at line 303
/** /**
* ibus_engine_desc_get_version: * ibus_engine_desc_get_version:
* @info: An IBusEngineDesc * @info: An IBusEngineDesc
* @returns: version in IBusEngineDesc * @returns: version in IBusEngineDesc
* *
* Return the version property in IBusEngineDesc. It should not be freed. * Return the version property in IBusEngineDesc. It should not be freed.
*/ */
const gchar *ibus_engine_desc_get_version (IBusEngineDesc *info); const gchar *ibus_engine_desc_get_version (IBusEngineDesc *info);
/** /**
* ibus_engine_desc_get_textdomain:
* @info: An IBusEngineDesc
* @returns: textdomain in IBusEngineDesc
*
* Return the textdomain property in IBusEngineDesc. It should not be freed
.
*/
const gchar *ibus_engine_desc_get_textdomain
(IBusEngineDesc *info);
/**
* ibus_engine_desc_output: * ibus_engine_desc_output:
* @info: An IBusEngineDesc * @info: An IBusEngineDesc
* @output: XML-formatted Input method engine description. * @output: XML-formatted Input method engine description.
* @indent: Number of indent (showed as 4 spaces). * @indent: Number of indent (showed as 4 spaces).
* *
* Output XML-formatted input method engine description. * Output XML-formatted input method engine description.
* The result will be append to GString specified in @output. * The result will be append to GString specified in @output.
*/ */
void ibus_engine_desc_output (IBusEngineDesc *info, void ibus_engine_desc_output (IBusEngineDesc *info,
GString *output, GString *output,
 End of changes. 2 change blocks. 
0 lines changed or deleted 12 lines changed or added


 ibusenginesimple.h   ibusenginesimple.h 
skipping to change at line 35 skipping to change at line 35
#endif #endif
/** /**
* SECTION: ibussimpleengine * SECTION: ibussimpleengine
* @short_description: Input method engine supporting table-based input met hod * @short_description: Input method engine supporting table-based input met hod
* @title: IBusEngineSimple * @title: IBusEngineSimple
* @stability: Stable * @stability: Stable
* *
* An IBusEngineSimple provides table-based input method logic. * An IBusEngineSimple provides table-based input method logic.
* *
* @see_also: #IBusEngine * see_also: #IBusEngine
*/ */
#ifndef __IBUS_ENGINE_SIMPLE_H__ #ifndef __IBUS_ENGINE_SIMPLE_H__
#define __IBUS_ENGINE_SIMPLE_H__ #define __IBUS_ENGINE_SIMPLE_H__
#include "ibusengine.h" #include "ibusengine.h"
G_BEGIN_DECLS G_BEGIN_DECLS
#define IBUS_MAX_COMPOSE_LEN 7 #define IBUS_MAX_COMPOSE_LEN 7
skipping to change at line 100 skipping to change at line 100
/*< private >*/ /*< private >*/
/* padding */ /* padding */
gpointer pdummy[8]; gpointer pdummy[8];
}; };
GType ibus_engine_simple_get_type (void); GType ibus_engine_simple_get_type (void);
/** /**
* ibus_engine_simple_add_table: * ibus_engine_simple_add_table:
* @simple: An IBusEngineSimple. * @simple: An IBusEngineSimple.
* @data: The table. * @data: (element-type guint16) (array): The table which must be available
* @ max_seq_len: Maximum length of a swquence in the table (cannot be grea * during the whole life of the simple engine.
ter * @max_seq_len: Maximum length of a swquence in the table (cannot be great
er
* than %IBUS_MAX_COMPOSE_LEN) * than %IBUS_MAX_COMPOSE_LEN)
* *
* Adds an additional table to search to the engine. Each row of the table * Adds an additional table to search to the engine. Each row of the table
* consists of max_seq_len key symbols followed by two guint16 interpreted as * consists of max_seq_len key symbols followed by two guint16 interpreted as
* the high and low words of a gunicode value. Tables are searched starting from * the high and low words of a gunicode value. Tables are searched starting from
* the last added. * the last added.
* *
* The table must be sorted in dictionary order on the numeric value of the key * The table must be sorted in dictionary order on the numeric value of the key
* symbol fields. (Values beyond the length of the sequence should be zero. ) * symbol fields. (Values beyond the length of the sequence should be zero. )
*/ */
void ibus_engine_simple_add_table (IBusEngineSimple *simple, void ibus_engine_simple_add_table (IBusEngineSimple *simple,
guint16 *data, const guint16 *data,
gint max_seq_le n, gint max_seq_le n,
gint n_seqs); gint n_seqs);
G_END_DECLS G_END_DECLS
#endif // __IBUS_ENGINE_SIMPLE_H__ #endif // __IBUS_ENGINE_SIMPLE_H__
 End of changes. 3 change blocks. 
5 lines changed or deleted 6 lines changed or added


 ibusinputcontext.h   ibusinputcontext.h 
skipping to change at line 27 skipping to change at line 27
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the * License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION) #if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
#error "Only <ibus.h> can be included directly" #error "Only <ibus.h> can be included directly"
#endif #endif
#ifndef __IBUS_INPUT_CONTEXT_H_
#define __IBUS_INPUT_CONTEXT_H_
/** /**
* SECTION: ibusinputcontext * SECTION: ibusinputcontext
* @short_description: IBus input context proxy object. * @short_description: IBus input context proxy object.
* @stability: Stable * @stability: Stable
* *
* An IBusInputContext is a proxy object of BusInputContext, * An IBusInputContext is a proxy object of BusInputContext,
* which manages the context for input methods that supports * which manages the context for input methods that supports
* text input in various natural languages. * text input in various natural languages.
* *
* Clients call the IBusInputContext to invoke BusInputContext, * Clients call the IBusInputContext to invoke BusInputContext,
* through which invokes IBusEngine. * through which invokes IBusEngine.
*/ */
#ifndef __IBUS_INPUT_CONTEXT_H_
#define __IBUS_INPUT_CONTEXT_H_
#include "ibusproxy.h" #include "ibusproxy.h"
#include "ibusenginedesc.h" #include "ibusenginedesc.h"
#include "ibustext.h" #include "ibustext.h"
/* /*
* Type macros. * Type macros.
*/ */
/* define GOBJECT macros */ /* define GOBJECT macros */
#define IBUS_TYPE_INPUT_CONTEXT \ #define IBUS_TYPE_INPUT_CONTEXT \
skipping to change at line 96 skipping to change at line 96
}; };
GType ibus_input_context_get_type (void); GType ibus_input_context_get_type (void);
/** /**
* ibus_input_context_new: * ibus_input_context_new:
* @path: The path to the object that emitting the signal. * @path: The path to the object that emitting the signal.
* @connection: An #GDBusConnection. * @connection: An #GDBusConnection.
* @cancellable: A #GCancellable or %NULL. * @cancellable: A #GCancellable or %NULL.
* @error: Return location for error or %NULL. * @error: Return location for error or %NULL.
*
* @returns: A newly allocated IBusInputContext. * @returns: A newly allocated IBusInputContext.
* *
* New an IBusInputContext. * New an IBusInputContext.
*/ */
IBusInputContext * IBusInputContext *
ibus_input_context_new (const gchar *path, ibus_input_context_new (const gchar *path,
GDBusConnection *connection , GDBusConnection *connection ,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GError **error); GError **error);
/** /**
skipping to change at line 128 skipping to change at line 127
GDBusConnection *connection , GDBusConnection *connection ,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GAsyncReadyCallback callback, GAsyncReadyCallback callback,
gpointer user_data) ; gpointer user_data) ;
/** /**
* ibus_input_context_new_async_finish: * ibus_input_context_new_async_finish:
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to * @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to
* ibus_input_context_new_async(). * ibus_input_context_new_async().
* @error: Return location for error or %NULL. * @error: Return location for error or %NULL.
*
* @returns: A newly allocated #IBusInputContext. * @returns: A newly allocated #IBusInputContext.
* *
* Finishes an operation started with ibus_input_context_new_async(). * Finishes an operation started with ibus_input_context_new_async().
*/ */
IBusInputContext * IBusInputContext *
ibus_input_context_new_async_finish ibus_input_context_new_async_finish
(GAsyncResult *res, (GAsyncResult *res,
GError **error); GError **error);
/** /**
* ibus_input_context_get_input_context: * ibus_input_context_get_input_context:
skipping to change at line 172 skipping to change at line 170
GDBusConnection *connection , GDBusConnection *connection ,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GAsyncReadyCallback callback, GAsyncReadyCallback callback,
gpointer user_data) ; gpointer user_data) ;
/** /**
* ibus_input_context_get_input_context_async_finish: * ibus_input_context_get_input_context_async_finish:
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to * @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to
* ibus_input_context_get_input_context_async(). * ibus_input_context_get_input_context_async().
* @error: Return location for error or %NULL. * @error: Return location for error or %NULL.
*
* @returns: (transfer none): An existing #IBusInputContext. * @returns: (transfer none): An existing #IBusInputContext.
* *
* Finishes an operation started with ibus_input_contex_get_input_context_a sync(). * Finishes an operation started with ibus_input_contex_get_input_context_a sync().
*/ */
IBusInputContext * IBusInputContext *
ibus_input_context_get_input_context_async_finish ibus_input_context_get_input_context_async_finish
(GAsyncResult *res, (GAsyncResult *res,
GError **error); GError **error);
/** /**
* ibus_input_context_process_hand_writing_event * ibus_input_context_process_hand_writing_event:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @coordinates: An array of gdouble (0.0 to 1.0) which represents a stroke (i.e. [x1, y1, x2, y2, x3, y3, ...]). * @coordinates: An array of gdouble (0.0 to 1.0) which represents a stroke (i.e. [x1, y1, x2, y2, x3, y3, ...]).
* @coordinates_len: The number of elements in the array. The number should be even and >= 4. * @coordinates_len: The number of elements in the array. The number should be even and >= 4.
* *
* Pass a handwriting stroke to an input method engine. * Pass a handwriting stroke to an input method engine.
* *
* In this API, a coordinate (0.0, 0.0) represents the top-left corner of a n area for * In this API, a coordinate (0.0, 0.0) represents the top-left corner of a n area for
* handwriting, and (1.0, 1.0) does the bottom-right. Therefore, for exampl e, if * handwriting, and (1.0, 1.0) does the bottom-right. Therefore, for exampl e, if
* a user writes a character 'L', the array would be something like [0.0, 0 .0, 0.0, 1.0, 1.0, 1.0] * a user writes a character 'L', the array would be something like [0.0, 0 .0, 0.0, 1.0, 1.0, 1.0]
* and coordinates_len would be 6. * and coordinates_len would be 6.
skipping to change at line 206 skipping to change at line 203
* writing area. * writing area.
* *
* see_also: #IBusEngine::process-hand-writing-event * see_also: #IBusEngine::process-hand-writing-event
*/ */
void ibus_input_context_process_hand_writing_event void ibus_input_context_process_hand_writing_event
(IBusInputContext *context, (IBusInputContext *context,
const gdouble *coordinate s, const gdouble *coordinate s,
guint coordinate s_len); guint coordinate s_len);
/** /**
* ibus_input_context_cancel_hand_writing * ibus_input_context_cancel_hand_writing:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @n_strokes: The number of strokes to be removed. Pass 0 to remove all. * @n_strokes: The number of strokes to be removed. Pass 0 to remove all.
* *
* Clear handwriting stroke(s) in the current input method engine. * Clear handwriting stroke(s) in the current input method engine.
* *
* see_also: #IBusEngine::cancel-hand-writing * see_also: #IBusEngine::cancel-hand-writing
*/ */
void ibus_input_context_cancel_hand_writing void ibus_input_context_cancel_hand_writing
(IBusInputContext *context, (IBusInputContext *context,
guint n_strokes) ; guint n_strokes) ;
skipping to change at line 328 skipping to change at line 325
* When IBUS_CAP_FOCUS is not set, IBUS_CAP_PREEDIT_TEXT, IBUS_CAP_AUXILIAR Y_TEXT, IBUS_CAP_LOOKUP_TABLE, and IBUS_CAP_PROPERTY have to be all set. * When IBUS_CAP_FOCUS is not set, IBUS_CAP_PREEDIT_TEXT, IBUS_CAP_AUXILIAR Y_TEXT, IBUS_CAP_LOOKUP_TABLE, and IBUS_CAP_PROPERTY have to be all set.
* The panel component does nothing for an application that doesn't support focus. * The panel component does nothing for an application that doesn't support focus.
* *
* see_also: #IBusEngine::set-capabilities * see_also: #IBusEngine::set-capabilities
*/ */
void ibus_input_context_set_capabilities void ibus_input_context_set_capabilities
(IBusInputContext *context, (IBusInputContext *context,
guint32 capabiliti es); guint32 capabiliti es);
/** /**
* ibus_input_context_property_activate * ibus_input_context_property_activate:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @prop_name: A property name (e.g. "InputMode.WideLatin") * @prop_name: A property name (e.g. "InputMode.WideLatin")
* @state: A status of the property (e.g. PROP_STATE_CHECKED) * @state: A status of the property (e.g. PROP_STATE_CHECKED)
* *
* Activate the property asynchronously. * Activate the property asynchronously.
* *
* See also: #IBusEngine::property_activate * See also: #IBusEngine::property_activate
*/ */
void ibus_input_context_property_activate void ibus_input_context_property_activate
(IBusInputContext *context, (IBusInputContext *context,
 End of changes. 8 change blocks. 
9 lines changed or deleted 6 lines changed or added


 ibuspanelservice.h   ibuspanelservice.h 
skipping to change at line 26 skipping to change at line 26
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the * License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION) #if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
#error "Only <ibus.h> can be included directly" #error "Only <ibus.h> can be included directly"
#endif #endif
#ifndef __IBUS_PANEL_SERVICE_H_
#define __IBUS_PANEL_SERVICE_H_
/** /**
* SECTION: ibuspanelservice * SECTION: ibuspanelservice
* @short_description: Panel service back-end. * @short_description: Panel service back-end.
* @stability: Stable * @stability: Stable
* *
* An IBusPanelService is a base class for UI services. * An IBusPanelService is a base class for UI services.
* Developers can "extend" this class for panel UI development. * Developers can "extend" this class for panel UI development.
*/ */
#ifndef __IBUS_PANEL_SERVICE_H_
#define __IBUS_PANEL_SERVICE_H_
#include "ibuslookuptable.h" #include "ibuslookuptable.h"
#include "ibusservice.h" #include "ibusservice.h"
#include "ibusproplist.h" #include "ibusproplist.h"
/* /*
* Type macros. * Type macros.
*/ */
/* define GOBJECT macros */ /* define GOBJECT macros */
#define IBUS_TYPE_PANEL_SERVICE \ #define IBUS_TYPE_PANEL_SERVICE \
skipping to change at line 134 skipping to change at line 134
/** /**
* ibus_panel_service_new: * ibus_panel_service_new:
* @connection: An GDBusConnection. * @connection: An GDBusConnection.
* @returns: A newly allocated IBusPanelService. * @returns: A newly allocated IBusPanelService.
* *
* New an IBusPanelService from an GDBusConnection. * New an IBusPanelService from an GDBusConnection.
*/ */
IBusPanelService *ibus_panel_service_new (GDBusConnection *connection); IBusPanelService *ibus_panel_service_new (GDBusConnection *connection);
/** /**
* ibus_panel_service_candidate_clicked * ibus_panel_service_candidate_clicked:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* @index: Index in the Lookup table * @index: Index in the Lookup table
* @button: GdkEventButton::button (1: left button, etc.) * @button: GdkEventButton::button (1: left button, etc.)
* @state: GdkEventButton::state (key modifier flags) * @state: GdkEventButton::state (key modifier flags)
* *
* Notify that a candidate is clicked * Notify that a candidate is clicked
* by sending a "CandidateClicked" to IBus service. * by sending a "CandidateClicked" to IBus service.
*/ */
void ibus_panel_service_candidate_clicked (IBusPanelService *panel, void ibus_panel_service_candidate_clicked (IBusPanelService *panel,
guint index, guint index,
guint button, guint button,
guint state); guint state);
/** /**
* ibus_panel_service_cursor_down * ibus_panel_service_cursor_down:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* *
* Notify that the cursor is down * Notify that the cursor is down
* by sending a "CursorDown" to IBus service. * by sending a "CursorDown" to IBus service.
*/ */
void ibus_panel_service_cursor_down (IBusPanelService *panel); void ibus_panel_service_cursor_down (IBusPanelService *panel);
/** /**
* ibus_panel_service_cursor_up * ibus_panel_service_cursor_up:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* *
* Notify that the cursor is up * Notify that the cursor is up
* by sending a "CursorUp" to IBus service. * by sending a "CursorUp" to IBus service.
*/ */
void ibus_panel_service_cursor_up (IBusPanelService *panel); void ibus_panel_service_cursor_up (IBusPanelService *panel);
/** /**
* ibus_panel_service_page_down * ibus_panel_service_page_down:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* *
* Notify that the page is down * Notify that the page is down
* by sending a "PageDown" to IBus service. * by sending a "PageDown" to IBus service.
*/ */
void ibus_panel_service_page_down (IBusPanelService *panel); void ibus_panel_service_page_down (IBusPanelService *panel);
/** /**
* ibus_panel_service_page_up * ibus_panel_service_page_up:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* *
* Notify that the page is up * Notify that the page is up
* by sending a "PageUp" to IBus service. * by sending a "PageUp" to IBus service.
*/ */
void ibus_panel_service_page_up (IBusPanelService *panel); void ibus_panel_service_page_up (IBusPanelService *panel);
/** /**
* ibus_panel_service_property_activate * ibus_panel_service_property_activate:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* @prop_name: A property name * @prop_name: A property name
* @prop_state: State of the property * @prop_state: State of the property
* *
* Notify that a property is active * Notify that a property is active
* by sending a "PropertyActivate" message to IBus service. * by sending a "PropertyActivate" message to IBus service.
*/ */
void ibus_panel_service_property_activate (IBusPanelService *panel, void ibus_panel_service_property_activate (IBusPanelService *panel,
const gchar *prop_name, const gchar *prop_name,
guint prop_state); guint prop_state);
/** /**
* ibus_panel_service_property_show * ibus_panel_service_property_show:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* @prop_name: A property name * @prop_name: A property name
* *
* Notify that a property is shown * Notify that a property is shown
* by sending a "ValueChanged" message to IBus service. * by sending a "ValueChanged" message to IBus service.
*/ */
void ibus_panel_service_property_show (IBusPanelService *panel, void ibus_panel_service_property_show (IBusPanelService *panel,
const gchar *prop_name); const gchar *prop_name);
/** /**
* ibus_panel_service_property_hide * ibus_panel_service_property_hide:
* @panel: An IBusPanelService * @panel: An IBusPanelService
* @prop_name: A property name * @prop_name: A property name
* *
* Notify that a property is hidden * Notify that a property is hidden
* by sending a "ValueChanged" message to IBus service. * by sending a "ValueChanged" message to IBus service.
*/ */
void ibus_panel_service_property_hide (IBusPanelService *panel, void ibus_panel_service_property_hide (IBusPanelService *panel,
const gchar *prop_name); const gchar *prop_name);
G_END_DECLS G_END_DECLS
 End of changes. 10 change blocks. 
11 lines changed or deleted 11 lines changed or added


 ibusversion.h   ibusversion.h 
skipping to change at line 45 skipping to change at line 45
* *
* IBus major version. * IBus major version.
*/ */
#define IBUS_MAJOR_VERSION (1) #define IBUS_MAJOR_VERSION (1)
/** /**
* IBUS_MINOR_VERSION: * IBUS_MINOR_VERSION:
* *
* IBus minor version. * IBus minor version.
*/ */
#define IBUS_MINOR_VERSION (4) #define IBUS_MINOR_VERSION (5)
/** /**
* IBUS_MICRO_VERSION: * IBUS_MICRO_VERSION:
* *
* IBus micro version. * IBus micro version.
*/ */
#define IBUS_MICRO_VERSION (99) #define IBUS_MICRO_VERSION (2)
/** /**
* IBUS_CHECK_VERSION: * IBUS_CHECK_VERSION:
* @major: Major version of ibus. * @major: Major version of ibus.
* @minor: Minor version of ibus. * @minor: Minor version of ibus.
* @micro: Micro version of ibus. * @micro: Micro version of ibus.
* *
* Check whether the current IBus version is equal to or greater than * Check whether the current IBus version is equal to or greater than
* given major.minor.micro. * given major.minor.micro.
*/ */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/