| ibusenginedesc.h | | ibusenginedesc.h | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 89 | |
| * Input method engine description data. | | * Input method engine description data. | |
| * You can get extended values with g_object_get_properties. | | * You can get extended values with g_object_get_properties. | |
| * name: Name of the engine. | | * name: Name of the engine. | |
| * longname: Long name of the input method engine. | | * longname: Long name of the input method engine. | |
| * description: Input method engine description. | | * description: Input method engine description. | |
| * language: Language (e.g. zh, jp) supported by this input method engine. | | * language: Language (e.g. zh, jp) supported by this input method engine. | |
| * license: License of the input method engine. | | * license: License of the input method engine. | |
| * author: Author of the input method engine. | | * author: Author of the input method engine. | |
| * icon: Icon file of this engine. | | * icon: Icon file of this engine. | |
| * layout: Keyboard layout | | * layout: Keyboard layout | |
|
| | | * layout_variant: Keyboard variant | |
| | | * 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. | |
| | | * version: Version number of the input method engine. | |
| */ | | */ | |
| 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 233 | | skipping to change at line 237 | |
| /** | | /** | |
| * ibus_engine_desc_get_layout: | | * ibus_engine_desc_get_layout: | |
| * @info: An IBusEngineDesc | | * @info: An IBusEngineDesc | |
| * @returns: layout property in IBusEngineDesc | | * @returns: layout property in IBusEngineDesc | |
| * | | * | |
| * Return the layout property in IBusEngineDesc. It should not be freed. | | * Return the layout property in IBusEngineDesc. It should not be freed. | |
| */ | | */ | |
| const gchar *ibus_engine_desc_get_layout (IBusEngineDesc *info); | | const gchar *ibus_engine_desc_get_layout (IBusEngineDesc *info); | |
| | | | |
| /** | | /** | |
|
| | | * ibus_engine_desc_get_layout_variant: | |
| | | * @info: An IBusEngineDesc | |
| | | * @returns: keyboard variant property in IBusEngineDesc | |
| | | * | |
| | | * Return the keyboard variant property in IBusEngineDesc. It should not be | |
| | | freed. | |
| | | */ | |
| | | const gchar *ibus_engine_desc_get_layout_variant | |
| | | (IBusEngineDesc *info); | |
| | | | |
| | | /** | |
| | | * ibus_engine_desc_get_layout_option: | |
| | | * @info: An IBusEngineDesc | |
| | | * @returns: keyboard option property in IBusEngineDesc | |
| | | * | |
| | | * Return the keyboard option property in IBusEngineDesc. It should not be | |
| | | freed. | |
| | | */ | |
| | | const gchar *ibus_engine_desc_get_layout_option | |
| | | (IBusEngineDesc *info); | |
| | | | |
| | | /** | |
| * ibus_engine_desc_get_rank: | | * ibus_engine_desc_get_rank: | |
| * @info: An IBusEngineDesc | | * @info: An IBusEngineDesc | |
| * @returns: rank property in IBusEngineDesc | | * @returns: rank property in IBusEngineDesc | |
| * | | * | |
| * Return the rank property in IBusEngineDesc. | | * Return the rank property in IBusEngineDesc. | |
| */ | | */ | |
| guint ibus_engine_desc_get_rank (IBusEngineDesc *info); | | guint ibus_engine_desc_get_rank (IBusEngineDesc *info); | |
| | | | |
| /** | | /** | |
| * ibus_engine_desc_get_hotkeys: | | * ibus_engine_desc_get_hotkeys: | |
| | | | |
| skipping to change at line 269 | | skipping to change at line 293 | |
| /** | | /** | |
| * ibus_engine_desc_get_setup: | | * ibus_engine_desc_get_setup: | |
| * @info: An IBusEngineDesc | | * @info: An IBusEngineDesc | |
| * @returns: setup property in IBusEngineDesc | | * @returns: setup property in IBusEngineDesc | |
| * | | * | |
| * Return the setup property in IBusEngineDesc. It should not be freed. | | * Return the setup property in IBusEngineDesc. It should not be freed. | |
| */ | | */ | |
| const gchar *ibus_engine_desc_get_setup (IBusEngineDesc *info); | | const gchar *ibus_engine_desc_get_setup (IBusEngineDesc *info); | |
| | | | |
| /** | | /** | |
|
| | | * ibus_engine_desc_get_version: | |
| | | * @info: An IBusEngineDesc | |
| | | * @returns: version in IBusEngineDesc | |
| | | * | |
| | | * Return the version property in IBusEngineDesc. It should not be freed. | |
| | | */ | |
| | | const gchar *ibus_engine_desc_get_version (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. 4 change blocks. |
| 0 lines changed or deleted | | 35 lines changed or added | |
|
| ibusobservedpath.h | | ibusobservedpath.h | |
| | | | |
| skipping to change at line 119 | | skipping to change at line 119 | |
| * @returns: A newly allocated IBusObservedPath. | | * @returns: A newly allocated IBusObservedPath. | |
| * | | * | |
| * New an IBusObservedPath from an XML node. | | * New an IBusObservedPath from an XML node. | |
| */ | | */ | |
| IBusObservedPath *ibus_observed_path_new (const gchar
*path, | | IBusObservedPath *ibus_observed_path_new (const gchar
*path, | |
| gboolean
fill_stat); | | gboolean
fill_stat); | |
| | | | |
| /** | | /** | |
| * ibus_observed_path_traverse: | | * ibus_observed_path_traverse: | |
| * @path: An IBusObservedPath. | | * @path: An IBusObservedPath. | |
|
| | | * @dir_only: Only looks for subdirs, not files | |
| * @returns: (element-type IBusObservedPath): A newly allocate GList which
holds content in path; NULL if @path is not directory. | | * @returns: (element-type IBusObservedPath): A newly allocate GList which
holds content in path; NULL if @path is not directory. | |
| * | | * | |
| * Recursively traverse the path and put the files and subdirectory in to a
newly allocated | | * Recursively traverse the path and put the files and subdirectory in to a
newly allocated | |
| * GLists, if the @path is a directory. Otherwise returns NULL. | | * GLists, if the @path is a directory. Otherwise returns NULL. | |
| */ | | */ | |
|
| GList *ibus_observed_path_traverse (IBusObservedPa | | GList *ibus_observed_path_traverse (IBusObservedPa | |
| th *path); | | th *path, | |
| | | gboolean | |
| | | dir_only); | |
| | | | |
| /** | | /** | |
| * ibus_observed_path_check_modification: | | * ibus_observed_path_check_modification: | |
| * @path: An IBusObservedPath. | | * @path: An IBusObservedPath. | |
| * @returns: TRUE if mtime is changed; FALSE otherwise. | | * @returns: TRUE if mtime is changed; FALSE otherwise. | |
| * | | * | |
| * Checks whether the path is modified by comparing the mtime in object and
mtime in file system. | | * Checks whether the path is modified by comparing the mtime in object and
mtime in file system. | |
| * Returns TRUE if imtime is changed, otherwise FALSE. | | * Returns TRUE if imtime is changed, otherwise FALSE. | |
| */ | | */ | |
| gboolean ibus_observed_path_check_modification (IBusObservedPa
th *path); | | gboolean ibus_observed_path_check_modification (IBusObservedPa
th *path); | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 5 lines changed or added | |
|
| ibusserializable.h | | ibusserializable.h | |
| | | | |
| skipping to change at line 236 | | skipping to change at line 236 | |
| * Remove a value from attachment of an #IBusSerializable. | | * Remove a value from attachment of an #IBusSerializable. | |
| * See also: ibus_serializable_remove_attachment(). | | * See also: ibus_serializable_remove_attachment(). | |
| */ | | */ | |
| void ibus_serializable_remove_qattachment | | void ibus_serializable_remove_qattachment | |
| (IBusSerializable
*serializable, | | (IBusSerializable
*serializable, | |
| GQuark
key); | | GQuark
key); | |
| | | | |
| /** | | /** | |
| * ibus_serializable_copy: | | * ibus_serializable_copy: | |
| * @serializable: An #IBusSerializable. | | * @serializable: An #IBusSerializable. | |
|
| * @returns: A newly allocated clone object; or %NULL if @object is not ser | | * @returns: (transfer none): A newly allocated clone object; or %NULL | |
| ializable. | | * if @object is not serializable. | |
| * | | * | |
| * Clone an #IBusSerializable. | | * Clone an #IBusSerializable. | |
| * The copy method should be implemented in extended class. | | * The copy method should be implemented in extended class. | |
| * | | * | |
| * See also: IBusSerializableCopyFunc(). | | * See also: IBusSerializableCopyFunc(). | |
| */ | | */ | |
| IBusSerializable *ibus_serializable_copy (IBusSerializable
*serializable); | | IBusSerializable *ibus_serializable_copy (IBusSerializable
*serializable); | |
| | | | |
| /** | | /** | |
| * ibus_serializable_serialize: | | * ibus_serializable_serialize: | |
| | | | |
| skipping to change at line 260 | | skipping to change at line 261 | |
| * Serialize an #IBusSerializable to a #GVariant. | | * Serialize an #IBusSerializable to a #GVariant. | |
| * The serialize method should be implemented in extended class. | | * The serialize method should be implemented in extended class. | |
| * | | * | |
| * See also: IBusSerializableCopyFunc(). | | * See also: IBusSerializableCopyFunc(). | |
| */ | | */ | |
| GVariant *ibus_serializable_serialize (IBusSerializable
*serializable); | | GVariant *ibus_serializable_serialize (IBusSerializable
*serializable); | |
| | | | |
| /** | | /** | |
| * ibus_serializable_deserialize: | | * ibus_serializable_deserialize: | |
| * @variant: A #GVariant. | | * @variant: A #GVariant. | |
|
| * @returns: The deserialized #IBusSerializable. | | * @returns: (transfer none): The deserialized #IBusSerializable. | |
| * | | * | |
| * Deserialize a #GVariant to an #IBusSerializable/ | | * Deserialize a #GVariant to an #IBusSerializable/ | |
| * The deserialize method should be implemented in extended class. | | * The deserialize method should be implemented in extended class. | |
| * | | * | |
| * See also: IBusSerializableCopyFunc(). | | * See also: IBusSerializableCopyFunc(). | |
| */ | | */ | |
| IBusSerializable *ibus_serializable_deserialize (GVariant
*variant); | | IBusSerializable *ibus_serializable_deserialize (GVariant
*variant); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|