ibus.h | ibus.h | |||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* 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. | |||
*/ | */ | |||
#ifndef __IBUS_H_ | #ifndef __IBUS_H_ | |||
#define __IBUS_H_ | #define __IBUS_H_ | |||
#include <ibusmainloop.h> | ||||
#include <ibusshare.h> | #include <ibusshare.h> | |||
#include <ibusobject.h> | #include <ibusobject.h> | |||
#include <ibusserializable.h> | #include <ibusserializable.h> | |||
#include <ibustext.h> | #include <ibustext.h> | |||
#include <ibusconnection.h> | #include <ibusconnection.h> | |||
#include <ibusserver.h> | #include <ibusserver.h> | |||
#include <ibusproxy.h> | #include <ibusproxy.h> | |||
#include <ibusservice.h> | #include <ibusservice.h> | |||
#include <ibusfactory.h> | #include <ibusfactory.h> | |||
#include <ibusengine.h> | #include <ibusengine.h> | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
ibushotkey.h | ibushotkey.h | |||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
struct _IBusHotkeyProfile { | struct _IBusHotkeyProfile { | |||
IBusSerializable parent; | IBusSerializable parent; | |||
/* members */ | /* members */ | |||
}; | }; | |||
struct _IBusHotkeyProfileClass { | struct _IBusHotkeyProfileClass { | |||
IBusSerializableClass parent; | IBusSerializableClass parent; | |||
void (* trigger) (IBusHotkeyProfile *profile, | void (* trigger) (IBusHotkeyProfile *profile, | |||
GQuark event); | GQuark event, | |||
gpointer user_data); | ||||
}; | }; | |||
/* hotkey profile functions */ | /* hotkey profile functions */ | |||
GType ibus_hotkey_profile_get_type (void); | GType ibus_hotkey_profile_get_type (void); | |||
IBusHotkeyProfile | IBusHotkeyProfile | |||
*ibus_hotkey_profile_new (void); | *ibus_hotkey_profile_new (void); | |||
gboolean ibus_hotkey_profile_add_hotkey (IBusHotkeyProfile *profil e, | gboolean ibus_hotkey_profile_add_hotkey (IBusHotkeyProfile *profil e, | |||
guint keyval , | guint keyval , | |||
guint modifi ers, | guint modifi ers, | |||
GQuark event) ; | GQuark event) ; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
ibustypes.h | ibustypes.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
* @IBUS_MOD1_MASK: Modifier 1 (Usually Alt_L (0x40), Alt_R (0x6c), Meta_ L (0xcd)) activated. | * @IBUS_MOD1_MASK: Modifier 1 (Usually Alt_L (0x40), Alt_R (0x6c), Meta_ L (0xcd)) activated. | |||
* @IBUS_MOD2_MASK: Modifier 2 (Usually Num_Lock (0x4d)) activated. | * @IBUS_MOD2_MASK: Modifier 2 (Usually Num_Lock (0x4d)) activated. | |||
* @IBUS_MOD3_MASK: Modifier 3 activated. | * @IBUS_MOD3_MASK: Modifier 3 activated. | |||
* @IBUS_MOD4_MASK: Modifier 4 (Usually Super_L (0xce), Hyper_L (0xcf)) ac tivated. | * @IBUS_MOD4_MASK: Modifier 4 (Usually Super_L (0xce), Hyper_L (0xcf)) ac tivated. | |||
* @IBUS_MOD5_MASK: Modifier 5 (ISO_Level3_Shift (0x5c), Mode_switch (0xcb )) activated. | * @IBUS_MOD5_MASK: Modifier 5 (ISO_Level3_Shift (0x5c), Mode_switch (0xcb )) activated. | |||
* @IBUS_BUTTON1_MASK: Mouse button 1 (left) is activated. | * @IBUS_BUTTON1_MASK: Mouse button 1 (left) is activated. | |||
* @IBUS_BUTTON2_MASK: Mouse button 2 (middle) is activated. | * @IBUS_BUTTON2_MASK: Mouse button 2 (middle) is activated. | |||
* @IBUS_BUTTON3_MASK: Mouse button 3 (right) is activated. | * @IBUS_BUTTON3_MASK: Mouse button 3 (right) is activated. | |||
* @IBUS_BUTTON4_MASK: Mouse button 4 (scroll up) is activated. | * @IBUS_BUTTON4_MASK: Mouse button 4 (scroll up) is activated. | |||
* @IBUS_BUTTON5_MASK: Mouse button 5 (scroll down) is activated. | * @IBUS_BUTTON5_MASK: Mouse button 5 (scroll down) is activated. | |||
* @IBUS_FORWARD_MASK: Forward mask. | * @IBUS_HANDLED_MASK: Handled mask indicates the event has been handled by | |||
ibus. | ||||
* @IBUS_FORWARD_MASK: Forward mask indicates the event has been forward fr | ||||
om ibus. | ||||
* @IBUS_IGNORED_MASK: It is an alias of IBUS_FORWARD_MASK. | ||||
* @IBUS_SUPER_MASK: Super (Usually Win) key is activated. | * @IBUS_SUPER_MASK: Super (Usually Win) key is activated. | |||
* @IBUS_HYPER_MASK: Hyper key is activated. | * @IBUS_HYPER_MASK: Hyper key is activated. | |||
* @IBUS_META_MASK: Meta key is activated. | ||||
* @IBUS_RELEASE_MASK: Key is released. | * @IBUS_RELEASE_MASK: Key is released. | |||
* @IBUS_MODIFIER_MASK: Modifier mask for the all the masks above. | * @IBUS_MODIFIER_MASK: Modifier mask for the all the masks above. | |||
* | * | |||
* Handles key modifier such as control, shift and alt and release event. | * Handles key modifier such as control, shift and alt and release event. | |||
* Note that nits 15 - 25 are currently unused, while bit 29 is used intern ally. | * Note that nits 15 - 25 are currently unused, while bit 29 is used intern ally. | |||
*/ | */ | |||
typedef enum | typedef enum | |||
{ | { | |||
IBUS_SHIFT_MASK = 1 << 0, | IBUS_SHIFT_MASK = 1 << 0, | |||
IBUS_LOCK_MASK = 1 << 1, | IBUS_LOCK_MASK = 1 << 1, | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added | |||