#include <exception>
#include <new>
#include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include <map>
#include <algorithm>
#include <string>
#include <cstdio>
#include <iconv.h>
#include <scim_types.h>
#include <scim_debug.h>
#include <scim_exception.h>
#include <scim_event.h>
#include <scim_utility.h>
#include <scim_global_config.h>
#include <scim_pointer.h>
#include <scim_object.h>
#include <scim_slot.h>
#include <scim_connection.h>
#include <scim_signals.h>
#include <scim_bind.h>
#include <scim_config_base.h>
#include <scim_attribute.h>
#include <scim_property.h>
#include <scim_lookup_table.h>
#include <scim_iconv.h>
#include <scim_module.h>
#include <scim_socket.h>
#include <scim_transaction.h>
#include <scim_imengine.h>
#include <scim_imengine_module.h>
#include <scim_compose_key.h>
#include <scim_backend.h>
#include <scim_frontend.h>
#include <scim_frontend_module.h>
#include <scim_config_module.h>
#include <scim_config_path.h>
#include <scim_trans_commands.h>
#include <scim_helper.h>
#include <scim_helper_module.h>
#include <scim_helper_manager.h>
#include <scim_panel_agent.h>
#include <scim_panel_client.h>
#include <scim_filter.h>
all of the header files are included within this file. source files may include this file instead of others headers.
◆ Uses_SCIM_TYPES
◆ Uses_SCIM_UTILITY
#define Uses_SCIM_UTILITY |
◆ Uses_SCIM_GLOBAL_CONFIG
#define Uses_SCIM_GLOBAL_CONFIG |
◆ Uses_SCIM_EXCEPTION
#define Uses_SCIM_EXCEPTION |
◆ Uses_SCIM_DEBUG
◆ Uses_SCIM_OBJECT
◆ Uses_SCIM_SIGNALS
#define Uses_SCIM_SIGNALS |
◆ Uses_SCIM_SLOT
◆ Uses_SCIM_CONNECTION
#define Uses_SCIM_CONNECTION |
◆ Uses_SCIM_BIND
◆ Uses_SCIM_POINTER
#define Uses_SCIM_POINTER |
◆ Uses_STL_STRING
◆ Uses_STL_VECTOR
◆ Uses_STL_ALGORITHM
#define Uses_STL_ALGORITHM |
◆ Uses_STL_NEW
◆ Uses_SCIM_IMENGINE [1/5]
#define Uses_SCIM_IMENGINE |
◆ Uses_SCIM_PANEL_AGENT
#define Uses_SCIM_PANEL_AGENT |
◆ Uses_SCIM_PANEL_CLIENT
#define Uses_SCIM_PANEL_CLIENT |
◆ Uses_SCIM_HELPER_MANAGER
#define Uses_SCIM_HELPER_MANAGER |
◆ Uses_SCIM_TRANSACTION [1/5]
#define Uses_SCIM_TRANSACTION |
◆ Uses_SCIM_TRANSACTION [2/5]
#define Uses_SCIM_TRANSACTION |
◆ Uses_SCIM_HELPER [1/2]
◆ Uses_SCIM_HELPER [2/2]
◆ Uses_SCIM_MODULE [1/5]
◆ Uses_SCIM_CONFIG_BASE [1/5]
#define Uses_SCIM_CONFIG_BASE |
◆ Uses_SCIM_TRANSACTION [3/5]
#define Uses_SCIM_TRANSACTION |
◆ Uses_SCIM_EVENT [1/5]
◆ Uses_SCIM_IMENGINE [2/5]
#define Uses_SCIM_IMENGINE |
◆ Uses_SCIM_EVENT [2/5]
◆ Uses_SCIM_LOOKUP_TABLE [1/3]
#define Uses_SCIM_LOOKUP_TABLE |
◆ Uses_SCIM_SOCKET [1/3]
◆ Uses_SCIM_ATTRIBUTE [1/4]
#define Uses_SCIM_ATTRIBUTE |
◆ Uses_SCIM_PROPERTY [1/3]
#define Uses_SCIM_PROPERTY |
◆ Uses_SCIM_TRANS_COMMANDS
#define Uses_SCIM_TRANS_COMMANDS |
◆ Uses_SCIM_MODULE [2/5]
◆ Uses_SCIM_CONFIG_BASE [2/5]
#define Uses_SCIM_CONFIG_BASE |
◆ Uses_SCIM_MODULE [3/5]
◆ Uses_SCIM_CONFIG_BASE [3/5]
#define Uses_SCIM_CONFIG_BASE |
◆ Uses_SCIM_IMENGINE [3/5]
#define Uses_SCIM_IMENGINE |
◆ Uses_SCIM_MODULE [4/5]
◆ Uses_SCIM_CONFIG_BASE [4/5]
#define Uses_SCIM_CONFIG_BASE |
◆ Uses_SCIM_FRONTEND
#define Uses_SCIM_FRONTEND |
◆ Uses_C_ICONV
◆ Uses_SCIM_BACKEND
#define Uses_SCIM_BACKEND |
◆ Uses_SCIM_IMENGINE [4/5]
#define Uses_SCIM_IMENGINE |
◆ Uses_SCIM_EVENT [3/5]
◆ Uses_SCIM_LOOKUP_TABLE [2/3]
#define Uses_SCIM_LOOKUP_TABLE |
◆ Uses_STL_MAP
◆ Uses_C_STDIO
◆ Uses_SCIM_ATTRIBUTE [2/4]
#define Uses_SCIM_ATTRIBUTE |
◆ Uses_SCIM_PROPERTY [2/3]
#define Uses_SCIM_PROPERTY |
◆ Uses_SCIM_TRANSACTION [4/5]
#define Uses_SCIM_TRANSACTION |
◆ Uses_SCIM_SOCKET [2/3]
◆ Uses_SCIM_IMENGINE [5/5]
#define Uses_SCIM_IMENGINE |
◆ Uses_SCIM_CONFIG_BASE [5/5]
#define Uses_SCIM_CONFIG_BASE |
◆ Uses_SCIM_COMPOSE_KEY
#define Uses_SCIM_COMPOSE_KEY |
◆ Uses_SCIM_EVENT [4/5]
◆ Uses_SCIM_LOOKUP_TABLE [3/3]
#define Uses_SCIM_LOOKUP_TABLE |
◆ Uses_SCIM_ATTRIBUTE [3/4]
#define Uses_SCIM_ATTRIBUTE |
◆ Uses_SCIM_PROPERTY [3/3]
#define Uses_SCIM_PROPERTY |
◆ Uses_SCIM_TRANSACTION [5/5]
#define Uses_SCIM_TRANSACTION |
◆ Uses_SCIM_SOCKET [3/3]
◆ Uses_SCIM_EVENT [5/5]
◆ Uses_SCIM_ATTRIBUTE [4/4]
#define Uses_SCIM_ATTRIBUTE |
◆ Uses_SCIM_MODULE [5/5]
◆ Uses_SCIM_CONFIG_MODULE
#define Uses_SCIM_CONFIG_MODULE |
◆ Uses_STL_LIST
◆ Uses_STL_EXCEPTION
#define Uses_STL_EXCEPTION |
◆ Uses_STL_IOSTREAM [1/2]
#define Uses_STL_IOSTREAM |
◆ Uses_STL_FSTREAM
◆ Uses_STL_IOSTREAM [2/2]
#define Uses_STL_IOSTREAM |
Connection signal_connect_remove_helper(PanelAgentSlotInt *slot)
Signal: Remove a helper object.
Definition: scim_event.h:641
Definition: scim_event.h:1967
Definition: scim_event.h:314
Definition: scim_event.h:1906
Definition: scim_event.h:1547
Definition: scim_event.h:694
void reset(void)
Reset the HotkeyMatcher.
Definition: scim_event.h:1063
static __Uint16Pair __french_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1359
Definition: scim_event.h:138
Definition: scim_event.h:1754
Definition: scim_event.h:65
static __Uint16Pair __german_swiss_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2081
Definition: scim_event.h:838
FrontEndHotkeyAction get_match_result(void) const
Get the match result.
Definition: scim_event.h:449
Definition: scim_event.h:472
void hide_lookup_table()
Hide the lookup table area.
Definition: scim_event.h:975
virtual WideString get_name() const
Get the name of this input method engine.
Definition: scim_event.h:719
const DebugOutput & operator<<(const T &t) const
A template stream output operator.
Definition: scim_debug.h:111
TransactionDataType get_data_type() const
Get the type of the data at current read position.
OutType & value()
Definition: scim_signals.h:118
size_t get_all_hotkeys(KeyEventList &keys, std::vector< FrontEndHotkeyAction > &actions) const
Get all hotkeys in this FrontEndHotkeyMatcher.
static __Uint16Pair __us_to_portuguese_shift[]
Definition: scim_keyboard_layout_data.h:2855
friend bool operator==(const Pointer< T1 > &t1, const Pointer< T2 > &t2)
Definition: scim_pointer.h:227
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4) const
Definition: scim_slot.h:669
virtual void disconnect()
Disconnect the slot. The slot will no longer receive signal emissions.
Definition: scim_event.h:1646
String scim_get_language_locales(const String &lang)
Get the supported locales for a language.
Definition: scim_event.h:1080
void start_helper(const String &helper_uuid)
Start a Client Helper process.
Send/Receive vector<String>.
Definition: scim_transaction.h:57
bool valid() const
Check if the socket is valid.
String scim_get_default_socket_config_address()
Get the default socket address of SocketConfig.
bool delete_instance(int id)
delete an IMEngine instance according to its id.
Definition: scim_event.h:630
ucs4_t utf8_read_wchar(std::istream &is)
Read a wide char from istream.
bool reload_config(void)
Let all FrontEnds and Helpers reload configuration.
Definition: scim_event.h:1297
Definition: scim_event.h:1267
Definition: scim_event.h:238
Pointer(const Pointer< T1 > &src)
Definition: scim_pointer.h:97
Definition: scim_event.h:1890
Definition: scim_event.h:1300
Definition: scim_event.h:460
Slot2< void, int, const KeyEvent & > PanelClientSlotKeyEvent
Definition: scim_panel_client.h:62
void hide_preedit_string()
Hide the preedit string area.
Definition: scim_event.h:1883
static __Uint16Pair __norwegian_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2575
const String & get_icon() const
Get the icon file of this property.
Definition: scim_property.h:129
Definition: scim_event.h:1518
Definition: scim_event.h:1273
const int SCIM_TRANS_CMD_USER_DEFINED
Definition: scim_trans_commands.h:574
Definition: scim_event.h:1494
Definition: scim_event.h:1431
Definition: scim_event.h:1151
A slot template for methods in a class of type T taking no arguments and returning a value of type R.
Definition: scim_slot.h:123
Definition: scim_event.h:747
Definition: scim_event.h:677
bool operator!=(const Pointer< T1 > &t1, const Pointer< T2 > &t2)
Definition: scim_pointer.h:235
Definition: scim_panel_common.h:42
Definition: scim_event.h:180
Connection signal_connect_register_properties(IMEngineSlotPropertyList *slot)
Definition: scim_event.h:959
Definition: scim_event.h:734
~SocketAddress()
Destructor.
An exception class to hold FrontEnd related errors.
Definition: scim_frontend.h:47
Definition: scim_event.h:103
String scim_get_default_socket_imengine_address()
Get the default socket address of SocketIMEngine.
Exception(const String &what_arg)
Definition: scim_exception.h:49
Definition: scim_event.h:882
The interface class to manage a set of IMEngineFactory and IMEngineInstance objects.
Definition: scim_backend.h:61
const IConvert & operator=(const IConvert &iconvert)
Assign operator.
Definition: scim_event.h:1556
Definition: scim_event.h:1405
Definition: scim_event.h:171
Slot4< void, const HelperAgent *, int, const String &, const String & > HelperAgentSlotString
Definition: scim_helper.h:126
Defines scim::FilterManager.
Definition: scim_event.h:393
virtual String get_icon_file() const
Get the icon file path of this input method engine.
Definition: scim_event.h:1530
virtual R call(P1 p1, P2 p2) const
Definition: scim_slot.h:383
Definition: scim_event.h:1412
Definition: scim_event.h:930
Definition: scim_event.h:1160
static __Uint16Pair __uk_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3993
Definition: scim_event.h:1765
Definition: scim_event.h:1332
Definition: scim_event.h:1655
Definition: scim_event.h:455
Definition: scim_slot.h:1051
bool is_matched(void) const
Check if the last KeyEvent pushed by push_key_event () matched with any Hotkey.
void send_key_event(int ic, const String &ic_uuid, const KeyEvent &key) const
Send a KeyEvent to an IMEngineInstance.
Definition: scim_event.h:910
String scim_get_current_language()
Get current system language.
SignalSlot3(T *signal, PF function)
Definition: scim_slot.h:630
Definition: scim_event.h:380
Definition: scim_event.h:1694
Definition: scim_event.h:244
Definition: scim_event.h:303
Definition: scim_event.h:894
Definition: scim_event.h:431
ucs4_t scim_wchar_to_half_width(ucs4_t code)
Convert a full width unicode char to its half width counterpart.
Definition: scim_event.h:567
definition of LookupTable classes.
Defines some structures and types which are used by both scim::PanelAgent and scim::PanelClient.
FilterError(const String &what_arg)
Definition: scim_filter.h:53
int scim_get_imengine_module_list(std::vector< String > &mod_list)
Get a name list of currently available IMEngine modules.
Definition: scim_event.h:167
int scim_get_module_list(std::vector< String > &mod_list, const String &type="")
String icon
The icon file path.
Definition: scim_filter.h:65
Definition: scim_event.h:511
Definition: scim_event.h:633
void close()
Close the socket.
Definition: scim_event.h:1319
Definition: scim_event.h:504
String get_default_locale() const
Get the default locale of this input method engine.
Definition: scim_event.h:95
void scim_uint32tobytes(unsigned char *bytes, uint32 n)
Convert an uint32 variable into a sequence of bytes.
Definition: scim_utility.h:163
Definition: scim_event.h:736
Definition: scim_event.h:638
Definition: scim_event.h:197
Definition: scim_event.h:177
OutType & value()
Definition: scim_signals.h:94
Pointer< FrontEndBase > FrontEndPointer
Definition: scim_frontend.h:61
Definition: scim_event.h:1486
Definition: scim_event.h:235
A slot template for static functions taking two arguments of type P1 and P2, and returning a value of...
Definition: scim_slot.h:373
Definition: scim_event.h:273
Base class for the C++ signal interface.
Definition: scim_signals.h:131
Definition: scim_event.h:1206
The class used to load a Helper module and run its Helpers.
Definition: scim_helper_module.h:92
Definition: scim_event.h:265
Definition: scim_event.h:150
Definition: scim_event.h:266
void set_cursor_pos(int pos)
Set the cursor position.
virtual ~ComposeKeyInstance()
Definition: scim_event.h:1842
Definition: scim_event.h:1543
Definition: scim_event.h:1701
Converts a slot taking six arguments into a slot taking five arguments.
Definition: scim_bind.h:242
Definition: scim_event.h:1632
Definition: scim_event.h:1880
Definition: scim_event.h:823
Definition: scim_event.h:962
bool OutType
Definition: scim_signals.h:109
const int SCIM_TRANS_CMD_FLUSH_CONFIG
Definition: scim_trans_commands.h:513
Definition: scim_event.h:1644
Definition: scim_event.h:1923
Slot2< void, IMEngineInstanceBase *, int > IMEngineSlotInt
Definition: scim_imengine.h:98
ucs4_t scim_wchar_to_full_width(ucs4_t code)
Convert a half width unicode char to its full width counterpart.
TransactionDataType get_data_type() const
Get the type of the data at current read position.
Definition: scim_event.h:1749
Definition: scim_event.h:1288
bool scim_socket_open_connection(uint32 &key, const String &client_type, const String &server_type, const Socket &socket, int timeout=-1)
Helper function to open a connection to a socket server with a standard hand shake protocol.
const int SCIM_TRANS_CMD_CLOSE_CONNECTION
It's used to request the socket server to close the connection forcedly.
Definition: scim_trans_commands.h:390
bool write_to_buffer(void *buf, size_t bufsize) const
Write the transaction into a buffer.
Definition: scim_event.h:1369
Definition: scim_event.h:1663
Definition: scim_event.h:1292
This class is used to pack up many data and commands into one package and send them via socket.
Definition: scim_transaction.h:82
Definition: scim_event.h:1162
Definition: scim_event.h:1403
Definition: scim_signals.h:922
static __Uint16Pair __us_to_czech_caps_shift[]
Definition: scim_keyboard_layout_data.h:409
Definition: scim_imengine.h:61
Definition: scim_event.h:1760
Definition: scim_event.h:1190
Defines scim::IMEngineFactoryBase and scim::IMEngineInstanceBase interfaces.
Definition: scim_module.h:46
Definition: scim_event.h:1885
Definition: scim_event.h:883
Definition: scim_event.h:1002
The base class to implement FilterFactory classes.
Definition: scim_filter.h:84
std::basic_string< ucs4_t > WideString
Definition: scim_types.h:55
virtual ~Node()
Destructor.
R emit()
Definition: scim_signals.h:192
Definition: scim_event.h:1413
Definition: scim_imengine.h:59
Definition: scim_event.h:481
Definition: scim_event.h:1503
Definition: scim_event.h:1324
Definition: scim_event.h:559
Definition: scim_event.h:1554
static __Uint16Pair __us_to_italian_normal[]
Definition: scim_keyboard_layout_data.h:2303
static __Uint16Pair __us_to_dvorak_normal[]
Definition: scim_keyboard_layout_data.h:787
Definition: scim_event.h:799
Definition: scim_event.h:776
Definition: scim_event.h:416
Definition: scim_event.h:1108
Definition: scim_event.h:332
Definition: scim_event.h:1467
Definition: scim_event.h:492
void reset(int id) const
reset a specific IMEngine instance.
A slot template for methods in a class of type T taking one argument of type P1 and returning a value...
Definition: scim_slot.h:265
T * operator->() const
Definition: scim_pointer.h:160
A node class for managing slots connected to scim::Signal's.
Definition: scim_signals.h:56
Connection signal_connect_lock(PanelAgentSlotVoid *slot)
Signal: Lock the exclusive lock for this PanelAgent.
Definition: scim_event.h:1552
Definition: scim_event.h:1892
Definition: scim_event.h:101
bool skip_data()
Skip one data from current read position.
Definition: scim_event.h:1828
void set_frontend_data(void *data)
Attach a pointer to this IMEngineInstance, which is pointed to corresponding FrontEnd data.
Definition: scim_event.h:1533
virtual R call(P1 p1, P2 p2) const =0
Calls the signal handler connected to this slot.
static __Uint16Pair __us_to_japanese_shift[]
Definition: scim_keyboard_layout_data.h:2476
Definition: scim_event.h:1013
Structure to hold the information of a Helper object.
Definition: scim_helper.h:99
Definition: scim_event.h:645
Definition: scim_slot.h:908
bool update_lookup_table_page_size(uint32 size)
Let the focused IMEngineInstance object update the page size of the LookupTable.
static __Uint16Pair __us_to_french_switzerland_shift[]
Definition: scim_keyboard_layout_data.h:1604
Definition: scim_event.h:389
Definition: scim_event.h:1351
virtual void filter_update_lookup_table(const LookupTable &table)
Definition: scim_event.h:1248
Definition: scim_event.h:872
Converts a slot taking three arguments into a slot taking two arguments.
Definition: scim_bind.h:131
Definition: scim_event.h:1137
Definition: scim_event.h:298
Definition: scim_event.h:1799
Definition: scim_event.h:853
Definition: scim_event.h:1100
Connection signal_connect_lookup_table_page_down(PanelClientSlotVoid *slot)
Signal: lookup table page down.
Definition: scim_event.h:1690
Definition: scim_event.h:1566
Definition: scim_event.h:1960
static __Uint16Pair __portuguese_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2787
virtual bool get_surrounding_text(int id, WideString &text, int &cursor, int maxlen_before, int maxlen_after)
Retrieves context around the insertion point.
Definition: scim_event.h:1198
Definition: scim_event.h:1171
Definition: scim_event.h:116
Definition: scim_event.h:84
Definition: scim_event.h:1513
Definition: scim_event.h:1193
Definition: scim_event.h:1072
Definition: scim_event.h:1176
Definition: scim_event.h:1371
virtual IMEngineInstancePointer create_instance(const String &encoding, int id=-1)
Create a new IMEngineInstance object.
Socket Server class.
Definition: scim_socket.h:327
Definition: scim_event.h:1195
Definition: scim_event.h:112
Definition: scim_event.h:122
Definition: scim_event.h:1466
Definition: scim_event.h:902
Definition: scim_event.h:229
Definition: scim_event.h:370
Connection connect(SlotType *slot)
Definition: scim_signals.h:349
A template for a signal passing five arguments of type P1, P2, P3, P4 and P5, and returning a value o...
Definition: scim_signals.h:732
FilterModule()
Default constructor.
static __Uint16Pair __turkish_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3827
virtual R call(P1 p1) const
Definition: scim_slot.h:240
const int SCIM_TRANS_CMD_SET_CONFIG_BOOL
Definition: scim_trans_commands.h:520
ConfigPointer create_config() const
Create a configuration object from this module.
The base class of lookup table.
Definition: scim_lookup_table.h:52
Definition: scim_event.h:561
Definition: scim_event.h:519
virtual ~LookupTable()
Virtual destructor.
virtual WideString get_help() const
Get the help information of this input method engine.
Send/Receive LookupTable.
Definition: scim_transaction.h:53
A base class of all other exception classes.
Definition: scim_exception.h:45
SlotType * slot()
Definition: scim_signals.h:702
void update_preedit_string(int icid, const WideString &str, const AttributeList &attrs)
virtual ~IMEngineFactoryBase()
Virtual destructor.
Definition: scim_event.h:1856
Definition: scim_event.h:1740
Definition: scim_event.h:1901
Definition: scim_event.h:1561
Definition: scim_event.h:1271
Definition: scim_event.h:1393
bool valid() const
Check if the transaction is valid.
Definition: scim_event.h:1867
Definition: scim_event.h:1064
void update_lookup_table_page_size(int id, unsigned int page_size) const
update the page size of a specific IMEngine instance's lookup table.
virtual R call(P1 p1, P2 p2) const
Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last paramete...
Definition: scim_bind.h:142
definition of scim::BackEnd class.
bool connect(const SocketAddress &addr) const
Initiate a connection on a socket.
FunctionSlot5(PF function)
Definition: scim_slot.h:807
SlotType * slot()
Definition: scim_signals.h:585
Pointer< IMEngineFactoryBase > IMEngineFactoryPointer
Definition: scim_imengine.h:85
bool empty() const
Check if this KeyEvent is empty.
Definition: scim_event.h:2115
Definition: scim_event.h:936
Definition: scim_event.h:268
void delete_all_instances()
delete all IMEngine instances.
Base class template for slots passing five arguments of type P1, P2, P3, P4 and P5,...
Definition: scim_slot.h:783
size_t scim_load_file(const String &filename, char **bufptr)
Load a file into memory.
static __Uint16Pair __us_to_french_switzerland_caps[]
Definition: scim_keyboard_layout_data.h:1565
const int SCIM_TRANS_CMD_FAIL
This command is usually used in the Transaction sending from a socket server to a socket client to in...
Definition: scim_trans_commands.h:350
String get_address() const
Get the address string.
static __Uint16Pair __us_to_slovak_normal[]
Definition: scim_keyboard_layout_data.h:2939
Definition: scim_event.h:876
Definition: scim_event.h:491
Connection signal_connect_show_factory_menu(PanelAgentSlotFactoryInfoVector *slot)
Signal: Show factory menu.
Definition: scim_event.h:223
bool page_up()
Flip to the previous page.
R operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
Function operator; calls emit().
Definition: scim_signals.h:792
Definition: scim_event.h:1567
WideString get_candidate_in_current_page(int page_index) const
Get a candidate in current page.
void stop_helper(int icid, const String &helper_uuid)
Definition: scim_event.h:1075
static __Uint16Pair __us_to_turkish_caps[]
Definition: scim_keyboard_layout_data.h:3872
virtual bool validate_locale(const String &locale) const
Check if an locale is supported by the original IMEngineFactory object specified in constructor or by...
Definition: scim_event.h:1225
Definition: scim_event.h:1142
FunctionSlot0(PF function)
Definition: scim_slot.h:95
const uint32 SCIM_HELPER_NEED_SPOT_LOCATION_INFO
Helper option indicates that it needs the spot location information.
Definition: scim_helper.h:94
SocketServer(int max_clients=-1)
Default constructor, do nothing.
static __Uint16Pair __us_to_finnish_shift[]
Definition: scim_keyboard_layout_data.h:1240
bool load(const String &name)
Load a Helper module.
Definition: scim_event.h:726
Definition: scim_event.h:650
Definition: scim_event.h:1819
Definition: scim_socket.h:71
const int SCIM_TRANS_CMD_SHOW_AUX_STRING
Definition: scim_trans_commands.h:478
unsigned int number_of_helpers() const
Get the total number of helpers supported by all helper modules.
Definition: scim_event.h:1281
Definition: scim_event.h:373
Definition: scim_event.h:1107
Definition: scim_event.h:657
virtual void move_preedit_caret(unsigned int pos)
Move the preedit caret in the preedit string.
void push_key_event(const KeyEvent &key)
Push a KeyEvent into the queue.
Definition: scim_event.h:994
int scim_get_filter_module_list(std::vector< String > &mod_list)
Get a name list of currently available Filter modules.
static void enable_debug(uint32 debug)
The global method to enable the debug output.
Definition: scim_event.h:1716
void set_default_factory(const String &language, const String &uuid)
Set the default IMEngineFactory for a specific language.
Definition: scim_event.h:658
Definition: scim_event.h:1915
size_t find_hotkeys(FrontEndHotkeyAction action, KeyEventList &keys) const
Find all Hotkeys binded to a specific action.
Definition: scim_event.h:1708
Definition: scim_event.h:1745
ComposeKeyInstance(ComposeKeyFactory *factory, const String &encoding, int id=-1)
KeyboardLayout scim_get_default_keyboard_layout()
Get default Keyboard Layout setting.
Definition: scim_event.h:1592
void move_preedit_caret(int id, unsigned int pos) const
let a specific IMEngine instance move its preedit caret.
static __Uint16Pair __turkish_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3857
MethodSlot4(T *object, PMF function)
Definition: scim_slot.h:701
Definition: scim_event.h:418
Definition: scim_event.h:714
Definition: scim_event.h:1825
Definition: scim_event.h:552
~SocketServer()
Destructor.
Definition: scim_event.h:260
Definition: scim_event.h:1445
Definition: scim_event.h:312
Definition: scim_event.h:710
Definition: scim_event.h:1294
Definition: scim_event.h:355
Definition: scim_event.h:980
Definition: scim_event.h:917
Definition: scim_event.h:1265
Definition: scim_event.h:1172
bool remove_external_socket(const Socket &sock)
Remove an external socket which was inserted by insert_external_socket ().
Definition: scim_event.h:913
Slot5< void, P1, P2, P3, P4, P5 > SlotType
Definition: scim_signals.h:813
Definition: scim_event.h:1988
Definition: scim_event.h:1926
Definition: scim_event.h:563
Definition: scim_event.h:671
static __Uint16Pair __portuguese_brazil_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2679
Definition: scim_event.h:951
Definition: scim_event.h:621
void load_hotkeys(const ConfigPointer &config)
Load all Hotkeys for IMEngines from Config.
static __Uint16Pair __us_to_hungarian_caps[]
Definition: scim_keyboard_layout_data.h:2176
Definition: scim_event.h:1986
const int SCIM_TRANS_CMD_UPDATE_LOOKUP_TABLE_PAGE_SIZE
Definition: scim_trans_commands.h:465
Definition: scim_event.h:750
virtual bool validate_locale(const String &locale) const
Check if a locale is supported by this IMEngineFactory.
Definition: scim_event.h:868
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const
Calls the original slot passing it arguments p1, p2, p3, p4 and p5, and the bound argument p as the l...
Definition: scim_bind.h:253
Definition: scim_event.h:1304
Definition: scim_event.h:1009
Definition: scim_event.h:68
uint32 get_factories_for_encoding(std::vector< IMEngineFactoryPointer > &factories, const String &encoding=String("")) const
Get the IMEngine factories list for specific encoding.
Definition: scim_event.h:91
Definition: scim_event.h:1744
virtual R call(P1 p1, P2 p2, P3 p3) const =0
Calls the signal handler connected to this slot.
static __Uint16Pair __finnish_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1261
Definition: scim_event.h:347
virtual void focus_in()
Focus in this engine instance.
void rewind()
Rewind the current read position, then the data can be read again.
Definition: scim_event.h:1440
const String & get_label() const
Get the label of this property.
Definition: scim_property.h:124
Definition: scim_event.h:165
Definition: scim_event.h:1333
Definition: scim_event.h:1531
Definition: scim_event.h:1069
Definition: scim_event.h:1130
Definition: scim_event.h:1627
static __Uint16Pair __portuguese_brazil_us_accents_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2775
Definition: scim_event.h:1400
Definition: scim_event.h:1098
Definition: scim_event.h:263
Definition: scim_event.h:509
bool change_factory(const String &uuid)
Change the factory used by the focused IMEngineInstance object.
Slot3< R, P1, P2, P3 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:510
bool load(const String &name, const ConfigPointer &config)
Load a Filter Module by its name.
virtual void update_property(int id, const Property &property)
update a property of an IMEngine instance.
Definition: scim_event.h:1185
Definition: scim_event.h:181
Definition: scim_event.h:622
Definition: scim_event.h:767
Definition: scim_event.h:176
Definition: scim_event.h:1079
const int SCIM_TRANS_CMD_EXIT
This command should be sent from a socket server to its clients to let them exit.
Definition: scim_trans_commands.h:440
Definition: scim_event.h:1226
Definition: scim_event.h:1115
Definition: scim_event.h:1390
R operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const
Function operator; Calls call().
Definition: scim_slot.h:792
R operator()()
Function operator; calls emit().
Definition: scim_signals.h:213
Definition: scim_event.h:620
Definition: scim_event.h:1805
Definition: scim_event.h:744
Definition: scim_event.h:1696
Definition: scim_event.h:965
Definition: scim_event.h:501
Definition: scim_event.h:1746
Definition: scim_event.h:237
static __Uint16Pair __us_to_norwegian_caps[]
Definition: scim_keyboard_layout_data.h:2563
Definition: scim_event.h:1041
const int SCIM_TRANS_CMD_GET_FACTORY_LOCALES
Definition: scim_trans_commands.h:508
Connection signal_connect_select_candidate(PanelClientSlotInt *slot)
Signal: select candidate.
R emit(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
Definition: scim_signals.h:766
Base class template for slots passing one argument of type P1 and returning a value of type R.
Definition: scim_slot.h:211
Signal2< void, SocketServer *, const Socket & > SocketServerSignalSocket
Definition: scim_socket.h:49
virtual R call(P1 p1, P2 p2) const
Definition: scim_slot.h:420
Definition: scim_event.h:1643
Definition: scim_event.h:1299
Smart pointer template class.
Definition: scim_pointer.h:54
Definition: scim_event.h:1795
Definition: scim_event.h:1658
Definition: scim_event.h:981
void show_help(int icid, const String &help)
Connection signal_connect_send_helper_event(IMEngineSlotStringTransaction *slot)
Slot3()
Constructor.
Definition: scim_slot.h:500
The class to manipulate the frontend modules.
Definition: scim_frontend_module.h:71
Definition: scim_event.h:926
Definition: scim_event.h:819
bool valid() const
Check if this address is valid.
Slot1< void, int > PanelClientSlotVoid
Definition: scim_panel_client.h:47
Definition: scim_event.h:684
Converts a slot taking one argument into a slot taking no arguments.
Definition: scim_bind.h:57
#define SCIM_PROPERTY_VISIBLE
Definition: scim_property.h:38
Connection signal_connect_update_screen(PanelAgentSlotInt *slot)
Signal: Update screen.
Definition: scim_event.h:1620
const int SCIM_TRANS_CMD_REQUEST
It's the first command which should be put into the Transaction sending from a socket client to a soc...
Definition: scim_trans_commands.h:320
FilterFactoryBase()
Default Constructor.
Definition: scim_event.h:900
Definition: scim_event.h:1649
const uint32 SCIM_HELPER_NEED_SCREEN_INFO
Helper option indicates that it needs the screen update information.
Definition: scim_helper.h:85
Definition: scim_event.h:1123
R operator()() const
Function operator; Calls call().
Definition: scim_slot.h:81
Definition: scim_event.h:1274
Definition: scim_event.h:536
Definition: scim_event.h:1913
Definition: scim_event.h:1798
Definition: scim_event.h:391
virtual void update_client_capabilities(unsigned int cap)
Update the capabilities of current client application which is attached to this IMEngineInstance.
const int SCIM_TRANS_CMD_PANEL_REQUEST_HELP
Definition: scim_trans_commands.h:546
static __Uint16Pair __italian_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2291
Definition: scim_event.h:874
Definition: scim_event.h:1964
String scim_validate_locale(const String &locale)
Test if the locale is valid, and return the good locale name.
A foreground color attribute, in RGB format.
Definition: scim_attribute.h:53
The class to hold a socket address.
Definition: scim_socket.h:94
static __KeyCodeMap __shift_map[]
Definition: scim_keyboard_layout_data.h:4327
uint32 get_factory_list_for_language(std::vector< String > &uuids, const String &language) const
Get the IMEngine factories list for specific language.
Definition: scim_event.h:1095
A template for a signal passing four arguments of type P1, P2, P3 and P4, and returning a value of ty...
Definition: scim_signals.h:615
bool marshal(const InType &newval)
Definition: scim_signals.h:97
bool request_factory_menu(void)
Request factory menu from the focused FrontEnd.
Definition: scim_event.h:1785
Slot2< void, const String &, const AttributeList & > PanelAgentSlotAttributeString
Definition: scim_panel_agent.h:85
Definition: scim_event.h:545
Definition: scim_event.h:1590
static __Uint16Pair __portuguese_brazil_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2721
Definition: scim_imengine.h:816
bool delete_surrounding_text(int offset, int len)
Ask the client to delete characters around the cursor position.
Definition: scim_event.h:1165
Definition: scim_event.h:1689
Definition: scim_event.h:1801
Definition: scim_event.h:1608
Definition: scim_event.h:126
Definition: scim_event.h:814
Definition: scim_event.h:1311
int scim_launch(bool daemon, const String &config, const String &imengines, const String &frontend, char *const argv[]=0)
Launch a SCIM process with specific options.
The class to filter and redirect the debug messages.
Definition: scim_debug.h:85
void set_active(bool active)
Set if this property is active.
Definition: scim_property.h:161
SignalSlot2(T *signal, PF function)
Definition: scim_slot.h:487
Definition: scim_event.h:1213
Definition: scim_event.h:130
virtual AttributeList get_attributes(int index) const
Get the attributes of a candidate.
Definition: scim_event.h:1427
Definition: scim_event.h:1257
Definition: scim_event.h:824
Definition: scim_event.h:420
bool get_filter_info(unsigned int index, FilterInfo &info) const
Get basic information of the FilterFactory class provided by this module.
Definition: scim_event.h:1314
Definition: scim_event.h:374
String get_all_locales() const
get all locales supported by BackEnd.
Definition: scim_event.h:546
Definition: scim_event.h:1394
int get_id() const
Get the unique id of this instance.
A slot template for static functions taking no arguments and returning a value of type R.
Definition: scim_slot.h:89
ReferencedObject()
Constructor.
Definition: scim_event.h:1325
Slot3< bool, IMEngineInstanceBase *, int, int > IMEngineSlotDeleteSurroundingText
Definition: scim_imengine.h:131
PanelClient is used by FrontEnd to communicate with Panel daemon.
Definition: scim_panel_client.h:71
Definition: scim_event.h:1188
static __Uint16Pair __estonian_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1087
Definition: scim_event.h:1342
The class to manipulate the Filter modules.
Definition: scim_filter_module.h:104
A slot template for methods in a class of type T taking four arguments of type P1,...
Definition: scim_slot.h:694
Slot0< R > SlotType
Function signature for handlers connecting the signal.
Definition: scim_signals.h:169
static __Uint16Pair __us_to_japanese_caps[]
Definition: scim_keyboard_layout_data.h:2450
Definition: scim_event.h:573
Definition: scim_event.h:801
Definition: scim_event.h:1520
An exception class to hold BackEnd related errors.
Definition: scim_backend.h:43
Definition: scim_event.h:339
Definition: scim_event.h:867
virtual void filter_show_preedit_string()
Definition: scim_event.h:972
static __Uint16Pair __czech_qwerty_to_us_shift[]
Definition: scim_keyboard_layout_data.h:523
BoundSlot3_4(Slot4< R, P1, P2, P3, P4 > *slot, P4 p4)
Definition: scim_bind.h:174
Definition: scim_event.h:349
Definition: scim_event.h:834
Definition: scim_event.h:280
Definition: scim_event.h:247
Definition: scim_event.h:270
Definition: scim_event.h:1391
Definition: scim_event.h:988
Definition: scim_event.h:784
Definition: scim_event.h:162
Definition: scim_event.h:623
static __Uint16Pair __us_to_slovak_qwerty_normal[]
Definition: scim_keyboard_layout_data.h:3137
Definition: scim_event.h:1425
Definition: scim_event.h:585
virtual WideString get_help() const
Get the help information of this input method engine.
Definition: scim_event.h:1873
Definition: scim_event.h:1270
static __Uint16Pair __us_to_estonian_normal[]
Definition: scim_keyboard_layout_data.h:1051
unsigned int get_end() const
Get the end position of this attribute.
Definition: scim_attribute.h:144
Definition: scim_event.h:788
Definition: scim_event.h:1978
A slot template for methods in a class of type T taking six arguments of type P1, P2,...
Definition: scim_slot.h:979
Definition: scim_event.h:316
ModuleError(const String &what_arg)
Definition: scim_module.h:42
Connection signal_connect_reload(ConfigSlotVoid *slot)
connect the given slot to the reload signal.
Definition: scim_event.h:591
Definition: scim_event.h:124
const int SCIM_TRANS_CMD_PROCESS_KEY_EVENT
This command is used in SocketIMEngine to SocketFrontEnd and Panel to FrontEnd protocols to send a Ke...
Definition: scim_trans_commands.h:462
Definition: scim_event.h:1966
static __Uint16Pair __us_to_portuguese_brazil_caps[]
Definition: scim_keyboard_layout_data.h:2689
Definition: scim_hotkey.h:252
Definition: scim_signals.h:451
Definition: scim_event.h:879
static __Uint16Pair __us_to_portuguese_brazil_us_accents_shift[]
Definition: scim_keyboard_layout_data.h:2769
Connection signal_connect_attach_input_context(HelperAgentSlotVoid *slot)
Connect a slot to Helper attach input context signal.
Definition: scim_event.h:795
Definition: scim_event.h:330
Definition: scim_event.h:699
WideString get_candidate_label(int page_index) const
Get the label string of a candidate in a page.
Definition: scim_event.h:826
The base class of the real input methods' IMEngineFactory classes.
Definition: scim_imengine.h:139
const int SCIM_TRANS_CMD_CONTROLLER_GET_CURRENT_FACTORY
Definition: scim_trans_commands.h:567
Definition: scim_event.h:352
String scim_get_home_dir()
Get the home dir of current user.
Definition: scim_event.h:741
void show_aux_string()
Show the aux string area.
Definition: scim_event.h:1451
Definition: scim_event.h:1922
The class to manipulate the config modules.
Definition: scim_config_module.h:67
static __Uint16Pair __italian_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2339
void set_filters_for_imengine(const String &uuid, const std::vector< String > &filters) const
Bind one or more Filters to an IMEngine.
static __Uint16Pair __us_to_french_caps[]
Definition: scim_keyboard_layout_data.h:1387
Definition: scim_event.h:1125
Defines scim::PanelAgent and their related types.
R operator()(P1 p1, P2 p2)
Function operator; calls emit().
Definition: scim_signals.h:441
static __Uint16Pair __japanese_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2423
Definition: scim_event.h:1260
Definition: scim_event.h:1576
static __Uint16Pair __us_to_french_switzerland_caps_shift[]
Definition: scim_keyboard_layout_data.h:1654
Definition: scim_event.h:1553
virtual bool validate_encoding(const String &encoding) const
Check if an encoding is supported by this IMEngineFactory.
Pointer< FilterFactoryBase > FilterFactoryPointer
Definition: scim_filter.h:264
Definition: scim_event.h:565
static __Uint16Pair __portuguese_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2835
R operator()(P1 p1)
Function operator; calls emit().
Definition: scim_signals.h:326
Definition: scim_event.h:1973
Definition: scim_event.h:851
Connection signal_connect_update_preedit_caret(PanelAgentSlotInt *slot)
Signal: Update preedit caret.
Definition: scim_event.h:1099
Send/Receive PropertyList.
Definition: scim_transaction.h:55
static __Uint16Pair __us_to_french_caps_shift[]
Definition: scim_keyboard_layout_data.h:1496
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const
Definition: scim_slot.h:991
std::vector< Property > PropertyList
The container to store a set of Properties.
Definition: scim_property.h:238
virtual R call(P1 p1, P2 p2) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:489
virtual R call() const =0
Calls the signal handler connected to this slot.
Definition: scim_slot.h:623
Definition: scim_event.h:1112
Definition: scim_event.h:1398
Definition: scim_event.h:706
void set_length(unsigned int length)
Set the length of this attribute.
Definition: scim_attribute.h:168
Definition: scim_event.h:1027
Definition: scim_event.h:362
Definition: scim_event.h:530
Slot2< void, int, int > PanelClientSlotInt
Definition: scim_panel_client.h:50
Send/Receive vector<WideString>.
Definition: scim_transaction.h:58
Definition: scim_event.h:992
Definition: scim_event.h:1527
Definition: scim_event.h:673
void shutdown()
Shutdown the server.
static __Uint16Pair __us_to_czech_normal[]
Definition: scim_keyboard_layout_data.h:259
Definition: scim_event.h:392
bool scim_string_to_key(KeyEvent &key, const String &str)
Convert a string to a KeyEvent.
Definition: scim_event.h:692
Definition: scim_event.h:537
Definition: scim_event.h:833
const unsigned int SCIM_ATTR_DECORATE_UNDERLINE
Draw a line under the text.
Definition: scim_attribute.h:58
Send/Receive another Transaction.
Definition: scim_transaction.h:59
Slot1< void, const PropertyList & > PanelAgentSlotPropertyList
Definition: scim_panel_agent.h:70
virtual void init(int argc, char **argv)=0
init the frontend.
virtual WideString get_help() const
Return the help information of the original IMEngineFactory object specified in contructor or by atta...
Definition: scim_event.h:785
Definition: scim_event.h:584
Definition: scim_event.h:908
static __Uint16Pair __hungarian_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2241
Definition: scim_event.h:1823
static __Uint16Pair __czech_to_us_caps[]
Definition: scim_keyboard_layout_data.h:283
Definition: scim_event.h:1152
void hide_lookup_table(int icid)
static __Uint16Pair __us_to_swedish_caps[]
Definition: scim_keyboard_layout_data.h:3731
Definition: scim_event.h:258
Definition: scim_event.h:1053
static __Uint16Pair __spanish_latin_america_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3653
Definition: scim_event.h:1302
Definition: scim_event.h:780
Slot2< void, IMEngineInstanceBase *, const WideString & > IMEngineSlotWideString
Definition: scim_imengine.h:107
Definition: scim_event.h:1490
Connection signal_connect_update_property(IMEngineSlotProperty *slot)
Definition: scim_event.h:725
Definition: scim_event.h:1888
Definition: scim_event.h:206
Definition: scim_event.h:493
Definition: scim_event.h:1132
Definition: scim_event.h:698
Definition: scim_event.h:1522
Definition: scim_event.h:213
bool active() const
If this property is active.
Definition: scim_property.h:114
Definition: scim_event.h:188
Definition: scim_event.h:448
unsigned int number_of_factories() const
Get how many IMEngine factories supported by this module.
static __Uint16Pair __us_to_slovak_qwerty_caps_shift[]
Definition: scim_keyboard_layout_data.h:3275
Definition: scim_event.h:1463
Definition: scim_event.h:1030
virtual R call(P1 p1, P2 p2, P3 p3) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:632
Definition: scim_hotkey.h:253
Definition: scim_event.h:354
Definition: scim_event.h:369
Definition: scim_event.h:654
Definition: scim_event.h:1411
Definition: scim_event.h:92
static ConfigPointer set(const ConfigPointer &p_config)
Set the default global Config object.
const int SCIM_TRANS_CMD_PANEL_REMOVE_INPUT_CONTEXT
Definition: scim_trans_commands.h:543
Definition: scim_event.h:73
C++ signal-slot connection interface.
Definition: scim_event.h:1335
Definition: scim_event.h:683
Definition: scim_event.h:863
String scim_keyboard_layout_get_display_name(KeyboardLayout layout)
Get the display name of a Keyboard Layout enum value.
Definition: scim_event.h:1370
Definition: scim_event.h:1829
const int SCIM_TRANS_CMD_PANEL_REGISTER_INPUT_CONTEXT
Definition: scim_trans_commands.h:542
Definition: scim_event.h:1205
Definition: scim_event.h:262
Definition: scim_event.h:1603
static __Uint16Pair __us_to_slovak_qwerty_shift[]
Definition: scim_keyboard_layout_data.h:3227
const int SCIM_TRANS_CMD_HELPER_MANAGER_GET_HELPER_LIST
Definition: scim_trans_commands.h:561
Definition: scim_event.h:705
Definition: scim_event.h:813
const int SCIM_TRANS_CMD_PANEL_CHANGE_FACTORY
Definition: scim_trans_commands.h:548
Definition: scim_event.h:1067
void show_aux_string(int icid)
Definition: scim_event.h:807
static __Uint16Pair __us_to_uk_caps[]
Definition: scim_keyboard_layout_data.h:3989
Definition: scim_event.h:1675
String langs
The supported languages, separated by comma.
Definition: scim_filter.h:64
Definition: scim_event.h:595
Definition: scim_event.h:989
Definition: scim_event.h:512
Definition: scim_event.h:1326
void set_type(AttributeType type)
Set the type of this attribute.
Definition: scim_attribute.h:150
Definition: scim_event.h:871
Connection signal_connect_exit(PanelClientSlotVoid *slot)
Signal: exit the FrontEnd.
static __Uint16Pair __czech_to_us_normal[]
Definition: scim_keyboard_layout_data.h:235
Definition: scim_event.h:646
Definition: scim_event.h:901
Definition: scim_event.h:1135
static const char * __scim_keyboard_layout_names[]
Definition: scim_keyboard_layout_data.h:4589
Definition: scim_event.h:1905
void operator()(P1 p1)
Definition: scim_signals.h:373
Definition: scim_event.h:1101
MethodSlot3(T *object, PMF function)
Definition: scim_slot.h:558
Connection signal_connect_register_properties(PanelAgentSlotPropertyList *slot)
Signal: Register properties.
Definition: scim_event.h:783
Definition: scim_event.h:899
Definition: scim_event.h:1852
virtual String get_uuid() const
Get the UUID of this input method engine.
Definition: scim_event.h:96
void put_command(int cmd)
Store a command into this transaction.
Connection signal_connect_get_surrounding_text(IMEngineSlotGetSurroundingText *slot)
Slot4< void, P1, P2, P3, P4 > SlotType
Definition: scim_signals.h:695
bool operator<(const KeyEvent &key) const
Compare two key events.
Definition: scim_event.h:2241
void reset(T *object=0)
Definition: scim_pointer.h:210
void operator()(P1 p1, P2 p2, P3 p3, P4 p4)
Definition: scim_signals.h:721
Definition: scim_event.h:129
static __Uint16Pair __norwegian_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2617
Definition: scim_event.h:447
Definition: scim_event.h:1219
const int SCIM_TRANS_CMD_GET_CONFIG_DOUBLE
Definition: scim_trans_commands.h:521
Slot1< R, P1 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:281
String scim_get_user_data_dir()
Get SCIM data dir of current user.
void reset(void)
Reset the FrontEndHotkeyMatcher.
Definition: scim_event.h:1611
Definition: scim_event.h:1544
std::vector< Attribute > AttributeList
The container to store a set of Attribute objects.
Definition: scim_attribute.h:189
Definition: scim_event.h:1540
Definition: scim_event.h:1044
Definition: scim_event.h:751
static __Uint16Pair __us_to_spanish_cp850_normal[]
Definition: scim_keyboard_layout_data.h:3311
int scim_get_default_socket_timeout()
Get the default socket timeout value.
Definition: scim_event.h:269
void * get_frontend_data(void)
Retrieve the pointer previously attached by set_frontend_data();.
Definition: scim_event.h:1455
void scim_global_config_reset(const String &key)
Reset the value associated to the specified key to its default value.
Connection connect(SlotType *slot)
Definition: scim_signals.h:697
void add_hotkeys(const KeyEventList &keys, int id)
Add a set of Hotkeys into this HotkeyMatcher.
const int SCIM_TRANS_CMD_ERASE_CONFIG
Definition: scim_trans_commands.h:514
Definition: scim_event.h:628
Definition: scim_event.h:435
static __Uint16Pair __us_to_italian_caps_shift[]
Definition: scim_keyboard_layout_data.h:2402
Definition: scim_event.h:540
Connection signal_connect_update_preedit_string(IMEngineSlotWideStringAttributeList *slot)
Definition: scim_event.h:1181
void emit(P1 p1, P2 p2)
Definition: scim_signals.h:474
void emit()
Definition: scim_signals.h:246
Definition: scim_event.h:582
Definition: scim_event.h:1757
Definition: scim_event.h:1565
void set_candidate_labels(const std::vector< WideString > &labels)
Set the strings to label the candidates in one page.
String get_match_result(void) const
Get the match result.
Definition: scim_event.h:1305
Definition: scim_event.h:1070
Slot2< void, P1, P2 > SlotType
Definition: scim_signals.h:462
Definition: scim_event.h:1138
void operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
Definition: scim_signals.h:959
Definition: scim_event.h:473
Defines scim::HelperAgent and it's related types.
Smart pointer class interface.
Definition: scim_event.h:695
static __Uint16Pair __us_to_portuguese_caps[]
Definition: scim_keyboard_layout_data.h:2823
Definition: scim_event.h:179
KeyboardLayout
Enum values of all valid Keyboard Layout type.
Definition: scim_event.h:1948
Definition: scim_event.h:1039
virtual WideString get_authors() const
Get the authors information of this input method engine.
Definition: scim_event.h:1368
Definition: scim_event.h:163
Definition: scim_event.h:434
const int SCIM_TRANS_CMD_SELECT_CANDIDATE
Definition: scim_trans_commands.h:464
Connection connect(SlotType *slot)
Definition: scim_signals.h:236
Definition: scim_event.h:170
Connection signal_connect_update_aux_string(PanelAgentSlotAttributeString *slot)
Signal: Update aux string.
Definition: scim_event.h:1710
uint16 scim_bytestouint16(const unsigned char *bytes)
Convert a sequence of bytes into an uint16 value.
Definition: scim_utility.h:206
const int SCIM_TRANS_CMD_SEND_HELPER_EVENT
Definition: scim_trans_commands.h:494
Definition: scim_event.h:236
String scim_get_locale_encoding(const String &locale)
Get the encoding for a locale.
int get_page_size() const
Get the maximum page size.
Definition: scim_event.h:1545
Definition: scim_event.h:1310
ucs4_t get_unicode_code() const
Get the Unicode code of this key event.
static __Uint16Pair __turkish_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3931
static __KeyCodeMap __caps_map[]
Definition: scim_keyboard_layout_data.h:4241
Definition: scim_event.h:1454
void register_properties(const PropertyList &properties)
Register all properties of this IMEngineInstance into the FrontEnd.
static __Uint16Pair __danish_to_us_normal[]
Definition: scim_keyboard_layout_data.h:619
Definition: scim_event.h:636
bool lookup_table_page_down(void)
Let the focused IMEngineInstance object flip the LookupTable to next page.
Definition: scim_event.h:755
Definition: scim_event.h:306
Definition: scim_event.h:185
R operator()(P1 p1, P2 p2, P3 p3) const
Function operator; Calls call().
Definition: scim_slot.h:507
Definition: scim_event.h:1763
R emit(P1 p1)
Definition: scim_signals.h:304
virtual void stop_helper(int id, const String &helper_uuid)
stop a Client Helper process.
Definition: scim_event.h:1981
Definition: scim_event.h:1863
virtual void register_properties(int id, const PropertyList &properties)
register all the properties of an IMEngine instance into this FrontEnd.
Definition: scim_event.h:1886
Definition: scim_event.h:1677
Connection signal_connect_exit(HelperAgentSlotVoid *slot)
Connect a slot to Helper exit signal.
Definition: scim_event.h:1148
void send_helper_event(const String &helper_uuid, const Transaction &trans)
Send an events transaction to a client helper process.
static __Uint16Pair __spanish_cp850_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3389
SlotType * slot()
Definition: scim_signals.h:940
Definition: scim_event.h:527
Definition: scim_event.h:982
String scim_get_language_name_english(const String &lang)
Get the English name of a language id.
void operator()()
Definition: scim_signals.h:260
Definition: scim_event.h:1535
static __Uint16Pair __us_to_swedish_normal[]
Definition: scim_keyboard_layout_data.h:3707
Connection connect(SlotType *slot)
Definition: scim_signals.h:464
Definition: scim_signals.h:336
static __Uint16Pair __us_to_portuguese_brazil_us_accents_caps[]
Definition: scim_keyboard_layout_data.h:2758
Definition: scim_event.h:57
void emit(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
Definition: scim_signals.h:825
void register_input_context(int icid, const String &uuid)
Definition: scim_event.h:1317
void update_property(const Property &property) const
Update a registered property.
Definition: scim_event.h:903
A class to convert strings between UCS-4 and local encodings.
Definition: scim_iconv.h:44
HotkeyMatcher()
Constructor.
Definition: scim_event.h:1469
Definition: scim_event.h:1982
int get_cursor_pos_in_current_page() const
Get the cursor position in current page.
Definition: scim_event.h:1882
Definition: scim_event.h:1836
The interface class to access the configuration data.
Definition: scim_config_base.h:85
Definition: scim_event.h:1134
R OutType
Definition: scim_signals.h:85
Definition: scim_event.h:1460
Connection signal_connect_detach_input_context(HelperAgentSlotVoid *slot)
Connect a slot to Helper detach input context signal.
Definition: scim_event.h:1723
Definition: scim_event.h:1320
virtual R call() const
Calls the original slot passing it the bound argument p as the last parameter.
Definition: scim_bind.h:68
Definition: scim_event.h:111
static __Uint16Pair __slovak_qwerty_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3251
Definition: scim_event.h:158
void set_referenced(bool reference)
static __Uint16Pair __slovak_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3063
Definition: scim_event.h:737
Definition: scim_event.h:809
void close_connection()
Close the connection to Panel.
bool get_command(int &cmd)
Get a command from current read position.
const int SCIM_TRANS_CMD_CONTROLLER_CHANGE_FACTORY
Definition: scim_trans_commands.h:566
Definition: scim_event.h:827
virtual void filter_send_helper_event(const String &helper_uuid, const Transaction &trans)
virtual uint32 number_of_candidates() const
Return the number of candidates in this table.
Definition: scim_event.h:1555
Definition: scim_event.h:1793
Definition: scim_event.h:1007
Definition: scim_event.h:1056
Definition: scim_event.h:1904
Definition: scim_event.h:1743
Definition: scim_event.h:682
virtual bool process_key_event(const KeyEvent &key)
Process a key event.
Definition: scim_event.h:836
Definition: scim_event.h:445
A slot template for static functions taking three arguments of type P1, P2 and P3,...
Definition: scim_slot.h:516
void ref()
Increase an object's reference count by one.
static __Uint16Pair __us_to_icelandic_caps[]
Definition: scim_keyboard_layout_data.h:4061
Definition: scim_event.h:1419
const int SCIM_TRANS_CMD_GET_CONFIG_STRING
Definition: scim_trans_commands.h:515
Definition: scim_event.h:898
Definition: scim_event.h:707
Definition: scim_event.h:1586
Definition: scim_hotkey.h:255
Definition: scim_event.h:587
int get_connection_number() const
Return the connection id, which was returned by PanelClient::open_connection().
static __Uint16Pair __slovak_qwerty_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3115
Definition: scim_event.h:396
std::ostream & utf8_write_wchar(std::ostream &os, ucs4_t wc)
Write a wide char to ostream.
virtual bool flush()
Permanently writes all changes.
SignalSlot4(T *signal, PF function)
Definition: scim_slot.h:773
Definition: scim_event.h:1217
Definition: scim_event.h:1970
Definition: scim_event.h:1291
virtual bool validate_locale(const String &locale) const
Check if a locale is supported by this IMEngineFactory.
void set_tip(const String &tip)
Set a new tip for this property.
Definition: scim_property.h:154
virtual void unblock()
Unblock the slot so signal emmissions can be received.
bool valid() const
Test if this property is valid.
Definition: scim_property.h:98
Definition: scim_event.h:381
Definition: scim_event.h:1705
Definition: scim_event.h:746
Definition: scim_event.h:1477
bool is_scroll_lock_down() const
Check if the scroll lock key is pressed down.
Definition: scim_event.h:2293
Definition: scim_event.h:1066
virtual R call(P1 p1) const =0
Calls the signal handler connected to this slot.
Definition: scim_event.h:1215
void set_key(const String &key)
Set a new key for this property.
Definition: scim_property.h:139
Definition: scim_event.h:1396
String scim_get_locale_language(const String &locale)
Get the language id for a locale.
Definition: scim_event.h:964
MethodSlot1(T *object, PMF function)
Definition: scim_slot.h:272
String lang
Definition: scim_panel_common.h:56
Definition: scim_event.h:802
Definition: scim_event.h:1893
String scim_keyboard_layout_to_string(KeyboardLayout layout)
Convert a Keyboard Layout enum value to its String name.
Definition: scim_event.h:113
bool is_mod2_down() const
Check if the mod2 key is pressed down.
Definition: scim_event.h:2265
Definition: scim_event.h:1155
Definition: scim_event.h:1714
Connection signal_connect_show_lookup_table(IMEngineSlotVoid *slot)
Definition: scim_event.h:983
Definition: scim_event.h:259
Definition: scim_event.h:385
Definition: scim_event.h:754
Definition: scim_event.h:1278
Definition: scim_event.h:131
Definition: scim_event.h:400
Slot2()
Constructor.
Definition: scim_slot.h:357
Definition: scim_event.h:1645
Definition: scim_event.h:166
Definition: scim_event.h:442
static __Uint16Pair __us_to_german_caps[]
Definition: scim_keyboard_layout_data.h:1869
Definition: scim_event.h:1275
Definition: scim_event.h:217
Definition: scim_event.h:1539
Definition: scim_event.h:1722
Definition: scim_event.h:907
Definition: scim_event.h:723
Definition: scim_event.h:555
static __Uint16Pair __us_to_dvorak_shift[]
Definition: scim_keyboard_layout_data.h:931
FunctionSlot3(PF function)
Definition: scim_slot.h:522
Connection signal_connect_update_lookup_table(PanelAgentSlotLookupTable *slot)
Signal: Update lookup table.
Definition: scim_event.h:1525
static __Uint16Pair __us_to_portuguese_caps_shift[]
Definition: scim_keyboard_layout_data.h:2895
Definition: scim_event.h:1585
Connection signal_connect_reload_config(HelperAgentSlotVoid *slot)
Connect a slot to Helper reload config signal.
Definition: scim_event.h:513
Slot2< void, SocketServer *, const Socket & > SocketServerSlotSocket
Definition: scim_socket.h:43
virtual String get_uuid() const
Get the UUID of this input method engine.
Definition: scim_event.h:986
Definition: scim_event.h:1881
Definition: scim_event.h:401
Definition: scim_event.h:1846
Definition: scim_event.h:459
HelperError(const String &what_arg)
Definition: scim_helper.h:46
MethodSlot6(T *object, PMF function)
Definition: scim_slot.h:986
Definition: scim_event.h:1068
Definition: scim_event.h:1577
Definition: scim_event.h:1767
ConfigError(const String &what_arg)
Definition: scim_config_base.h:52
virtual void filter_commit_string(const WideString &str)
Definition: scim_event.h:1704
Definition: scim_event.h:1353
const SocketAddress & operator=(const SocketAddress &addr)
Copy operator.
Definition: scim_event.h:1570
const TransactionReader & operator=(const TransactionReader &)
Copy operator.
Definition: scim_event.h:1242
Definition: scim_event.h:1118
~SocketClient()
Destructor.
Definition: scim_event.h:782
const int SCIM_TRANS_CMD_SET_CONFIG_DOUBLE
Definition: scim_trans_commands.h:522
String icon
Definition: scim_helper.h:103
bool create(SocketFamily family)
Create a socket for specific family.
Definition: scim_event.h:388
Definition: scim_event.h:1702
Definition: scim_event.h:611
No attribute.
Definition: scim_attribute.h:51
static __Uint16Pair __us_to_spanish_cp850_caps_shift[]
Definition: scim_keyboard_layout_data.h:3410
virtual bool erase(const String &key)=0
Erase a key and its value.
Connection signal_connect_request_help(PanelClientSlotVoid *slot)
Signal: request help.
Definition: scim_event.h:451
virtual R call() const
Definition: scim_slot.h:135
bool initialize(const String &config, const String &display, bool resident=false)
Initialize this PanelAgent.
Definition: scim_hotkey.h:254
Definition: scim_event.h:932
virtual String get_language() const
Get the supported language of this input method engine.
virtual String get_icon_file() const
Return the icon file path of the original IMEngineFactory object specified in contructor or by attach...
R operator()(P1 p1, P2 p2, P3 p3, P4 p4)
Function operator; calls emit().
Definition: scim_signals.h:674
virtual void run()=0
run the frontend.
static __Uint16Pair __scim_key_to_unicode_tab[]
Definition: scim_keyevent_data.h:8
Definition: scim_event.h:508
Definition: scim_event.h:1747
Definition: scim_event.h:945
const int SCIM_TRANS_CMD_GET_FACTORY_ICON_FILE
Definition: scim_trans_commands.h:509
Definition: scim_event.h:1821
Definition: scim_event.h:564
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const
Definition: scim_slot.h:848
void add_hotkey(const KeyEvent &key, int id)
Add a Hotkey into this HotkeyMatcher.
size_t get_filtered_imengines(std::vector< String > &imengines) const
Get a list of imengines which have one or more filters attached.
defines some basic data types.
Definition: scim_event.h:1593
Definition: scim_event.h:1979
Definition: scim_event.h:274
Definition: scim_event.h:1313
Definition: scim_event.h:1857
Definition: scim_event.h:1076
Definition: scim_event.h:453
static __Uint16Pair __uk_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:4009
virtual ~ReferencedObject()=0
Destructor.
DefaultMarshal()
Definition: scim_signals.h:92
Definition: scim_event.h:1878
Slot5< bool, IMEngineInstanceBase *, WideString &, int &, int, int > IMEngineSlotGetSurroundingText
Definition: scim_imengine.h:128
Definition: scim_event.h:1631
Definition: scim_event.h:310
Connection connect(SlotType *slot)
Definition: scim_signals.h:513
Definition: scim_event.h:884
FrontEndBase(const BackEndPointer &backend)
Constructor.
bool page_down()
Flip to the next page.
Definition: scim_event.h:1811
Definition: scim_event.h:1542
Definition: scim_event.h:1831
static __Uint16Pair __us_to_portuguese_brazil_us_accents_caps_shift[]
Definition: scim_keyboard_layout_data.h:2781
IMEngineModule()
Default constructor.
BackEndBase(const ConfigPointer &config)
Default constructor.
SlotType * slot()
Definition: scim_signals.h:294
Definition: scim_event.h:1860
Definition: scim_event.h:680
virtual void filter_update_aux_string(const WideString &str, const AttributeList &attrs=AttributeList())
static __Uint16Pair __german_deadkeys_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1781
Pointer< IMEngineInstanceBase > IMEngineInstancePointer
Definition: scim_imengine.h:92
void process_helper_event(int id, const String &helper_uuid, const Transaction &trans) const
let a specific IMEngine instance to process the events sent from a Helper process.
Definition: scim_event.h:1143
Definition: scim_event.h:440
Definition: scim_event.h:825
Definition: scim_event.h:718
Definition: scim_event.h:1832
Definition: scim_event.h:1726
bool read_from_buffer(const void *buf, size_t bufsize)
Read a transaction from a buffer.
Definition: scim_event.h:1357
Definition: scim_event.h:1261
Connection signal_connect_turn_off(PanelAgentSlotVoid *slot)
Signal: Turn off.
WideString get_instance_authors(int id) const
get the authors info of an IMEngine instance.
Definition: scim_event.h:588
Connection signal_connect_forward_key_event(PanelClientSlotKeyEvent *slot)
Signal: forward key event.
Definition: scim_event.h:1489
uint32_t uint32
Definition: scim_types.h:45
const int SCIM_TRANS_CMD_RESET
Definition: scim_trans_commands.h:468
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4) const =0
Calls the signal handler connected to this slot.
Definition: scim_hotkey.h:251
virtual ~FilterInstanceBase()
Definition: scim_event.h:120
KeyEvent map_to_layout(KeyboardLayout new_layout) const
Map this KeyEvent to another Keyboard Layout.
Definition: scim_event.h:1005
Definition: scim_imengine.h:57
Definition: scim_event.h:541
static __KeyCodeMap __shift_invert_map[]
Definition: scim_keyboard_layout_data.h:4370
Definition: scim_event.h:1500
Definition: scim_event.h:835
bool scim_key_list_to_string(String &str, const KeyEventList &keylist)
Convert a set of KeyEvents to a string.
Definition: scim_event.h:321
Definition: scim_event.h:709
Definition: scim_event.h:1802
Definition: scim_event.h:1050
Definition: scim_event.h:1331
static void disable_debug(uint32 debug)
Disable the debug type indicated by the given mask.
AttributeType
Enum values of the valid attribute type.
Definition: scim_attribute.h:49
virtual void clear()=0
Clear the table.
Definition: scim_event.h:574
Definition: scim_event.h:104
virtual void disconnect()=0
Disconnect the slot. The slot will no longer receive signal emissions.
virtual bool valid() const
Check if this Config object is valid.
Definition: scim_event.h:1781
Definition: scim_event.h:735
Definition: scim_event.h:603
Definition: scim_event.h:1285
Definition: scim_event.h:1638
void update_preedit_string(const WideString &str, const AttributeList &attrs=AttributeList())
Update the content of the preedit string,.
Connection signal_connect_trigger_property(PanelClientSlotString *slot)
Signal: trigger property.
R operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
Function operator; calls emit().
Definition: scim_signals.h:911
static __Uint16Pair __spanish_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3455
Definition: scim_event.h:922
Signal1< void, const ConfigPointer & > ConfigSignalVoid
Definition: scim_config_base.h:76
Definition: scim_event.h:1051
Definition: scim_event.h:1043
Definition: scim_event.h:454
Definition: scim_event.h:1693
bool is_meta_down() const
Check if the Meta key is pressed down.
Definition: scim_event.h:2191
Definition: scim_event.h:1889
Definition: scim_event.h:1199
String scim_combine_string_list(const std::vector< String > &vec, char delim=',')
Combine a string vector into one string list, separated by char delim.
const int SCIM_TRANS_CMD_MOVE_PREEDIT_CARET
Definition: scim_trans_commands.h:463
Definition: scim_event.h:412
virtual const char * what() const
Definition: scim_exception.h:51
const int SCIM_TRANS_CMD_UPDATE_PROPERTY
Definition: scim_trans_commands.h:490
const int SCIM_TRANS_CMD_PANEL_SHOW_HELP
Definition: scim_trans_commands.h:540
Definition: scim_event.h:296
Definition: scim_event.h:1519
const int SCIM_TRANS_CMD_SAVE_FILE
Request the socket server to save a buffer into a file.
Definition: scim_trans_commands.h:430
Definition: scim_event.h:1669
static __Uint16Pair __us_to_belgian_caps_shift[]
Definition: scim_keyboard_layout_data.h:206
virtual void trigger_property(const String &property)
Trigger a property.
Definition: scim_event.h:311
FunctionSlot4(PF function)
Definition: scim_slot.h:665
Definition: scim_event.h:1021
Definition: scim_event.h:307
Definition: scim_event.h:1485
bool scim_make_dir(const String &dir)
Make a directory.
Definition: scim_event.h:1420
String name
The localized name, in UTF-8 encoding.
Definition: scim_filter.h:63
Definition: scim_event.h:1480
Definition: scim_event.h:1728
unsigned int number_of_helpers() const
Get the number of helpers supported by this module.
String get_default_factory(const String &language, const String &encoding) const
Get the default IMEngineFactory UUID for a specific language and encoding.
Definition: scim_event.h:1073
virtual bool delete_surrounding_text(int id, int offset, int len)
Ask the client to delete characters around the cursor position.
Definition: scim_event.h:1443
Definition: scim_event.h:264
Definition: scim_event.h:947
Definition: scim_event.h:415
virtual WideString get_name() const =0
Get the name of this input method engine.
Definition: scim_event.h:1360
Definition: scim_event.h:402
Definition: scim_event.h:1599
Definition: scim_event.h:1078
Definition: scim_event.h:1676
R emit(P1 p1, P2 p2)
Definition: scim_signals.h:418
Definition: scim_event.h:1515
Definition: scim_event.h:1127
bool is_cursor_visible() const
Check if the cursor is visible.
static __Uint16Pair __spanish_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3521
Definition: scim_event.h:182
static __Uint16Pair __us_to_dvorak_caps[]
Definition: scim_keyboard_layout_data.h:859
bool is_matched(void) const
Check if the last KeyEvent pushed by push_key_event () matched with any Hotkey.
R emit(P1 p1, P2 p2, P3 p3)
Definition: scim_signals.h:533
Definition: scim_event.h:239
Definition: scim_event.h:697
Slot2< void, IMEngineInstanceBase *, const String & > IMEngineSlotString
Definition: scim_imengine.h:104
Definition: scim_event.h:1629
virtual bool validate_encoding(const String &encoding) const
Check if an encoding is supported by the original IMEngineFactory object specified in constructor or ...
static __Uint16Pair __us_to_dvorak_caps_shift[]
Definition: scim_keyboard_layout_data.h:1003
Definition: scim_event.h:142
Definition: scim_event.h:498
bool read_from_socket(const Socket &socket, int timeout=-1)
Read a transaction from a socket.
const String & get_tip() const
Get the tip of this property.
Definition: scim_property.h:134
static __KeyName __scim_key_mask_names[]
Definition: scim_keyevent_data.h:3459
int scim_get_frontend_module_list(std::vector< String > &mod_list)
Get a name list of currently available frontend modules.
Connection signal_connect_transaction_end(PanelAgentSlotVoid *slot)
Signal: A transaction is finished.
Definition: scim_event.h:212
Definition: scim_event.h:1184
Defines the scim::Exception class.
Definition: scim_event.h:1141
virtual void filter_register_properties(const PropertyList &properties)
BoundSlot4_5(Slot5< R, P1, P2, P3, P4, P5 > *slot, P5 p5)
Definition: scim_bind.h:211
virtual void update_client_capabilities(unsigned int cap)
Update the capabilities of current client application which is attached to this IMEngineInstance.
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4) const
Definition: scim_slot.h:706
Slot1< void, P1 > SlotType
Definition: scim_signals.h:347
Definition: scim_event.h:1182
Definition: scim_event.h:1639
Definition: scim_event.h:520
Definition: scim_event.h:272
Definition: scim_event.h:748
void save_hotkeys(const ConfigPointer &config) const
Save all Hotkeys for IMEngines to Config.
String name
Definition: scim_helper.h:102
Definition: scim_event.h:466
static __Uint16Pair __german_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1827
Definition: scim_event.h:1015
Definition: scim_event.h:753
Definition: scim_event.h:151
SlotType * slot()
Definition: scim_signals.h:639
virtual void select_candidate(unsigned int index)
Select a candidate in current lookup table.
Definition: scim_event.h:514
static __Uint16Pair __czech_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:383
Definition: scim_event.h:1442
Definition: scim_event.h:1596
SlotType * slot()
Definition: scim_signals.h:756
A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a valu...
Definition: scim_signals.h:850
KeyboardLayout scim_string_to_keyboard_layout(const String &str)
Convert a String name to the corresponding Keyboard Layout value.
Connection signal_connect_update_aux_string(IMEngineSlotWideStringAttributeList *slot)
Definition: scim_event.h:1864
static __Uint16Pair __finnish_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1171
Slot1< void, const ConfigPointer & > ConfigSlotVoid
Definition: scim_config_base.h:69
Definition: scim_event.h:1670
static __Uint16Pair __us_to_czech_shift[]
Definition: scim_keyboard_layout_data.h:357
Definition: scim_module.h:39
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:775
Definition: scim_event.h:904
void emit(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
Definition: scim_signals.h:945
Definition: scim_event.h:294
void set_page_size(int page_size)
Set the maximum page size.
Definition: scim_event.h:1241
Structure to hold information for a Filter.
Definition: scim_filter.h:60
Definition: scim_event.h:1630
ConnectionList connection_list
A list of all the slots connected to the signal.
Definition: scim_signals.h:140
Definition: scim_event.h:1017
Definition: scim_event.h:218
Slot0< void > PanelAgentSlotVoid
Definition: scim_panel_agent.h:49
Definition: scim_event.h:52
static void set_verbose_level(uint32 verbose)
Set the debug verbose level.
Definition: scim_event.h:1662
Definition: scim_event.h:1091
uint32 code
Definition: scim_event.h:2090
Definition: scim_event.h:850
void set_languages(const String &languages)
Set the languages supported by this input method engine.
uint32 get_factory_list_for_encoding(std::vector< String > &uuids, const String &encoding) const
Get the IMEngine factories list for specific encoding.
Definition: scim_event.h:1429
static __Uint16Pair __us_to_swedish_shift[]
Definition: scim_keyboard_layout_data.h:3764
Definition: scim_event.h:1839
bool is_matched(void) const
Check if the last KeyEvent pushed by push_key_event () matched with any Hotkey.
virtual void process_helper_event(const String &helper_uuid, const Transaction &trans)
Process the events sent from a Client Helper process.
Definition: scim_event.h:1651
void add_hotkeys(const KeyEventList &keys, const String &uuid)
Add a set of Hotkeys for an IMEngine into this IMEngineHotkeyMatcher.
static __Uint16Pair __us_to_german_swiss_shift[]
Definition: scim_keyboard_layout_data.h:2056
Definition: scim_event.h:805
Definition: scim_event.h:88
static __Uint16Pair __us_to_turkish_shift[]
Definition: scim_keyboard_layout_data.h:3909
Definition: scim_event.h:1866
Definition: scim_event.h:1523
bool run(void)
Run this PanelAgent.
Definition: scim_event.h:222
Definition: scim_event.h:1664
Definition: scim_event.h:394
A slot template for methods in a class of type T taking five arguments of type P1,...
Definition: scim_slot.h:836
Definition: scim_event.h:1580
Definition: scim_event.h:1186
Definition: scim_event.h:350
Definition: scim_event.h:539
void detach()
Detach this TransactionReader object from currently attached Transaction object.
virtual void filter_update_property(const Property &property)
bool is_mod1_down() const
Check if the mod1 key is pressed down.
Definition: scim_event.h:2258
Definition: scim_event.h:796
Definition: scim_event.h:996
WideString get_factory_authors(const String &uuid) const
get the authors info of an IMEngine factory.
void focus_in(int icid, const String &uuid)
Definition: scim_event.h:1308
Definition: scim_event.h:914
const int SCIM_TRANS_CMD_UPDATE_AUX_STRING
Definition: scim_trans_commands.h:485
static __Uint16Pair __us_to_german_swiss_caps_shift[]
Definition: scim_keyboard_layout_data.h:2106
bool get_data(uint32 &val)
Get an uint32 value from current read position.
Connection signal_connect_reload_config(PanelAgentSlotVoid *slot)
Signal: Reload configuration.
Slot1< void, const LookupTable & > PanelAgentSlotLookupTable
Definition: scim_panel_agent.h:64
virtual ~DummyIMEngineInstance()
Definition: scim_event.h:651
static __KeyCodeMap __caps_shift_invert_map[]
Definition: scim_keyboard_layout_data.h:4456
Definition: scim_event.h:255
Definition: scim_event.h:1006
Definition: scim_event.h:1661
virtual R call(P1 p1) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:346
virtual bool filter_delete_surrounding_text(int offset, int len)
const int SCIM_TRANS_CMD_UPDATE_LOOKUP_TABLE
Definition: scim_trans_commands.h:486
Definition: scim_event.h:700
virtual void hide_preedit_string(int id)
hide preedit string area for an IMEngine instance.
Definition: scim_event.h:532
Definition: scim_event.h:1862
const int SCIM_TRANS_CMD_FORWARD_KEY_EVENT
Definition: scim_trans_commands.h:488
void scim_daemon()
Switch process into daemon mode.
virtual void lookup_table_page_up()
Flip the lookup table to the previous page.
Slot2< void, IMEngineInstanceBase *, bool > IMEngineSlotBool
Definition: scim_imengine.h:101
Definition: scim_event.h:1356
Connection()
Default constructor.
Definition: scim_event.h:1700
Definition: scim_event.h:715
Definition: scim_event.h:816
const int SCIM_TRANS_CMD_GET_FACTORY_LANGUAGE
Definition: scim_trans_commands.h:510
SignalSlot5(T *signal, PF function)
Definition: scim_slot.h:915
SlotType * slot()
Definition: scim_signals.h:820
FunctionSlot6(PF function)
Definition: scim_slot.h:950
void forward_key_event(int ic, const String &ic_uuid, const KeyEvent &key) const
Forward a KeyEvent to client application directly.
Definition: scim_event.h:518
const int SCIM_TRANS_CMD_PANEL_RETURN_CURRENT_CONTEXT
Definition: scim_trans_commands.h:572
Definition: scim_event.h:417
Definition: scim_event.h:1255
Definition: scim_event.h:1956
std::vector< KeyEvent > KeyEventList
The container to store a set of KeyEvent objects.
Definition: scim_event.h:2001
static __Uint16Pair __belgian_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:177
static __Uint16Pair __us_to_italian_shift[]
Definition: scim_keyboard_layout_data.h:2360
Definition: scim_event.h:1268
Definition: scim_event.h:1239
Definition: scim_event.h:137
Definition: scim_event.h:1061
Definition: scim_event.h:1432
Definition: scim_event.h:335
Definition: scim_event.h:1417
Definition: scim_event.h:727
Definition: scim_event.h:1065
Definition: scim_event.h:1448
virtual void show_lookup_table(int id)
show lookup table area for an IMEngine instance.
const int SCIM_TRANS_CMD_OPEN_CONNECTION
This command is used internally by scim_socket_open_connection() and scim_socket_accept_connection().
Definition: scim_trans_commands.h:382
Definition: scim_event.h:1820
Definition: scim_event.h:589
Definition: scim_event.h:877
Definition: scim_event.h:711
Definition: scim_event.h:676
Definition: scim_event.h:1869
Definition: scim_event.h:984
Definition: scim_event.h:1436
static __Uint16Pair __hungarian_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2161
int scim_launch_panel(bool daemon, const String &config, const String &display, char *const argv[]=0)
Launch a SCIM Panel process with specific options.
const int SCIM_TRANS_CMD_COMMIT_STRING
Definition: scim_trans_commands.h:487
static __Uint16Pair __finnish_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1219
Definition: scim_event.h:1550
Definition: scim_event.h:1491
Definition: scim_event.h:974
Definition: scim_event.h:1180
Definition: scim_event.h:1382
Definition: scim_event.h:1512
Definition: scim_event.h:912
static __Uint16Pair __us_to_german_caps_shift[]
Definition: scim_keyboard_layout_data.h:1952
Definition: scim_event.h:642
virtual void update_lookup_table_page_size(unsigned int page_size)
Update the page size of current lookup table.
Definition: scim_event.h:1179
HelperInfo(const String &puuid=String(), const String &pname=String(), const String &picon=String(), const String &pdesc=String(), uint32 opt=0)
Definition: scim_helper.h:107
Pointer(const Pointer &src)
Definition: scim_pointer.h:87
const int SCIM_TRANS_CMD_SET_CONFIG_INT
Definition: scim_trans_commands.h:518
Definition: scim_event.h:1327
bool load(const String &name)
Load a module by its name.
Connection & operator=(const Connection &src)
Assignment operator.
const int SCIM_TRANS_CMD_REPLY
It's the first command which should be put into the Transaction sending from a socket server to a soc...
Definition: scim_trans_commands.h:330
Definition: scim_event.h:1712
Definition: scim_event.h:570
Definition: scim_event.h:581
Definition: scim_event.h:614
Definition: scim_event.h:425
const unsigned int SCIM_ATTR_DECORATE_HIGHLIGHT
Draw the text in highlighted color.
Definition: scim_attribute.h:59
Definition: scim_event.h:325
Definition: scim_event.h:1751
Definition: scim_event.h:488
Definition: scim_event.h:1699
Definition: scim_event.h:1612
void clear(void)
Clear all Hotkeys and reset the IMEngineHotkeyMatcher.
Definition: scim_event.h:1003
std::ostream & utf8_write_wstring(std::ostream &os, const WideString &wstr)
Write a wide string to ostream.
size_t get_all_hotkeys(KeyEventList &keys, std::vector< int > &ids) const
Get all Hotkeys added into this HotkeyMatcher.
virtual R call(P1 p1, P2 p2, P3 p3) const
Definition: scim_slot.h:563
int wait_for_data(int timeout=-1) const
Wait until there are some data ready to read.
Definition: scim_event.h:1034
SlotType * slot()
Definition: scim_signals.h:874
Definition: scim_event.h:1344
bool is_control_down() const
Check if the Ctrl key is pressed down.
Definition: scim_event.h:2181
Definition: scim_event.h:806
Definition: scim_event.h:1212
Definition: scim_event.h:1189
bool connect(const SocketAddress &address)
Connect to a server.
Definition: scim_event.h:115
Definition: scim_event.h:469
void lookup_table_page_down(int id) const
Let a specific IMEngine instance flip its lookup table to the previous page.
Definition: scim_event.h:168
SocketFamily get_family() const
Get the family of this socket address.
Connection signal_connect_start_helper(IMEngineSlotString *slot)
virtual void lookup_table_page_down()
Flip the lookup table to the next page.
virtual bool set_encoding(const String &encoding)
Set the working encoding for this filter instance as well as the original instance which is currently...
Definition: scim_event.h:1328
Definition: scim_event.h:54
int get_max_clients() const
Get the max number of socket clients.
Definition: scim_event.h:1854
Definition: scim_event.h:961
Definition: scim_event.h:1560
Definition: scim_event.h:1633
Definition: scim_event.h:470
Definition: scim_event.h:971
Definition: scim_event.h:285
Definition: scim_event.h:606
void push_key_event(const KeyEvent &key)
Push a KeyEvent into the queue.
Definition: scim_event.h:1424
Definition: scim_event.h:733
BoundSlot2_3(Slot3< R, P1, P2, P3 > *slot, P3 p3)
Definition: scim_bind.h:137
Definition: scim_event.h:329
static __Uint16Pair __us_to_spanish_latin_america_caps[]
Definition: scim_keyboard_layout_data.h:3599
Definition: scim_event.h:153
Definition: scim_event.h:1117
Definition: scim_event.h:1106
const int SCIM_TRANS_CMD_RELOAD_CONFIG
Definition: scim_trans_commands.h:527
Definition: scim_event.h:887
Slot3< void, P1, P2, P3 > SlotType
Definition: scim_signals.h:578
Definition: scim_event.h:297
Definition: scim_event.h:64
Definition: scim_event.h:1458
Definition: scim_event.h:1456
Definition: scim_event.h:1972
Connection connect(SlotType *slot)
Definition: scim_signals.h:398
virtual ~FrontEndBase()
Virtual destructor.
Definition: scim_event.h:1028
String scim_get_language_name(const String &lang)
Get the localized name of a language id.
Definition: scim_event.h:135
Definition: scim_event.h:1505
Definition: scim_event.h:1004
virtual void hide_lookup_table(int id)
hide lookup table area for an IMEngine instance.
Definition: scim_event.h:1402
void(* FrontEndModuleInitFunc)(const BackEndPointer &backend, const ConfigPointer &config, int argc, char **argv)
Initialize a FrontEnd Module.
Definition: scim_frontend_module.h:50
Definition: scim_event.h:1790
Definition: scim_event.h:433
virtual bool erase(const String &key)
Erase a key and its value.
Definition: scim_event.h:337
Definition: scim_event.h:1052
Definition: scim_event.h:905
Definition: scim_event.h:275
Definition: scim_event.h:1124
static __Uint16Pair __swedish_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3743
static __Uint16Pair __us_to_slovak_shift[]
Definition: scim_keyboard_layout_data.h:3037
Definition: scim_event.h:794
Definition: scim_event.h:395
void show_lookup_table()
Show the lookup table area.
Definition: scim_event.h:1582
Definition: scim_event.h:430
void show_preedit_string()
Show the preedit string area.
Definition: scim_event.h:1855
Send/Receive command.
Definition: scim_transaction.h:46
const int SCIM_TRANS_CMD_GET_FACTORY_AUTHORS
Definition: scim_trans_commands.h:505
static __Uint16Pair __slovak_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2963
String get_encoding() const
Get the working encoding of this instance.
Definition: scim_event.h:968
Definition: scim_event.h:209
void show_preedit_string(int icid)
Definition: scim_event.h:580
static __Uint16Pair __spanish_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3431
Definition: scim_event.h:1738
bool append_candidate(const WideString &cand, const AttributeList &attrs=AttributeList())
Append a candidate string into the table.
static __Uint16Pair __us_to_danish_shift[]
Definition: scim_keyboard_layout_data.h:688
Definition: scim_event.h:1433
Definition: scim_event.h:1507
virtual void forward_key_event(int id, const KeyEvent &key)
forward a keyevent to the client of an IMEngine instance.
void hide_aux_string(int icid)
Definition: scim_event.h:121
Definition: scim_event.h:1046
Definition: scim_event.h:896
static __Uint16Pair __us_to_belgian_caps[]
Definition: scim_keyboard_layout_data.h:90
Definition: scim_event.h:619
Definition: scim_event.h:535
static __Uint16Pair __estonian_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1039
Definition: scim_event.h:1060
virtual void select_candidate(unsigned int index)
Select a candidate in current lookup table.
Definition: scim_event.h:1059
Definition: scim_event.h:1375
Definition: scim_event.h:291
String description
Definition: scim_helper.h:104
static __Uint16Pair __belgian_to_us_shift[]
Definition: scim_keyboard_layout_data.h:119
Definition: scim_event.h:1653
Definition: scim_event.h:1175
Definition: scim_event.h:1764
Definition: scim_event.h:566
Definition: scim_event.h:1647
const int SCIM_TRANS_CMD_UPDATE_PREEDIT_CARET
Definition: scim_trans_commands.h:483
String uuid
Definition: scim_panel_common.h:54
Definition: scim_event.h:543
static __Uint16Pair __slovak_qwerty_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3203
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const =0
Calls the signal handler connected to this slot.
Definition: scim_event.h:1529
Definition: scim_event.h:305
Definition: scim_event.h:766
Definition: scim_event.h:1502
Definition: scim_event.h:1145
Definition: scim_event.h:1207
Definition: scim_event.h:562
const int SCIM_TRANS_CMD_SHOW_PREEDIT_STRING
Definition: scim_trans_commands.h:477
static __Uint16Pair __belgian_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3
Definition: scim_event.h:1232
Definition: scim_event.h:841
virtual void filter_beep()
Definition: scim_event.h:1538
Definition: scim_event.h:977
Connection signal_connect_hide_preedit_string(PanelAgentSlotVoid *slot)
Signal: Hide preedit string.
Definition: scim_event.h:1606
Definition: scim_event.h:933
Definition: scim_event.h:1321
static __Uint16Pair __icelandic_to_us_caps[]
Definition: scim_keyboard_layout_data.h:4049
Connection signal_connect_delete_surrounding_text(IMEngineSlotDeleteSurroundingText *slot)
Definition: scim_event.h:1047
Connection signal_connect_transaction_start(PanelAgentSlotVoid *slot)
Signal: A transaction is started.
Definition: scim_event.h:411
Slot2< void, int, int > PanelAgentSlotIntInt
Definition: scim_panel_agent.h:73
String get_factory_uuid() const
Get the UUID of the engine factory.
static __Uint16Pair __portuguese_brazil_us_accents_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2743
void show(bool visible=true)
Definition: scim_property.h:166
const int SCIM_TRANS_CMD_HELPER_DETACH_INPUT_CONTEXT
Definition: scim_trans_commands.h:558
void register_properties(const PropertyList &properties) const
Register some properties into Panel.
Definition: scim_event.h:1792
virtual ~Slot()=0
Destructor.
unsigned int(* HelperModuleNumberOfHelpersFunc)(void)
Get the number of Helpers in this module.
Definition: scim_helper_module.h:54
Definition: scim_event.h:322
Definition: scim_imengine.h:55
Definition: scim_event.h:1173
virtual void filter_show_aux_string()
static ConfigPointer get(bool create_on_demand=true, const String &default_module=String(""))
Get the default global Config object.
Definition: scim_event.h:1990
Definition: scim_event.h:372
static __Uint16Pair __spanish_cp850_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3323
void reset(void)
Reset the IMEngineHotkeyMatcher.
Send/Receive KeyEvent.
Definition: scim_transaction.h:51
Definition of scim::Attribute and scim::AttributeList.
const int SCIM_TRANS_CMD_GET_CONFIG_BOOL
Definition: scim_trans_commands.h:519
Definition: scim_event.h:1036
Definition: scim_event.h:1016
bool valid() const
Check if a module is loaded and initialized successfully.
Slot2< void, int, const WideString & > PanelClientSlotWideString
Definition: scim_panel_client.h:56
Definition: scim_event.h:226
const int SCIM_TRANS_CMD_GET_SURROUNDING_TEXT
Definition: scim_trans_commands.h:495
Definition: scim_event.h:927
bool is_alt_down() const
Check if the Alt key is pressed down.
Definition: scim_event.h:2186
Definition: scim_event.h:1711
Definition: scim_event.h:1459
Definition: scim_event.h:1318
int write(const void *buf, size_t size) const
Write data to socket.
static __Uint16Pair __us_to_czech_qwerty_normal[]
Definition: scim_keyboard_layout_data.h:457
virtual ~DummyIMEngineFactory()
Definition: scim_event.h:952
static __Uint16Pair __us_to_slovak_caps_shift[]
Definition: scim_keyboard_layout_data.h:3089
Definition: scim_event.h:1289
Definition: scim_event.h:1575
Definition: scim_event.h:1194
Definition: scim_event.h:1514
static __Uint16Pair __us_to_slovak_caps[]
Definition: scim_keyboard_layout_data.h:2987
Slot5()
Definition: scim_slot.h:786
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const =0
Calls the signal handler connected to this slot.
Definition: scim_event.h:1457
uint32 scim_bytestouint32(const unsigned char *bytes)
Convert a sequence of bytes into an uint32 value.
Definition: scim_utility.h:178
Definition: scim_event.h:1685
const int SCIM_TRANS_CMD_GET_FACTORY_CREDITS
Definition: scim_trans_commands.h:506
Definition: scim_event.h:1077
Definition: scim_signals.h:567
virtual bool valid() const =0
Check if this Config object is valid.
Pointer & operator=(const Pointer &src)
Definition: scim_pointer.h:125
Definition: scim_event.h:839
bool operator==(const KeyEvent &key) const
Compare two key events.
Definition: scim_event.h:2222
int read(void *buf, size_t size) const
Read data from socket.
std::basic_string< char > String
Definition: scim_types.h:54
SocketFamily
The vaild socket address/protocol family,.
Definition: scim_socket.h:69
String scim_get_default_helper_manager_socket_address()
Get the default socket address of Helper Manager Server running on localhost.
bool is_lock_down() const
Check if the lock key is pressed down.
Definition: scim_event.h:2251
virtual String get_icon_file() const =0
Get the icon file path of this input method engine.
IMEngineFactoryPointer get_default_factory(const String &language, const String &encoding) const
Get the default IMEngineFactory for a specific language and encoding.
A trivial IMEngine that do nothing.
Definition: scim_imengine.h:797
Definition: scim_event.h:1588
Definition: scim_event.h:422
uint16 layout
Definition: scim_event.h:2092
R emit(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
Definition: scim_signals.h:884
Definition: scim_event.h:1386
Definition: scim_event.h:1330
Definition: scim_event.h:183
A signal connection class.
Definition: scim_connection.h:86
void add_hotkey(const KeyEvent &key, FrontEndHotkeyAction action)
Add a Hotkey for an FrontEnd into this FrontEndHotkeyMatcher.
Definition: scim_event.h:1018
Definition: scim_event.h:1687
Definition: scim_event.h:1891
Definition: scim_event.h:1602
int get_data_length() const
Get the size of the internall data.
Definition: scim_event.h:1414
Definition: scim_event.h:299
Definition: scim_event.h:482
Slot * slot()
Returns a pointer to the slot held by this node.
Definition: scim_connection.h:64
Definition: scim_event.h:815
Definition: scim_event.h:590
String scim_get_default_panel_socket_address(const String &display)
Get the default socket address of the Panel running on localhost.
Definition: scim_event.h:1238
static __Uint16Pair __us_to_uk_normal[]
Definition: scim_keyboard_layout_data.h:3981
Definition: scim_event.h:632
static __Uint16Pair __us_to_finnish_caps[]
Definition: scim_keyboard_layout_data.h:1207
Definition: scim_event.h:1720
Definition: scim_event.h:613
virtual AttributeList get_attributes(int index) const =0
Get the attributes of a candidate.
IMEngineError(const String &what_arg)
Definition: scim_imengine.h:73
A slot template for static functions taking four arguments of type P1, P2, P3 and P4,...
Definition: scim_slot.h:659
const int SCIM_TRANS_CMD_FOCUS_IN
Definition: scim_trans_commands.h:469
Slot4< void, const HelperAgent *, int, const String &, const Transaction & > HelperAgentSlotTransaction
Definition: scim_helper.h:135
Definition: scim_event.h:1037
Definition: scim_event.h:341
Definition: scim_event.h:279
Definition: scim_event.h:243
bool is_mod3_down() const
Check if the mod3 key is pressed down.
Definition: scim_event.h:2272
bool run()
Run the server.
Definition: scim_event.h:1434
Definition: scim_event.h:1758
const int SCIM_TRANS_CMD_PANEL_TURN_ON
Definition: scim_trans_commands.h:537
Definition: scim_event.h:308
int open_connection(const String &config, const String &display)
Open socket connection to the Panel.
const int SCIM_TRANS_CMD_GET_CONFIG_INT
Definition: scim_trans_commands.h:517
Definition: scim_event.h:712
Definition: scim_event.h:517
String get_encoding() const
Get the current working local encoding.
virtual void filter_hide_aux_string()
Definition: scim_event.h:1985
const int SCIM_TRANS_CMD_FOCUS_OUT
Definition: scim_trans_commands.h:470
const int SCIM_TRANS_CMD_DELETE_INSTANCE
Definition: scim_trans_commands.h:500
bool prepare(int icid)
Prepare the send transation for an IC.
Connection signal_connect_forward_key_event(IMEngineSlotKeyEvent *slot)
Definition: scim_event.h:1598
Definition: scim_event.h:607
void rewind()
Rewind the current read position, then the data can be read again.
Base class for slots that can connect to scim::Signals.
Definition: scim_slot.h:54
Connection signal_connect_commit_string(IMEngineSlotWideString *slot)
Connection signal_connect_request_factory_menu(PanelClientSlotVoid *slot)
Signal: request factory menu.
Definition: scim_event.h:843
void show_cursor(bool show=true)
Set the cursor visibility.
Connection signal_connect_hide_lookup_table(IMEngineSlotVoid *slot)
Reference counted base class.
Definition: scim_object.h:58
static __Uint16Pair __french_switzerland_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1579
bool filter_event()
Process the pending events.
Slot6< R, P1, P2, P3, P4, P5, P6 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:861
virtual void move_preedit_caret(unsigned int pos)
Move the preedit caret in the preedit string.
Definition: scim_event.h:186
The base class to implement FilterInstance classes.
Definition: scim_filter.h:272
static __Uint16Pair __us_to_italian_caps[]
Definition: scim_keyboard_layout_data.h:2327
Definition: scim_event.h:1955
static __Uint16Pair __japanese_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2441
Definition: scim_attribute.h:36
Definition: scim_event.h:550
int accept() const
Accept a connection on the socket, used by SocketServer.
Unknown transaction data type.
Definition: scim_transaction.h:45
Slot4()
Constructor.
Definition: scim_slot.h:643
Definition: scim_event.h:386
bool(* FilterModuleGetFilterInfoFunc)(unsigned int index, FilterInfo &info)
Get basic information of the FilterFactory class provided by this module.
Definition: scim_filter_module.h:96
Definition: scim_event.h:479
static __Uint16Pair __us_to_japanese_caps_shift[]
Definition: scim_keyboard_layout_data.h:2510
void update_property(const Property &property)
Update a registered property.
Connection signal_connect_hide_lookup_table(PanelAgentSlotVoid *slot)
Signal: Hide lookup table.
static __Uint16Pair __us_to_spanish_cp850_shift[]
Definition: scim_keyboard_layout_data.h:3368
Definition: scim_event.h:1210
Definition: scim_event.h:679
Definition: scim_event.h:549
Definition: scim_event.h:55
static __Uint16Pair __dvorak_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:967
virtual void filter_start_helper(const String &helper_uuid)
WideString get_instance_help(int id) const
get the help of an IMEngine instance.
Definition: scim_event.h:675
Definition: scim_event.h:864
bool test_convert(const WideString &src) const
Test if a UCS-4 encoded WideString can be converted to a local encoded String.
Base class template for slots passing six arguments of type P1, P2, P3, P4, P5 and P6,...
Definition: scim_slot.h:925
Definition: scim_event.h:1156
PanelFactoryInfo(const String &u, const String &n, const String &l, const String &i)
Definition: scim_panel_common.h:60
Definition: scim_event.h:72
Definition: scim_event.h:960
static __Uint16Pair __us_to_uk_shift[]
Definition: scim_keyboard_layout_data.h:4001
Definition: scim_event.h:1306
void attach(const Transaction &trans)
Attach this TransactionReader object to a Transaction.
Definition: scim_event.h:1462
Definition: scim_event.h:1659
Definition: scim_event.h:1914
Definition: scim_event.h:444
void set_icon(const String &icon)
Set a new icon file for this property.
Definition: scim_property.h:149
int get_helper_list(std::vector< HelperInfo > &helpers) const
Get the list of all helpers.
Definition: scim_event.h:1293
static __Uint16Pair __us_to_czech_qwerty_shift[]
Definition: scim_keyboard_layout_data.h:547
Definition: scim_event.h:1753
Definition: scim_event.h:356
Definition: scim_event.h:1640
Definition: scim_event.h:612
static __Uint16Pair __us_to_turkish_caps_shift[]
Definition: scim_keyboard_layout_data.h:3954
Definition: scim_event.h:1247
Definition: scim_event.h:157
Definition: scim_event.h:1471
Definition: scim_event.h:775
Definition: scim_event.h:1834
Definition: scim_event.h:790
Definition: scim_event.h:1208
static __Uint16Pair __us_to_uk_caps_shift[]
Definition: scim_keyboard_layout_data.h:4017
Definition: scim_signals.h:802
virtual void focus_in()
Focus in this engine instance.
Definition: scim_event.h:1316
Definition: scim_event.h:1461
Definition: scim_event.h:200
SocketError(const String &what_arg)
Definition: scim_socket.h:60
A common lookup table class.
Definition: scim_lookup_table.h:247
Definition: scim_event.h:1969
Definition: scim_event.h:413
const int SCIM_TRANS_CMD_SET_CONFIG_VECTOR_STRING
Definition: scim_trans_commands.h:524
Definition: scim_event.h:144
Connection signal_connect_stop_helper(IMEngineSlotString *slot)
Definition: scim_event.h:1032
An exception class to hold Filter related errors.
Definition: scim_filter.h:50
Definition: scim_event.h:368
const int SCIM_TRANS_CMD_BEEP
Definition: scim_trans_commands.h:491
Definition: scim_event.h:1235
various utility functions.
Definition: scim_event.h:946
Definition: scim_event.h:1081
virtual bool process_key_event(const KeyEvent &key)
Process a key event.
IMEngineFactoryPointer attach_filters_to_factory(const IMEngineFactoryPointer &factory) const
Attach all binded Filters to an IMEngineFactory object.
Connection signal_connect_show_preedit_string(PanelAgentSlotVoid *slot)
Signal: Show preedit string.
Connection signal_connect_beep(IMEngineSlotVoid *slot)
Connection signal_connect_accept(SocketServerSlotSocket *slot)
Connect a slot to socket accept signal.
Definition: scim_event.h:777
static __Uint16Pair __norwegian_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2527
Definition: scim_event.h:722
Definition: scim_event.h:1984
A slot template for static functions taking five arguments of type P1, P2, P3, P4 and P5,...
Definition: scim_slot.h:801
bool get_helper_info(unsigned int idx, HelperInfo &info) const
Get the information of a specific helper by its index.
Definition: scim_event.h:147
Definition: scim_event.h:1470
static __Uint16Pair __hungarian_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2131
bool get_data(uint32 &val)
Get an uint32 value from current read position.
FrontEndHotkeyAction
FrontEnd actions which could be binded with Hotkeys.
Definition: scim_hotkey.h:249
Definition: scim_event.h:1912
Definition: scim_event.h:963
Defines class scim::DebugOutput and related MACROS.
Definition: scim_event.h:1920
Definition: scim_event.h:577
Definition: scim_event.h:880
virtual void start_helper(int id, const String &helper_uuid)
start a Client Helper process.
Definition: scim_event.h:1769
Slot0()
Constructor.
Definition: scim_slot.h:74
Definition: scim_event.h:1952
Definition: scim_event.h:955
Definition: scim_event.h:1587
Definition: scim_event.h:1230
Definition: scim_event.h:701
Definition: scim_event.h:1755
Definition: scim_event.h:159
Definition: scim_event.h:146
virtual void update_lookup_table_page_size(unsigned int page_size)
Update the page size of current lookup table.
String get_encodings() const
Get a list of all supported encodings, separated by comma.
Definition: scim_event.h:939
Pointer & operator=(T *object)
Definition: scim_pointer.h:114
Definition: scim_event.h:315
Definition: scim_event.h:1682
static __Uint16Pair __french_switzerland_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1551
void scim_set_default_keyboard_layout(KeyboardLayout layout)
Change the default Keyboard Layout setting.
virtual void reset()
Reset this engine instance.
Definition: scim_event.h:215
Definition: scim_event.h:1038
Connection signal_connect_update_property(PanelAgentSlotProperty *slot)
Signal: Update property.
virtual void filter_update_preedit_string(const WideString &str, const AttributeList &attrs=AttributeList())
bool start_helper(const String &uuid)
Start a stand alone helper.
virtual R call(P1 p1) const
Definition: scim_slot.h:277
Definition: scim_event.h:923
static __Uint16Pair __us_to_french_switzerland_normal[]
Definition: scim_keyboard_layout_data.h:1537
WideString get_factory_help(const String &uuid) const
get the help info of an IMEngine factory.
Definition: scim_event.h:210
Definition: scim_event.h:1131
virtual String get_name() const =0
Return the name of this configuration module.
static __Uint16Pair __japanese_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2493
SlotType * slot()
Definition: scim_signals.h:182
Definition: scim_event.h:1483
virtual void filter_stop_helper(const String &helper_uuid)
static __Uint16Pair __german_deadkeys_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1735
void(* HelperModuleRunHelperFunc)(const String &uuid, const ConfigPointer &config, const String &display)
Run a specific Helper.
Definition: scim_helper_module.h:84
CommonBackEnd(const ConfigPointer &config, const std::vector< String > &modules)
Constructor.
static __Uint16Pair __us_to_german_deadkeys_normal[]
Definition: scim_keyboard_layout_data.h:1693
bool is_key_release() const
Check if it's a key release event.
Definition: scim_event.h:2216
void send_imengine_event(int ic, const String &ic_uuid, const Transaction &trans) const
Send a set of events to an IMEngineInstance.
Definition: scim_event.h:885
Definition: scim_event.h:685
Definition: scim_event.h:1822
void add_hotkeys(const KeyEventList &keys, FrontEndHotkeyAction action)
Add a set of Hotkeys for an FrontEnd into this FrontEndHotkeyMatcher.
static __Uint16Pair __us_to_portuguese_brazil_shift[]
Definition: scim_keyboard_layout_data.h:2710
Definition: scim_event.h:608
SlotType * slot()
Definition: scim_signals.h:469
Definition: scim_event.h:1387
unsigned int number_of_filters() const
Get how many Filter factories supported by this module.
static __Uint16Pair __us_to_danish_caps[]
Definition: scim_keyboard_layout_data.h:655
Definition: scim_event.h:678
Definition: scim_event.h:1452
Definition: scim_event.h:1698
void start_helper(int icid, const String &helper_uuid)
Property()
Default constructor.
Definition: scim_property.h:81
Definition: scim_event.h:973
Definition: scim_event.h:617
Definition: scim_event.h:1301
int open_connection(const HelperInfo &info, const String &display)
Open socket connection to the Panel.
Definition: scim_event.h:1256
Definition: scim_event.h:1807
FilterInfo(const String &u, const String &n=String(""), const String &l=String(""), const String &i=String(""), const String &d=String(""))
Definition: scim_filter.h:69
Definition: scim_event.h:560
Node(Slot *slot)
Constructor.
Definition: scim_event.h:318
Connection signal_connect_change_factory(PanelClientSlotString *slot)
Signal: change factory.
static __Uint16Pair __czech_qwerty_to_us_normal[]
Definition: scim_keyboard_layout_data.h:435
void run_helper(const String &uuid, const String &config_name, const String &display) const
Run a specific helper.
static __Uint16Pair __spanish_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3479
char get_ascii_code() const
Get the ascii code of this key event.
static __Uint16Pair __slovak_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3011
Definition: scim_event.h:1833
Definition: scim_event.h:1965
Definition: scim_event.h:1322
Definition: scim_event.h:716
static __Uint16Pair __us_to_czech_caps[]
Definition: scim_keyboard_layout_data.h:307
const unsigned int SCIM_ATTR_DECORATE_REVERSE
Draw the text in reverse color mode.
Definition: scim_attribute.h:60
Definition: scim_event.h:702
String get_instance_uuid(int id) const
get the factory uuid of this instance.
void set_locales(const String &locales)
Set the locales supported by this input method engine.
ClientCapability
Enum values of all Client Capabilities bitmask.
Definition: scim_imengine.h:53
Definition: scim_event.h:178
Definition: scim_event.h:1149
Definition: scim_event.h:1773
static __Uint16Pair __spanish_latin_america_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3587
Definition: scim_event.h:644
Connection signal_connect_commit_string(PanelClientSlotWideString *slot)
Signal: commit string.
bool trigger_helper_property(int client, const String &property)
Trigger a property of a Helper object.
int get_current_page_start() const
Get the start index of current page.
void register_properties(int icid, const PropertyList &properties)
Definition: scim_event.h:149
Definition: scim_event.h:1506
const int SCIM_TRANS_CMD_HIDE_PREEDIT_STRING
Definition: scim_trans_commands.h:480
FunctionSlot2(PF function)
Definition: scim_slot.h:379
Definition: scim_event.h:822
R operator()(P1 p1, P2 p2, P3 p3)
Function operator; calls emit().
Definition: scim_signals.h:557
bool scim_is_little_endian()
Get machine endian type.
bool close_connection(const Socket &socket)
Close a client connection.
int get_connection_number() const
Get the connection id previously returned by open_connection().
Definition: scim_event.h:1473
Definition: scim_event.h:957
Definition: scim_event.h:324
Definition: scim_event.h:1074
static __Uint16Pair __us_to_swedish_caps_shift[]
Definition: scim_keyboard_layout_data.h:3806
Definition: scim_event.h:1358
Definition: scim_event.h:1204
Definition: scim_event.h:631
void show_factory_menu(int icid, const std::vector< PanelFactoryInfo > &menu)
String utf8_wcstombs(const WideString &wstr)
Convert an ucs4 string to an utf8 string.
void remove_input_context(int icid)
Definition: scim_event.h:1870
Definition: scim_event.h:526
Definition: scim_event.h:465
Definition: scim_event.h:551
Definition: scim_event.h:866
Definition: scim_event.h:1423
Definition: scim_event.h:554
Definition: scim_event.h:765
virtual uint32 number_of_candidates() const =0
Return the number of candidates in this table.
static __Uint16Pair __japanese_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2459
Definition: scim_event.h:891
int utf8_wctomb(unsigned char *dest, ucs4_t wc, int dest_size)
Convert an ucs4 code to utf8 char sequence.
bool is_connected() const
Return whether this PanelClient has been connected to a Panel.
Definition: scim_event.h:583
const int SCIM_TRANS_CMD_GET_CONFIG_VECTOR_STRING
Definition: scim_trans_commands.h:523
void set_value(unsigned int value)
Set the value of this attribute.
Definition: scim_attribute.h:156
Definition: scim_event.h:1660
const int SCIM_TRANS_CMD_UNKNOWN
Unknown command. No use.
Definition: scim_trans_commands.h:308
bool scim_if_wchar_ucs4_equal()
Test if wchar_t is using UCS4 encoding.
Definition: scim_event.h:1541
const int SCIM_TRANS_CMD_HELPER_PROCESS_IMENGINE_EVENT
Definition: scim_trans_commands.h:556
Connection signal_connect_update_screen(HelperAgentSlotInt *slot)
Connect a slot to Helper update screen signal.
Definition: scim_event.h:1929
Definition: scim_event.h:1703
Definition: scim_event.h:605
virtual String get_icon_file() const
Get the icon file path of this input method engine.
static __Uint16Pair __portuguese_brazil_us_accents_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2763
Definition: scim_event.h:1895
static __Uint16Pair __danish_to_us_shift[]
Definition: scim_keyboard_layout_data.h:667
bool cursor_down()
Move cursor position to the next entry.
bool move_preedit_caret(uint32 position)
Let the focused IMEngineInstance object move the preedit caret.
Definition: scim_event.h:1111
Definition: scim_event.h:1444
Definition: scim_event.h:693
Definition: scim_event.h:1216
Definition: scim_event.h:1122
static __Uint16Pair __german_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1929
bool cursor_up()
Move cursor position to the previous entry.
static __Uint16Pair __us_to_spanish_caps_shift[]
Definition: scim_keyboard_layout_data.h:3542
static __Uint16Pair __us_to_icelandic_caps_shift[]
Definition: scim_keyboard_layout_data.h:4133
bool is_running() const
Check if the server is running.
Definition: scim_event.h:1871
Definition: scim_event.h:204
Definition: scim_event.h:1824
void emit(P1 p1)
Definition: scim_signals.h:359
Definition: scim_event.h:443
Definition: scim_event.h:643
size_t get_filters_for_imengine(const String &uuid, std::vector< String > &filters) const
Get a list of Filters binded to an IMEngine.
Definition: scim_event.h:556
WideString get_instance_name(int id) const
get the name of an IMEngine instance.
Definition: scim_event.h:351
Definition: scim_event.h:1695
A slot template for methods in a class of type T taking two arguments of type P1 and P2,...
Definition: scim_slot.h:408
This file defines some common used configuration keys.
Definition: scim_event.h:487
Definition: scim_event.h:860
virtual void update_preedit_caret(int id, int caret)
update the position of preedit caret for an IMEngine instance.
virtual void lookup_table_page_up()
Flip the lookup table to the previous page.
A template for a signal passing no arguments and returning a value of type R.
Definition: scim_signals.h:158
bool is_shift_down() const
Check if the Shift key is pressed down.
Definition: scim_event.h:2171
Definition: scim_event.h:553
Slot1()
Constructor.
Definition: scim_slot.h:214
String scim_validate_language(const String &lang)
Test if the language is valid, and return the good language code.
This class is used to match a KeyEvent among a set of hotkeys.
Definition: scim_hotkey.h:48
FilterInfo()
Definition: scim_filter.h:68
Definition: scim_event.h:1762
R InType
Definition: scim_signals.h:86
void trigger_property(int id, const String &property) const
trigger a property of a specific IMEngine instance.
A simple IMEngine to deal with the Compose keys.
Definition: scim_compose_key.h:44
bool create(const SocketAddress &address)
Create a socket on an address.
Definition: scim_event.h:353
Definition: scim_event.h:1055
static __Uint16Pair __us_to_icelandic_normal[]
Definition: scim_keyboard_layout_data.h:4037
Definition: scim_event.h:214
virtual IMEngineInstancePointer create_instance(const String &encoding, int id=-1)=0
Create a new IMEngineInstance object.
Definition: scim_signals.h:684
void reload_config() const
Request SCIM to reload all configuration.
Connection signal_connect_process_key_event(PanelClientSlotKeyEvent *slot)
Signal: process key event.
Definition: scim_socket.h:72
Definition: scim_event.h:267
virtual void trigger_property(const String &property)
Trigger a property.
Defines the scim::HotkeyMatcher and scim::IMEngineHotkeyMatcher classes.
The class to manipulate the IMEngine modules.
Definition: scim_imengine_module.h:70
Definition: scim_event.h:1084
virtual WideString get_help() const =0
Get the help information of this input method engine.
Definition: scim_event.h:793
Definition: scim_event.h:475
Definition: scim_event.h:300
Slot2< R, P1, P2 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:395
The class to store a keyboard event.
Definition: scim_event.h:2088
Pointer< ConfigBase > ConfigPointer
Definition: scim_config_base.h:62
Slot2< void, int, const String & > PanelClientSlotString
Definition: scim_panel_client.h:53
Connection signal_connect_update_helper_property(PanelAgentSlotIntProperty *slot)
Signal: Update helper property.
This class is used to read data from a transaction without changing it.
Definition: scim_transaction.h:329
Definition: scim_event.h:1808
Definition: scim_event.h:375
virtual void filter_show_lookup_table()
void update_preedit_caret(int icid, int caret)
Definition: scim_event.h:956
virtual void update_lookup_table_page_size(unsigned int page_size)
Update the page size of current lookup table.
Definition: scim_event.h:1899
virtual ~IMEngineInstanceBase()
Virtual destructor.
Definition: scim_event.h:1482
Definition: scim_event.h:1058
Definition: scim_event.h:483
virtual WideString get_candidate(int index) const =0
Get a candidate.
Definition: scim_slot.h:766
void save_hotkeys(const ConfigPointer &config) const
Save all FrontEnd specific Hotkeys to Config.
Definition: scim_event.h:925
Definition: scim_event.h:916
Definition: scim_event.h:169
Definition: scim_event.h:1559
Definition: scim_event.h:342
Definition: scim_event.h:787
Definition: scim_event.h:510
Definition: scim_event.h:326
Definition: scim_event.h:743
Defines scim::ComposeKeyFactory and scim::ComposeKeyInstance.
Definition: scim_event.h:1719
bool load(const String &name, const String &type)
Definition: scim_event.h:1383
Definition: scim_event.h:132
unsigned int get_start() const
Get the start position of this attribute.
Definition: scim_attribute.h:132
FrontEndError(const String &what_arg)
Definition: scim_frontend.h:50
static __Uint16Pair __spanish_cp850_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3299
Definition: scim_event.h:1752
const int SCIM_TRANS_CMD_PANEL_RETURN_CURRENT_FACTORY_INFO
Definition: scim_trans_commands.h:571
Definition: scim_event.h:821
Definition: scim_event.h:627
const unsigned int SCIM_ATTR_DECORATE_NONE
No decorate.
Definition: scim_attribute.h:57
DefaultMarshal()
Definition: scim_signals.h:116
Definition: scim_event.h:67
static __Uint16Pair __finnish_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1195
Connection signal_connect_lookup_table_page_up(PanelClientSlotVoid *slot)
Signal: lookup table page up.
Definition: scim_event.h:840
Definition: scim_event.h:966
A template for a signal passing three arguments of type P1, P2 and P3, and returning a value of type ...
Definition: scim_signals.h:499
void add_hotkey(const KeyEvent &key, const String &uuid)
Add a Hotkey for an IMEngine into this IMEngineHotkeyMatcher.
Definition: scim_event.h:289
static __Uint16Pair __german_swiss_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2031
Definition: scim_event.h:837
Definition: scim_event.h:1474
functions to read the global configurations.
The base class of the real input methods' IMEngineInstance classes.
Definition: scim_imengine.h:359
static __Uint16Pair __estonian_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1063
Definition: scim_event.h:143
void show_lookup_table(int icid)
Base class for classes managing slots.
Definition: scim_connection.h:52
Definition: scim_event.h:1642
bool marshal(const InType &newval)
Definition: scim_signals.h:121
Definition: scim_event.h:457
SlotNode * connect(Slot *slot)
Creates a new SlotNode for slot and adds it to the connection_list.
Definition: scim_event.h:1336
Definition: scim_event.h:538
Definition: scim_event.h:340
void forward_key_event(const KeyEvent &key)
Forward a key event to the client application.
Definition: scim_event.h:1283
Definition: scim_event.h:1196
AttributeType get_type() const
Get the type of this attribute.
Definition: scim_attribute.h:119
Definition: scim_event.h:1958
Definition: scim_event.h:207
uint32 get_factories_for_language(std::vector< IMEngineFactoryPointer > &factories, const String &language=String("")) const
Get the IMEngine factories list for specific language.
const int SCIM_TRANS_CMD_STOP_HELPER
Definition: scim_trans_commands.h:493
Definition: scim_event.h:1713
Base class template for slots passing four arguments of type P1, P2, P3 and P4, and returning a value...
Definition: scim_slot.h:640
Definition: scim_event.h:985
const int SCIM_TRANS_CMD_UPDATE_SPOT_LOCATION
Definition: scim_trans_commands.h:531
Definition: scim_event.h:1191
BoundSlot1_2(Slot2< R, P1, P2 > *slot, P2 p2)
Definition: scim_bind.h:100
Definition: scim_event.h:1343
Definition: scim_event.h:107
Definition: scim_event.h:1597
Definition: scim_event.h:525
Definition: scim_event.h:1020
void emit(P1 p1, P2 p2, P3 p3, P4 p4)
Definition: scim_signals.h:707
~TransactionReader()
Destructor.
Definition: scim_event.h:139
T * release()
Definition: scim_pointer.h:195
Definition: scim_event.h:1521
Definition: scim_event.h:152
virtual void filter_update_preedit_caret(int caret)
Definition: scim_event.h:820
Definition: scim_event.h:174
static __Uint16Pair __spanish_cp850_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3347
Definition: scim_event.h:277
static void set_output(const String &file)
Set the debug output file.
void scim_usleep(unsigned int usec)
Sleep some microseconds.
Definition: scim_event.h:810
Definition: scim_event.h:1231
Definition: scim_event.h:1150
const int SCIM_TRANS_CMD_DELETE_ALL_INSTANCES
Definition: scim_trans_commands.h:501
Definition: scim_event.h:1428
Definition: scim_event.h:1197
MethodSlot5(T *object, PMF function)
Definition: scim_slot.h:843
Definition: scim_event.h:1200
Send/Receive WideString.
Definition: scim_transaction.h:50
Definition: scim_event.h:357
const int SCIM_TRANS_CMD_LOOKUP_TABLE_PAGE_UP
Definition: scim_trans_commands.h:466
Definition: scim_event.h:1211
Definition: scim_event.h:1963
Definition: scim_event.h:1366
Definition: scim_event.h:720
Definition: scim_event.h:360
Definition: scim_event.h:1092
virtual WideString get_authors() const
Return the authors information of the original IMEngineFactory object specified in contructor or by a...
Definition: scim_event.h:1309
A background color attribute, in RGB format.
Definition: scim_attribute.h:54
Definition: scim_event.h:110
Definition: scim_event.h:865
Definition: scim_event.h:1953
Definition: scim_event.h:791
Definition: scim_event.h:1768
Definition: scim_event.h:624
Connection connect(SlotType *slot)
Definition: scim_signals.h:864
Definition: scim_event.h:779
Definition: scim_event.h:831
Definition: scim_event.h:94
String get_factory_icon_file(const String &uuid) const
get the icon file of an IMEngine factory.
Definition: scim_event.h:1859
Definition: scim_event.h:1961
static __Uint16Pair __us_to_finnish_caps_shift[]
Definition: scim_keyboard_layout_data.h:1282
Definition: scim_event.h:1896
Definition: scim_event.h:1806
Definition: scim_event.h:804
Definition: scim_event.h:1927
Definition: scim_event.h:1569
Definition: scim_event.h:1280
Definition: scim_event.h:474
Definition: scim_event.h:1121
Definition: scim_event.h:377
const void * get_data() const
Get the internal data of this socket address, used by class Socket.
Definition: scim_event.h:1665
static __KeyName __scim_keyboard_layout_ids_by_code[]
Definition: scim_keyboard_layout_data.h:4500
static __Uint16Pair __us_to_danish_caps_shift[]
Definition: scim_keyboard_layout_data.h:730
void select_candidate(int id, unsigned int index) const
let a specific IMEngine instance select a candidate in its current lookup table.
Definition: scim_event.h:382
virtual void filter_forward_key_event(const KeyEvent &key)
Definition: scim_event.h:328
WideString utf8_mbstowcs(const String &str)
Convert an utf8 string to an ucs4 string.
Definition: scim_event.h:724
static __Uint16Pair __us_to_spanish_latin_america_caps_shift[]
Definition: scim_keyboard_layout_data.h:3674
Definition: scim_event.h:609
Definition: scim_event.h:1418
Definition: scim_event.h:568
Definition: scim_event.h:854
bool unload()
Unload the Filter Module.
Definition: scim_event.h:1085
Definition: scim_event.h:1001
static __Uint16Pair __us_to_spanish_latin_america_shift[]
Definition: scim_keyboard_layout_data.h:3632
Definition: scim_event.h:1865
Definition: scim_event.h:1771
Definition: scim_event.h:450
Definition: scim_event.h:320
virtual ~FilterFactoryBase()
Definition: scim_event.h:1877
Definition: scim_event.h:1573
Definition: scim_event.h:708
Definition: scim_event.h:1113
~Pointer()
Definition: scim_pointer.h:107
Definition: scim_event.h:544
virtual void update_preedit_string(int id, const WideString &str, const AttributeList &attrs)
update the content of preedit string for an IMEngine instance.
Definition: scim_event.h:1683
Definition: scim_event.h:436
Definition: scim_event.h:1295
void set_label(const String &label)
Set a new label for this property.
Definition: scim_property.h:144
void hide_preedit_string(int icid)
Definition: scim_event.h:878
Definition: scim_event.h:626
Definition: scim_event.h:1532
std::vector< Pointer< SlotNode > > ConnectionList
ConnectionList type.
Definition: scim_signals.h:137
Definition: scim_event.h:276
Definition: scim_event.h:1837
Definition: scim_event.h:1637
Definition: scim_event.h:1605
Definition: scim_event.h:1116
Definition: scim_event.h:1579
Definition: scim_event.h:1951
virtual void block()=0
Block signal emission to the slot until unblock is called.
Definition: scim_event.h:1228
uint16 mask
Definition: scim_event.h:2091
Base class template for slots passing two arguments of type P1 and P2, and returning a value of type ...
Definition: scim_slot.h:354
Definition: scim_event.h:1062
Definition: scim_event.h:1397
const int SCIM_TRANS_CMD_PROCESS_HELPER_EVENT
Definition: scim_trans_commands.h:472
Definition: scim_event.h:653
This class is used to manage all helper objects.
Definition: scim_helper_manager.h:47
Definition: scim_event.h:888
Definition: scim_event.h:429
FilterFactoryPointer create_filter(unsigned int idx) const
Create a FilterFactory according to its index.
Definition: scim_event.h:1578
virtual WideString get_credits() const
Get the credits information of this input method engine.
Converts a slot taking five arguments into a slot taking four arguments.
Definition: scim_bind.h:205
Definition: scim_event.h:371
FrontEndModule()
Default constructor.
bool valid() const
Check if a module is loaded and initialized successfully.
Definition: scim_event.h:410
Definition: scim_event.h:1797
PanelFactoryInfo()
Definition: scim_panel_common.h:59
Definition: scim_event.h:756
Definition: scim_event.h:228
static __Uint16Pair __norwegian_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2551
Definition: scim_event.h:287
Connection signal_connect_show_help(PanelAgentSlotString *slot)
Signal: Show help.
Definition: scim_event.h:1376
static __Uint16Pair __us_to_estonian_shift[]
Definition: scim_keyboard_layout_data.h:1108
WideString get_factory_name(const String &uuid) const
get the name of an IMEngine factory.
Definition: scim_event.h:494
Definition: scim_event.h:615
Slot4< void, const HelperAgent *, int, const String &, int > HelperAgentSlotInt
Definition: scim_helper.h:129
Definition: scim_event.h:1144
An exception class to hold Transaction related errors.
Definition: scim_transaction.h:68
#define SCIM_DEBUG_AllMask
Definition: scim_debug.h:44
virtual WideString get_candidate(int index) const
Get a candidate.
Definition: scim_event.h:242
static __Uint16Pair __us_to_spanish_caps[]
Definition: scim_keyboard_layout_data.h:3467
Definition: scim_event.h:439
Definition: scim_event.h:1439
Definition: scim_event.h:288
Definition: scim_event.h:1329
SlotType * slot()
Definition: scim_signals.h:354
IConvert(const String &encoding=String())
Constructor.
Connection connect(SlotType *slot)
Definition: scim_signals.h:172
Definition: scim_event.h:486
Definition: scim_event.h:161
SocketClient()
Constructor.
Definition: scim_event.h:292
Pointer & operator=(const Pointer< T1 > &src)
Definition: scim_pointer.h:137
Definition: scim_event.h:934
Definition: scim_event.h:1346
Definition: scim_event.h:286
Definition: scim_event.h:404
A slot template for static functions taking one argument of type P1 and returning a value of type R.
Definition: scim_slot.h:230
Definition: scim_event.h:407
bool is_connected() const
Check if the socket is connected.
bool skip_data()
Skip one data from current read position.
Class to hold a property of a IMEngineInstance object or a Panel GUI client.
Definition: scim_property.h:69
Definition: scim_event.h:1229
static __Uint16Pair __us_to_spanish_cp850_caps[]
Definition: scim_keyboard_layout_data.h:3335
static __Uint16Pair __french_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1415
virtual bool process_key_event(const KeyEvent &key)
Process a key event.
Definition: scim_helper.h:43
Definition: scim_event.h:1574
Definition: scim_event.h:1209
Definition: scim_event.h:1894
Converts a slot taking two arguments into a slot taking one argument.
Definition: scim_bind.h:94
Definition: scim_event.h:1350
void run_helper(const String &uuid, const ConfigPointer &config, const String &display) const
Run a specific helper.
Definition: scim_event.h:1528
Definition: scim_event.h:792
A template for a signal passing two arguments of type P1 and P2, and returning a value of type R.
Definition: scim_signals.h:384
const int SCIM_TRANS_CMD_CONTROLLER_GET_CURRENT_CONTEXT
Definition: scim_trans_commands.h:568
bool make_resident() const
Definition: scim_event.h:97
String get_error_message() const
Get the message of the last occurred error.
Definition: scim_event.h:1950
Definition: scim_event.h:1154
Definition: scim_event.h:1537
An exception class to hold IMEngine related errors.
Definition: scim_imengine.h:70
Definition: scim_event.h:1858
Definition: scim_event.h:669
Definition: scim_event.h:379
Definition: scim_event.h:533
bool is_caps_lock_down() const
Check if the CapsLock key is pressed down.
Definition: scim_event.h:2176
Definition: scim_event.h:1453
String get_previous_factory(const String &language, const String &encoding, const String &cur_uuid) const
Get the previous IMEngineFactory for a specific language and encoding.
Definition: scim_event.h:53
A dummy implementation of interface class scim::ConfigBase.
Definition: scim_config_base.h:373
Pointer< To > cast_static(const Pointer< From > &from)
Definition: scim_pointer.h:274
Definition: scim_event.h:1707
Definition: scim_event.h:1919
Definition: scim_event.h:969
Definition: scim_event.h:246
Slot1< void, const std::vector< PanelFactoryInfo > & > PanelAgentSlotFactoryInfoVector
Definition: scim_panel_agent.h:61
Definition: scim_event.h:502
Socket communication class.
Definition: scim_socket.h:178
Definition: scim_event.h:1404
Definition: scim_event.h:672
Definition: scim_event.h:1349
Definition: scim_event.h:991
bool valid() const
Check if a Helper module has been loaded successfully.
Definition: scim_event.h:1277
String scim_get_normalized_language(const String &lang)
Get the normalized language id of a language.
IMEngineFactoryPointer get_factory(const String &uuid) const
Definition: scim_event.h:515
Definition: scim_event.h:1770
Definition: scim_event.h:1040
static __Uint16Pair __us_to_portuguese_brazil_caps_shift[]
Definition: scim_keyboard_layout_data.h:2732
friend class FilterInstanceBaseImpl
Definition: scim_filter.h:278
Definition: scim_event.h:409
Definition: scim_event.h:1616
Definition: scim_event.h:495
const int SCIM_TRANS_CMD_PANEL_SEND_IMENGINE_EVENT
Definition: scim_trans_commands.h:552
Definition: scim_event.h:1233
Definition: scim_event.h:192
Definition: scim_event.h:426
Definition: scim_event.h:1488
Definition: scim_event.h:468
A slot template for methods in a class of type T taking three arguments of type P1,...
Definition: scim_slot.h:551
Definition: scim_event.h:437
int scim_split_string_list(std::vector< String > &vec, const String &str, char delim=',')
Split string list into a string vector according to the delim char.
Definition: scim_event.h:423
Definition: scim_event.h:1739
Definition: scim_event.h:1750
void(* ConfigModuleInitFunc)(void)
The prototype of initialization function in config modules.
Definition: scim_config_module.h:49
static __Uint16Pair __german_swiss_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2003
Definition: scim_event.h:1835
Slot2< void, int, const HelperInfo & > PanelAgentSlotIntHelperInfo
Definition: scim_panel_agent.h:82
int get_error_number() const
Get the number of the last occurred error.
Definition: scim_event.h:317
void update_spot_location(int icid, int x, int y)
virtual void send_helper_event(int id, const String &helper_uuid, const Transaction &trans)
send an events transaction to a Client Helper process.
Definition: scim_event.h:858
const int SCIM_TRANS_CMD_PANEL_TURN_OFF
Definition: scim_trans_commands.h:538
bool exit(void)
Let all FrontEnds, Helpers and this Panel exit.
void set_start(unsigned int start)
Set the start position of this attribute.
Definition: scim_attribute.h:162
static __Uint16Pair __us_to_german_shift[]
Definition: scim_keyboard_layout_data.h:1906
definition of FilterModule related classes.
virtual void process_helper_event(const String &helper_uuid, const Transaction &trans)
Process the events sent from a Client Helper process.
const int SCIM_TRANS_CMD_HIDE_LOOKUP_TABLE
Definition: scim_trans_commands.h:482
virtual R call(P1 p1, P2 p2, P3 p3) const
Calls the original slot passing it arguments p1, p2 and p3, and the bound argument p as the last para...
Definition: scim_bind.h:179
Definition: scim_event.h:1307
Definition: scim_event.h:419
const uint32 SCIM_HELPER_AUTO_RESTART
Helper option indicates that it should be restarted when it exits abnormally.
Definition: scim_helper.h:76
Definition: scim_event.h:1925
Definition: scim_event.h:1435
static __Uint16Pair __czech_qwerty_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:571
Connection signal_connect_turn_on(PanelAgentSlotVoid *slot)
Signal: Turn on.
static __Uint16Pair __swedish_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3719
void update_lookup_table(const LookupTable &table)
Update the content of the lookup table,.
Definition: scim_event.h:1450
Definition: scim_event.h:1389
Definition: scim_event.h:1989
Definition: scim_event.h:1345
static void enable_debug_by_name(const String &debug)
The global method to enable the debug output by their names.
SlotType * slot()
Definition: scim_signals.h:241
Definition: scim_event.h:818
Definition: scim_event.h:1987
Definition: scim_event.h:999
bool visible() const
If this property is visible.
Definition: scim_property.h:105
definition of Module related classes.
Definition: scim_event.h:949
String desc
The description.
Definition: scim_filter.h:66
Definition: scim_event.h:1377
Definition: scim_event.h:812
Definition: scim_event.h:1736
Definition: scim_event.h:1681
Definition: scim_event.h:290
static __Uint16Pair __us_to_japanese_normal[]
Definition: scim_keyboard_layout_data.h:2432
void set_default_factory(const String &language, const String &uuid)
Set the default IMEngineFactory for a specific language.
Definition: scim_event.h:1900
Definition: scim_event.h:245
Slot1< void, IMEngineInstanceBase * > IMEngineSlotVoid
Definition: scim_imengine.h:95
Definition: scim_event.h:1348
MethodSlot2(T *object, PMF function)
Definition: scim_slot.h:415
Definition: scim_event.h:1244
Definition: scim_event.h:516
Connection signal_connect_show_aux_string(IMEngineSlotVoid *slot)
static __Uint16Pair __german_deadkeys_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1679
void hide(bool hidden=true)
Definition: scim_property.h:171
Definition: scim_event.h:1399
Definition: scim_event.h:1691
bool set_address(const String &addr)
Set a new address.
bool listen(int queue_length=5) const
Listen for connections on a socket.
A decorate attribute, eg. underline etc.
Definition: scim_attribute.h:52
Definition: scim_event.h:832
bool convert(String &dest, const WideString &src) const
Convert a UCS-4 encoded WideString into a local encoded String.
Definition: scim_event.h:1635
Definition: scim_event.h:529
Definition: scim_event.h:125
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const
Definition: scim_slot.h:954
const int SCIM_TRANS_CMD_START_HELPER
Definition: scim_trans_commands.h:492
static __KeyName __scim_keys_by_code[]
Definition: scim_keyevent_data.h:825
Definition: scim_event.h:1725
static __KeyName __scim_keys_by_name[]
Definition: scim_keyevent_data.h:2143
Definition: scim_event.h:1983
Defines the scim::KeyEvent class and related enums, functions.
Connection signal_connect_hide_preedit_string(IMEngineSlotVoid *slot)
Definition: scim_event.h:90
Definition: scim_event.h:1848
size_t get_size() const
Get the size of this transaction.
static __Uint16Pair __us_to_finnish_normal[]
Definition: scim_keyboard_layout_data.h:1183
Definition: scim_event.h:1446
Definition: scim_event.h:803
Connection connect(SlotType *slot)
Definition: scim_signals.h:746
bool InType
Definition: scim_signals.h:110
virtual bool read(const String &key, String *ret) const =0
Read a string from the given key.
Definition: scim_event.h:1045
virtual bool validate_encoding(const String &encoding) const
Check if an encoding is supported by this IMEngineFactory.
Definition: scim_event.h:1849
~HotkeyMatcher()
Destructor.
bool is_num_lock_down() const
Check if the num lock key is pressed down.
Definition: scim_event.h:2206
static __Uint16Pair __spanish_latin_america_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3563
Definition: scim_event.h:886
int scim_get_config_module_list(std::vector< String > &mod_list)
Get a name list of currently available configuration modules.
Definition: scim_event.h:953
Definition: scim_event.h:656
Definition: scim_event.h:219
const int SCIM_TRANS_CMD_OK
This command is usually used in the Transaction sending from a socket server to a socket client to in...
Definition: scim_trans_commands.h:340
Definition: scim_event.h:1153
Definition: scim_event.h:1323
Attribute(unsigned int start=0, unsigned int length=0, AttributeType type=SCIM_ATTR_NONE, unsigned int value=0)
Constructor.
Definition: scim_attribute.h:107
Definition: scim_event.h:524
Definition: scim_event.h:998
Definition: scim_event.h:717
Definition: scim_event.h:343
Definition: scim_event.h:490
Definition: scim_event.h:1025
Slot2< void, IMEngineInstanceBase *, const PropertyList & > IMEngineSlotPropertyList
Definition: scim_imengine.h:119
definition of IMEngineModule related classes.
Definition: scim_event.h:521
Definition: scim_event.h:1672
void clear()
Clear the transaction, all data in this transaction will be freed.
Definition: scim_event.h:134
Connection signal_connect_update_preedit_string(PanelAgentSlotAttributeString *slot)
Signal: Update preedit string.
Definition: scim_event.h:625
bool has_pending_event() const
Check if there are any events available to be processed.
virtual String get_language() const
Return the supported language of the original IMEngineFactory object specified in contructor or by at...
Definition: scim_event.h:1000
virtual WideString inverse_query(const WideString &str)
Get the original key string of a composed string.
Slot4< R, P1, P2, P3, P4 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:626
Definition: scim_event.h:1479
Definition: scim_event.h:1119
Definition: scim_event.h:579
Definition: scim_event.h:1120
Definition: scim_event.h:378
Definition: scim_event.h:1962
void clear_all_filter_settings() const
Clear all Filter settings for IMEngines.
Definition: scim_event.h:1042
Pointer< To > cast_dynamic(const Pointer< From > &from)
Definition: scim_pointer.h:261
virtual void filter_hide_preedit_string()
Definition: scim_event.h:63
Definition: scim_event.h:1024
Definition: scim_event.h:1692
String scim_get_language_name_untranslated(const String &lang)
Get the untranslated name of a language id.
Definition: scim_event.h:1546
Definition: scim_event.h:640
Connection signal_connect_receive(SocketServerSlotSocket *slot)
Connect a slot to socket receive signal.
Definition: scim_event.h:855
virtual bool write(const String &key, const String &value)=0
Write a string to the given key.
Definition: scim_event.h:1094
Definition: scim_event.h:1126
Definition: scim_event.h:1201
static __Uint16Pair __us_to_french_shift[]
Definition: scim_keyboard_layout_data.h:1442
scim::ConfigBase Interface.
Property(const String &key, const String &label, const String &icon=String(""), const String &tip=String(""))
Constructor.
Definition: scim_property.h:86
void update_factory_info(int icid, const PanelFactoryInfo &info)
Definition: scim_event.h:463
Definition: scim_event.h:1924
static __Uint16Pair __czech_qwerty_to_us_caps[]
Definition: scim_keyboard_layout_data.h:479
Definition: scim_event.h:173
Definition: scim_event.h:480
Definition: scim_event.h:1656
Definition: scim_event.h:1654
String get_factory_language(const String &uuid) const
get the language of an IMEngine factory.
String get_locales() const
Get a list of all supported locales, separated by comma.
Definition: scim_event.h:446
Definition: scim_event.h:160
Definition: scim_event.h:842
Definition: scim_event.h:1911
int new_instance(const String &sf_uuid, const String &encoding)
create a new IMEngine instance for specific encoding.
static __Uint16Pair __us_to_german_normal[]
Definition: scim_keyboard_layout_data.h:1841
const int SCIM_TRANS_CMD_DELETE_SURROUNDING_TEXT
Definition: scim_trans_commands.h:496
Definition: scim_event.h:586
bool has_pending_event() const
Check if there are any events available to be processed.
bool operator!=(const KeyEvent &key) const
Compare two key events.
Definition: scim_event.h:2230
const int SCIM_TRANS_CMD_GET_CONFIG_VECTOR_INT
Definition: scim_trans_commands.h:525
SlotType * slot()
Definition: scim_signals.h:523
int get_cursor_pos() const
Get current cursor position.
Definition: scim_event.h:1648
Definition: scim_event.h:256
Defines scim::HelperManager.
Definition: scim_event.h:970
Definition: scim_event.h:1347
Definition: scim_event.h:205
Definition: scim_event.h:1373
Definition: scim_event.h:1437
static __Uint16Pair __us_to_spanish_latin_america_normal[]
Definition: scim_keyboard_layout_data.h:3575
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const
Definition: scim_slot.h:811
Definition: scim_event.h:648
Definition: scim_event.h:1303
static __Uint16Pair __us_to_norwegian_caps_shift[]
Definition: scim_keyboard_layout_data.h:2638
int get_id() const
Get the socket id.
Definition: scim_event.h:1102
Slot2< void, int, const Property & > PanelAgentSlotIntProperty
Definition: scim_panel_agent.h:76
Definition: scim_slot.h:195
Definition: scim_event.h:757
Definition: scim_event.h:89
Connection signal_connect_update_lookup_table_page_size(PanelClientSlotInt *slot)
Signal: update lookup table page size.
Structure to hold factory information. It's used by PanelAgent and PanelClient classes.
Definition: scim_panel_common.h:52
Definition: scim_event.h:937
unsigned int number_of_filters() const
Get the total number of Filters supported by all filter modules.
Definition: scim_event.h:830
Connection signal_connect_process_imengine_event(HelperAgentSlotTransaction *slot)
Connect a slot to Helper process imengine event signal.
Connection signal_connect_update_lookup_table(IMEngineSlotLookupTable *slot)
Definition: scim_event.h:881
Definition: scim_event.h:208
bool write_to_socket(const Socket &socket, uint32 signature=0) const
Write the transaction to a socket.
static __KeyName __scim_keyboard_layout_ids_by_name[]
Definition: scim_keyboard_layout_data.h:4544
The base class to implement the FrontEnd objects.
Definition: scim_frontend.h:70
Definition: scim_event.h:752
static __KeyCodeMap __normal_invert_map[]
Definition: scim_keyboard_layout_data.h:4198
Slot6< void, P1, P2, P3, P4, P5, P6 > SlotType
Definition: scim_signals.h:933
Definition: scim_event.h:859
The default implementation of scim::BackEndBase interface.
Definition: scim_backend.h:185
Definition: scim_event.h:800
static __Uint16Pair __us_to_hungarian_caps_shift[]
Definition: scim_keyboard_layout_data.h:2266
Definition: scim_event.h:1876
bool scim_global_config_flush()
Flush the updated global config into user global config file.
Definition: scim_event.h:1203
Definition: scim_event.h:302
Definition: scim_event.h:1245
Definition: scim_event.h:1563
R operator()(P1 p1) const
Function operator; Calls call().
Definition: scim_slot.h:221
Definition: scim_event.h:929
AttributeList get_attributes_in_current_page(int page_index) const
Get the display attributes of a candidate in current page.
Definition: scim_event.h:1035
const int SCIM_TRANS_CMD_SET_CONFIG_STRING
Definition: scim_trans_commands.h:516
virtual ~ConfigBase()
Virtual destructor empty but ensures that dtor of all derived classes is virtual.
void run() const
run this FrontEnd module.
Definition: scim_event.h:778
static __Uint16Pair __us_to_portuguese_normal[]
Definition: scim_keyboard_layout_data.h:2799
bool valid() const
Check if the transaction reader is valid.
An exception class to hold Socket related errors.
Definition: scim_socket.h:57
static __Uint16Pair __german_deadkeys_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1707
Connection connect(SlotType *slot)
Definition: scim_signals.h:284
Slot3< void, IMEngineInstanceBase *, const WideString &, const AttributeList & > IMEngineSlotWideStringAttributeList
Definition: scim_imengine.h:125
Definition: scim_event.h:1449
static __Uint16Pair __us_to_spanish_normal[]
Definition: scim_keyboard_layout_data.h:3443
Definition: scim_event.h:1129
Defines scim::FrontEndBase interface.
Definition: scim_event.h:1103
Definition: scim_event.h:1227
bool get_filter_info(unsigned int idx, FilterInfo &info) const
Get the information of a specific filter by its index.
Definition: scim_event.h:1161
String scim_get_user_name()
Get the name of current user.
Definition: scim_event.h:199
Definition: scim_event.h:1054
Definition: scim_event.h:569
void clear(void)
Clear all Hotkeys.
const int SCIM_TRANS_CMD_UPDATE_SCREEN
Definition: scim_trans_commands.h:530
bool scim_key_to_string(String &str, const KeyEvent &key)
Convert a key event to a string.
Definition: scim_event.h:704
Definition: scim_event.h:309
static __Uint16Pair __us_to_portuguese_brazil_us_accents_normal[]
Definition: scim_keyboard_layout_data.h:2748
const int SCIM_TRANS_CMD_HIDE_AUX_STRING
Definition: scim_trans_commands.h:481
void close_connection()
Close the socket connection to Panel.
Definition: scim_event.h:1794
Definition: scim_event.h:346
virtual WideString get_authors() const
Get the authors information of this input method engine.
Definition: scim_event.h:1401
static __Uint16Pair __us_to_portuguese_brazil_normal[]
Definition: scim_keyboard_layout_data.h:2669
Definition: scim_event.h:1008
Definition: scim_event.h:670
Definition: scim_event.h:281
Definition: scim_event.h:1796
Definition: scim_event.h:60
static __Uint16Pair __german_swiss_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1975
static __Uint16Pair __french_switzerland_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1523
String scim_get_current_locale()
Get current system locale.
Definition: scim_event.h:1551
Definition: scim_event.h:133
Base class template for slots passing no arguments and returning a value of type R.
Definition: scim_slot.h:71
Definition: scim_event.h:145
size_t get_all_hotkeys(KeyEventList &keys, std::vector< String > &uuids) const
Get all hotkeys in this IMEngineHotkeyMatcher.
KeyEvent(const String &str)
Constructor, construct a key event from a string.
Definition: scim_event.h:2108
const int SCIM_TRANS_CMD_GET_FACTORY_LIST
Definition: scim_trans_commands.h:503
Definition: scim_event.h:1615
The class to implement all socket protocol in Panel.
Definition: scim_panel_agent.h:102
virtual bool validate_encoding(const String &encoding) const
Check if an encoding is supported by this IMEngineFactory.
Definition: scim_event.h:336
Definition: scim_event.h:781
Definition: scim_event.h:1788
Definition: scim_event.h:462
const int SCIM_TRANS_CMD_SHOW_LOOKUP_TABLE
Definition: scim_trans_commands.h:479
Definition: scim_socket.h:73
Definition: scim_filter_manager.h:43
Definition: scim_event.h:478
void focus_in(int id) const
focus in a specific IMEngine instance.
Definition: scim_event.h:1884
Definition: scim_event.h:696
Connection signal_connect_hide_aux_string(IMEngineSlotVoid *slot)
Definition: scim_event.h:1673
Class to store the string attributes.
Definition: scim_attribute.h:90
Definition: scim_event.h:1441
Definition: scim_event.h:1492
virtual void reset()
Reset this engine instance.
Definition: scim_event.h:100
unsigned int(* FilterModuleInitFunc)(const ConfigPointer &config)
Initialize a Filter Module.
Definition: scim_filter_module.h:57
const int SCIM_TRANS_CMD_SET_CONFIG_VECTOR_INT
Definition: scim_trans_commands.h:526
Slot6()
Constructor.
Definition: scim_slot.h:928
Definition: scim_event.h:928
virtual void show_preedit_string(int id)
show preedit string area for an IMEngine instance.
Definition: scim_event.h:1284
Connection signal_connect_update_spot_location(HelperAgentSlotIntInt *slot)
Connect a slot to Helper update spot location signal.
Slot2< void, IMEngineInstanceBase *, const Property & > IMEngineSlotProperty
Definition: scim_imengine.h:116
Definition: scim_event.h:1652
Definition: scim_event.h:1177
KeyMask
Enum values of all valid key masks.
Definition: scim_event.h:50
Definition: scim_event.h:464
Definition: scim_event.h:278
static __Uint16Pair __dvorak_to_us_shift[]
Definition: scim_keyboard_layout_data.h:895
Definition: scim_event.h:1782
Definition: scim_event.h:284
static __Uint16Pair __us_to_hungarian_shift[]
Definition: scim_keyboard_layout_data.h:2216
Definition: scim_event.h:649
Slot1< void, const Property & > PanelAgentSlotProperty
Definition: scim_panel_agent.h:67
virtual ~Signal()
Destructor.
A slot template for static functions taking six arguments of type P1, P2, P3, P4, P5 and P6,...
Definition: scim_slot.h:944
Slot0< void > SlotType
Definition: scim_signals.h:234
void load_hotkeys(const ConfigPointer &config)
Load all FrontEnd specific Hotkeys from Config.
Definition: scim_event.h:522
Definition: scim_event.h:1010
virtual void clear()
Clear the table.
Definition: scim_event.h:1617
Definition: scim_event.h:1478
Definition: scim_event.h:1465
Definition: scim_event.h:995
static __Uint16Pair __uk_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3977
Definition: scim_event.h:497
Definition: scim_event.h:211
Definition: scim_event.h:216
void clear(void)
Clear all Hotkeys and reset the FrontEndHotkeyMatcher.
void update_aux_string(int icid, const WideString &str, const AttributeList &attrs)
Definition: scim_event.h:1031
Definition: scim_event.h:164
Definition: scim_event.h:1276
Definition: scim_event.h:749
Definition: scim_event.h:338
Definition: scim_event.h:1594
Definition: scim_event.h:432
Definition: scim_event.h:1724
Definition: scim_event.h:220
virtual void update_lookup_table(int id, const LookupTable &table)
update the content of lookup table for an IMEngine instance.
virtual void lookup_table_page_down()
Flip the lookup table to the next page.
Definition: scim_event.h:1851
Definition: scim_event.h:547
bool get_helper_info(unsigned int idx, HelperInfo &info) const
The the information of a specific helper.
Definition: scim_event.h:666
Definition: scim_event.h:1684
Definition: scim_event.h:593
static __Uint16Pair __us_to_turkish_normal[]
Definition: scim_keyboard_layout_data.h:3842
static __Uint16Pair __us_to_czech_qwerty_caps[]
Definition: scim_keyboard_layout_data.h:501
Connection connect(SlotType *slot)
Definition: scim_signals.h:935
int read_with_timeout(void *buf, size_t size, int timeout) const
read data from socket with a timeout.
Send/Receive uint32.
Definition: scim_transaction.h:48
Definition: scim_event.h:1697
Definition: scim_event.h:909
Definition: scim_event.h:1259
virtual void focus_out()
Focus out this engine instance.
void operator()(P1 p1, P2 p2, P3 p3)
Definition: scim_signals.h:604
Definition: scim_event.h:1784
Definition: scim_event.h:1954
Definition: scim_event.h:938
Definition: scim_event.h:1786
Definition: scim_event.h:575
bool is_page_size_fixed() const
Check if the page size is fixed, aka. couldn't reduced by FrontEnd.
void(* FrontEndModuleRunFunc)(void)
Run a FrontEnd Module.
Definition: scim_frontend_module.h:63
Definition: scim_event.h:499
Definition: scim_event.h:1957
R operator()(P1 p1, P2 p2) const
Function operator; Calls call().
Definition: scim_slot.h:364
const uint32 SCIM_HELPER_AUTO_START
Helper option indicates that it must be started automatically when Panel starts.
Definition: scim_helper.h:68
Definition: scim_event.h:674
Definition: scim_event.h:1014
void update_property(int icid, const Property &property)
Definition: scim_event.h:148
bool operator<(const Attribute &lhs, const Attribute &rhs)
Definition: scim_attribute.h:172
bool load(const String &name, const BackEndPointer &backend, const ConfigPointer &config, int argc, char **argv)
Load a FrontEnd module by its name.
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4) const
Calls the original slot passing it arguments p1, p2, p3 and p4, and the bound argument p as the last ...
Definition: scim_bind.h:216
bool trigger_property(const String &property)
Trigger a property of the focused IMEngineInstance object.
TransactionError(const String &what_arg)
Definition: scim_transaction.h:71
virtual bool validate_locale(const String &locale) const
Check if a locale is supported by this IMEngineFactory.
Definition: scim_event.h:1136
Definition: scim_event.h:241
bool set_encoding(const String &encoding)
Set the working local encoding.
Definition: scim_event.h:1686
const int SCIM_TRANS_CMD_PANEL_SHOW_FACTORY_MENU
Definition: scim_trans_commands.h:541
BackEndError(const String &what_arg)
Definition: scim_backend.h:46
Definition: scim_event.h:1178
Definition: scim_event.h:862
SignalSlot1(T *signal, PF function)
Definition: scim_slot.h:344
Pointer(T *object=0)
Definition: scim_pointer.h:78
Definition: scim_hotkey.h:257
Definition: scim_event.h:397
bool is_hyper_down() const
Check if the Hyper key is pressed down.
Definition: scim_event.h:2201
String get_instance_icon_file(int id) const
get the icon file of an IMEngine instance.
Definition: scim_event.h:1741
Definition: scim_event.h:978
Definition: scim_event.h:924
virtual R call(P1 p1) const
Calls the original slot passing it argument p1 and the bound argument p as the last parameter.
Definition: scim_bind.h:105
Definition: scim_event.h:897
Definition: scim_event.h:873
Definition: scim_event.h:221
~Transaction()
Destructor.
static __Uint16Pair __us_to_spanish_shift[]
Definition: scim_keyboard_layout_data.h:3500
Definition: scim_event.h:596
Connection connect(SlotType *slot)
Definition: scim_signals.h:629
Connection signal_connect_show_lookup_table(PanelAgentSlotVoid *slot)
Signal: Show lookup table.
Definition: scim_event.h:1447
Definition: scim_event.h:59
virtual bool read(const String &key, String *ret) const
Read a string from the given key.
SocketAddress(const String &addr=String())
Constructor.
static __Uint16Pair __dvorak_to_us_normal[]
Definition: scim_keyboard_layout_data.h:751
Definition: scim_event.h:557
Definition: scim_event.h:1202
Definition: scim_event.h:1104
void update_client_capabilities(int id, unsigned int cap) const
let a specific IMEngine instance to update itself according to the capabilities of the client applica...
Definition: scim_event.h:1604
Definition: scim_event.h:1464
virtual void focus_in()
Focus in this engine instance.
Definition: scim_event.h:1840
Definition: scim_event.h:194
virtual void focus_out()
Focus out this engine instance.
static __Uint16Pair __us_to_german_swiss_normal[]
Definition: scim_keyboard_layout_data.h:1989
Definition: scim_event.h:921
Slot2< void, int, const PropertyList & > PanelAgentSlotIntPropertyList
Definition: scim_panel_agent.h:79
Definition: scim_event.h:1234
Definition: scim_event.h:578
Definition: scim_event.h:248
static __Uint16Pair __us_to_hungarian_normal[]
Definition: scim_keyboard_layout_data.h:2146
bool validate_factory(const String &uuid, const String &encoding=String("")) const
Check if an IMEngine factory is valid and the given encoding is supported by it.
void stop(void)
Stop this PanelAgent.
Definition: scim_event.h:1928
Slot1< void, const PanelFactoryInfo & > PanelAgentSlotFactoryInfo
Definition: scim_panel_agent.h:58
Definition: scim_event.h:1671
Definition: scim_event.h:1097
IMEngineInstanceBase(IMEngineFactoryBase *factory, const String &encoding, int id=-1)
Constructor.
Definition: scim_event.h:1868
const int SCIM_TRANS_CMD_TRIGGER_PROPERTY
Definition: scim_trans_commands.h:471
Definition: scim_event.h:1861
Definition: scim_event.h:387
virtual bool flush()=0
Permanently writes all changes.
Definition: scim_event.h:1380
static __Uint16Pair __danish_to_us_caps[]
Definition: scim_keyboard_layout_data.h:643
void set_cursor_pos_in_current_page(int pos)
Set the cursor position in current page.
Send/Receive raw buffer.
Definition: scim_transaction.h:47
String icon
Definition: scim_panel_common.h:57
void commit_string(int ic, const String &ic_uuid, const WideString &wstr) const
Commit a WideString to client application directly.
Definition: scim_event.h:1279
Definition: scim_event.h:109
Send/Receive Property.
Definition: scim_transaction.h:54
Definition: scim_event.h:1718
static __Uint16Pair __us_to_french_normal[]
Definition: scim_keyboard_layout_data.h:1331
Definition: scim_event.h:1187
Definition: scim_event.h:1140
Definition: scim_event.h:857
String get_factory_locales(const String &uuid) const
get the supported locales of an IMEngine factory.
virtual WideString get_credits() const
Return the credits information of the original IMEngineFactory object specified in contructor or by a...
void focus_out(int id) const
focus out a specific IMEngine instance.
Definition: scim_event.h:1975
Definition: scim_event.h:1218
Connection signal_connect_exception(SocketServerSlotSocket *slot)
Connect a slot to socket exception signal.
Definition: scim_event.h:458
static __Uint16Pair __icelandic_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:4113
Definition: scim_event.h:384
Definition: scim_event.h:323
virtual WideString get_authors() const =0
Get the authors information of this input method engine.
Definition: scim_event.h:1907
Definition: scim_event.h:452
BoundSlot5_6(Slot6< R, P1, P2, P3, P4, P5, P6 > *slot, P6 p6)
Definition: scim_bind.h:248
static __Uint16Pair __french_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1469
Definition: scim_event.h:114
Definition: scim_event.h:993
void beep()
Generate a short beep.
Definition: scim_event.h:1826
Definition: scim_event.h:505
static __Uint16Pair __portuguese_brazil_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2699
String scim_get_default_socket_frontend_address()
Get the default socket address of SocketFrontEnd.
SlotType * slot()
Definition: scim_signals.h:408
static __Uint16Pair __us_to_belgian_normal[]
Definition: scim_keyboard_layout_data.h:32
const int SCIM_TRANS_CMD_REGISTER_PROPERTIES
Definition: scim_trans_commands.h:489
bool unload()
Unload the module.
Definition: scim_event.h:1388
Definition: scim_event.h:1048
Definition: scim_event.h:534
Connection signal_connect_update_factory_info(PanelAgentSlotFactoryInfo *slot)
Signal: Update factory information.
String get_error_message() const
Get the message of the last occurred error.
Definition: scim_event.h:1959
Definition: scim_event.h:1838
Definition: scim_event.h:1759
Definition: scim_event.h:1526
Definition: scim_event.h:461
Definition: scim_event.h:918
Definition: scim_event.h:789
Connection connect(SlotType *slot)
Definition: scim_signals.h:815
int get_error_number() const
Get the number of the last occurred error.
Definition: scim_imengine.h:58
Definition: scim_event.h:1742
Definition: scim_event.h:1352
T * get() const
Definition: scim_pointer.h:178
Definition: scim_event.h:1312
static void disable_debug_by_name(const String &debug)
Disable the debug type indicated by the given name.
virtual WideString inverse_query(const WideString &str)
Get the original key string of a composed string by calling the same method of the original IMEngineF...
Definition: scim_event.h:1766
Definition: scim_event.h:1564
virtual void lookup_table_page_down()
Flip the lookup table to the next page.
ConfigPointer(* ConfigModuleCreateConfigFunc)()
The prototype of configure object creation function in config modules.
Definition: scim_config_module.h:59
Connection signal_connect_trigger_property(HelperAgentSlotString *slot)
Connect a slot to Helper trigger property signal.
Definition: scim_event.h:1472
bool is_super_down() const
Check if the Super key is pressed down.
Definition: scim_event.h:2196
Definition: scim_event.h:1083
void lookup_table_page_up(int id) const
Let a specific IMEngine instance flip its lookup table to the previous page.
Definition: scim_event.h:852
Definition: scim_event.h:911
Definition: scim_event.h:102
Definition: scim_event.h:798
Definition: scim_event.h:304
int get_current_page_size() const
Get current page size,.
Definition: scim_event.h:542
Connection signal_connect_register_helper_properties(PanelAgentSlotIntPropertyList *slot)
Signal: Register properties of a helper.
bool is_referenced() const
Definition: scim_event.h:1674
Definition: scim_event.h:1022
Definition: scim_event.h:345
Definition: scim_event.h:189
Definition: scim_event.h:665
static __Uint16Pair __hungarian_to_us_shift[]
Definition: scim_keyboard_layout_data.h:2191
Definition: scim_event.h:948
int get_match_result(void) const
Get the match result.
Definition: scim_event.h:224
String get_next_factory(const String &language, const String &encoding, const String &cur_uuid) const
Get the next IMEngineFactory for a specific language and encoding.
Definition: scim_event.h:471
Definition: scim_event.h:1426
Defines scim::PanelClient and it's related types.
bool valid() const
Check if a module is loaded and initialized successfully.
Definition: scim_event.h:1903
static __Uint16Pair __us_to_icelandic_shift[]
Definition: scim_keyboard_layout_data.h:4093
void close()
Close the client.
Definition: scim_event.h:1917
const int SCIM_TRANS_CMD_CONTROLLER_REQUEST_FACTORY_MENU
Definition: scim_trans_commands.h:565
Definition: scim_event.h:1853
const int SCIM_TRANS_CMD_HELPER_MANAGER_RUN_HELPER
Definition: scim_trans_commands.h:562
virtual bool reload()
Reload the configurations from storage.
uint16_t uint16
Definition: scim_types.h:44
virtual bool write(const String &key, const String &value)
Write a string to the given key.
const int SCIM_TRANS_CMD_UPDATE_CLIENT_CAPABILITIES
Definition: scim_trans_commands.h:473
Definition: scim_event.h:1737
Definition: scim_event.h:1534
Definition: scim_event.h:1049
Definition: scim_event.h:786
Definition: scim_event.h:408
unsigned int(* IMEngineModuleInitFunc)(const ConfigPointer &config)
Initialize a IMEngine Module.
Definition: scim_imengine_module.h:49
bool is_mod4_down() const
Check if the mod4 key is pressed down.
Definition: scim_event.h:2279
bool send()
Send the transaction to Panel.
Slot5< void, const HelperAgent *, int, const String &, int, int > HelperAgentSlotIntInt
Definition: scim_helper.h:132
Definition: scim_event.h:1023
Definition: scim_event.h:123
SignalSlot6(T *signal, PF function)
Definition: scim_slot.h:1058
Base class template for slots passing three arguments of type P1, P2 and P3, and returning a value of...
Definition: scim_slot.h:497
Definition: scim_event.h:1800
Definition: scim_event.h:117
virtual void commit_string(int id, const WideString &str)
commit a string to client for an IMEngine instance.
Definition: scim_event.h:1918
static __Uint16Pair __us_to_slovak_qwerty_caps[]
Definition: scim_keyboard_layout_data.h:3181
Definition: scim_event.h:1511
Definition: scim_event.h:1164
This class hold all FrontEnd specific Hotkeys, such as trigger keys, on/off keys, etc.
Definition: scim_hotkey.h:263
Defines scim::FilterFactoryBase and scim::FilterInstanceBase interfaces.
Definition: scim_event.h:1680
Definition: scim_event.h:1296
An exception class to hold Config related errors.
Definition: scim_config_base.h:49
friend class FrontEndBaseImpl
Definition: scim_frontend.h:76
Definition: scim_event.h:1395
Definition: scim_event.h:1783
bool valid(void) const
Check if this PanelAgent is initialized correctly and ready to run.
Definition: scim_event.h:1667
Definition: scim_event.h:713
IMEngineFactoryPointer create_factory(unsigned int engine) const
Create an object for an IMEngine factory.
static __KeyCodeMap __normal_map[]
Definition: scim_keyboard_layout_data.h:4155
Definition: scim_event.h:1668
Definition: scim_event.h:85
Definition: scim_event.h:829
Definition: scim_event.h:1214
virtual WideString get_credits() const
Get the credits information of this input method engine.
static __Uint16Pair __portuguese_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2811
Definition: scim_event.h:1128
bool is_connected() const
Return whether this HelperAgent has been connected to a Panel.
virtual void hide_aux_string(int id)
hide aux string area for an IMEngine instance.
Definition: scim_event.h:861
Definition: scim_event.h:428
Definition: scim_event.h:56
Definition: scim_event.h:1827
IMEngineFactoryPointer get_next_factory(const String &language, const String &encoding, const String &cur_uuid) const
Get the next IMEngineFactory for a specific language and encoding.
virtual WideString get_name() const
Get the name of this input method engine.
Definition: scim_event.h:257
Definition: scim_event.h:70
Slot2< void, IMEngineInstanceBase *, const KeyEvent & > IMEngineSlotKeyEvent
Definition: scim_imengine.h:110
Definition: scim_event.h:1237
Definition: scim_event.h:1607
Definition: scim_event.h:225
Definition: scim_event.h:610
Definition: scim_event.h:1589
static __Uint16Pair __us_to_norwegian_shift[]
Definition: scim_keyboard_layout_data.h:2596
bool insert_external_socket(const Socket &sock)
Insert an external socket into the main loop.
Definition: scim_event.h:1114
Definition: scim_event.h:1971
static __Uint16Pair __us_to_belgian_shift[]
Definition: scim_keyboard_layout_data.h:148
void send_helper_event(int icid, const String &helper_uuid, const Transaction &trans)
Definition: scim_event.h:1262
Definition: scim_event.h:1415
Definition: scim_imengine.h:56
Definition: scim_event.h:1372
Definition: scim_event.h:920
static __Uint16Pair __icelandic_to_us_normal[]
Definition: scim_keyboard_layout_data.h:4025
Definition: scim_event.h:489
virtual void beep(int id)
generate a short beep.
Definition: scim_event.h:295
Definition: scim_event.h:333
Definition: scim_event.h:1591
Send/Receive AttributeList.
Definition: scim_transaction.h:52
Definition: scim_event.h:1379
Definition: scim_event.h:190
Definition: scim_event.h:1909
const int SCIM_TRANS_CMD_PANEL_SEND_KEY_EVENT
Definition: scim_trans_commands.h:553
Definition: scim_event.h:1524
Definition: scim_event.h:1192
virtual void block()
Block signal emission to the slot until unblock is called.
static __Uint16Pair __portuguese_brazil_us_accents_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2753
virtual void trigger_property(const String &property)
Trigger a property.
const int SCIM_TRANS_CMD_LOOKUP_TABLE_PAGE_DOWN
Definition: scim_trans_commands.h:467
Slot4< void, int, const String &, const String &, const Transaction & > PanelClientSlotStringStringTransaction
Definition: scim_panel_client.h:59
MethodSlot0(T *object, PMF function)
Definition: scim_slot.h:130
String uuid
The UUID.
Definition: scim_filter.h:62
Definition: scim_event.h:1269
Definition: scim_event.h:1359
Definition: scim_event.h:231
Definition: scim_event.h:1254
Definition: scim_event.h:261
Definition: scim_event.h:1147
virtual String get_uuid() const =0
Get the UUID of this input method engine.
size_t find_hotkeys(const String &uuid, KeyEventList &keys) const
Find all Hotkeys binded to a specific IMEngine UUID.
definition of IConvert related classes.
virtual R call() const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:204
Definition: scim_event.h:1974
void hide_aux_string()
Hide the aux string area.
Definition: scim_event.h:1845
Definition: scim_event.h:774
Definition: scim_event.h:1422
Definition: scim_event.h:1581
Slot3< void, IMEngineInstanceBase *, const String &, const Transaction & > IMEngineSlotStringTransaction
Definition: scim_imengine.h:122
Definition: scim_event.h:1258
virtual void filter_hide_lookup_table()
Definition: scim_event.h:507
virtual void move_preedit_caret(unsigned int pos)
Move the preedit caret in the preedit string.
static __Uint16Pair __us_to_estonian_caps_shift[]
Definition: scim_keyboard_layout_data.h:1150
static __Uint16Pair __german_to_us_shift[]
Definition: scim_keyboard_layout_data.h:1883
Definition: scim_event.h:359
Definition: scim_event.h:1484
Definition: scim_event.h:1246
Definition: scim_event.h:531
Definition: scim_event.h:1748
const int SCIM_TRANS_CMD_LOAD_FILE
Request the socket server to load and send a file to the client.
Definition: scim_trans_commands.h:410
Definition: scim_event.h:1735
FunctionSlot1(PF function)
Definition: scim_slot.h:236
void update_aux_string(const WideString &str, const AttributeList &attrs=AttributeList())
Update the content of the aux string,.
Definition: scim_event.h:1977
virtual void show_aux_string(int id)
show aux string area for an IMEngine instance.
static __Uint16Pair __us_to_german_deadkeys_caps_shift[]
Definition: scim_keyboard_layout_data.h:1804
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:917
virtual void unblock()=0
Unblock the slot so signal emmissions can be received.
Definition: scim_event.h:1818
Definition: scim_event.h:1421
Slot1< void, const String & > PanelAgentSlotString
Definition: scim_panel_agent.h:55
Definition: scim_event.h:1657
Definition: scim_event.h:1727
Connection signal_connect_move_preedit_caret(PanelClientSlotInt *slot)
Signal: move preedit caret.
Definition: scim_event.h:523
Definition: scim_event.h:1709
static __Uint16Pair __italian_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2381
virtual R call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const
Calls the signal handler connected to this slot.
Definition: scim_slot.h:1060
Definition: scim_event.h:681
Definition: scim_event.h:1315
static __Uint16Pair __swedish_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:3785
DummyIMEngineInstance(DummyIMEngineFactory *factory, const String &encoding, int id=-1)
Definition: scim_event.h:198
Definition: scim_event.h:668
virtual bool reload()=0
Reload the configurations from storage.
void stop_helper(const String &helper_uuid)
Stop a Client Helper process which was started by start_helper.
Definition: scim_event.h:1874
static __Uint16Pair __slovak_qwerty_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3159
Definition: scim_event.h:1887
Definition: scim_event.h:958
Slot5< R, P1, P2, P3, P4, P5 > SlotType
Function signature for handlers connecting to the signal.
Definition: scim_signals.h:743
virtual ~ComposeKeyFactory()
void scim_uint16tobytes(unsigned char *bytes, uint16 n)
Convert an uint16 variable into a sequence of bytes.
Definition: scim_utility.h:193
~Exception()
Definition: scim_exception.h:50
FilterFactoryPointer create_filter(unsigned int index) const
Create an object for a Filter factory.
Definition: scim_event.h:869
ConfigModule()
Default constructor.
Definition: scim_event.h:348
#define SCIM_PROPERTY_ACTIVE
Definition: scim_property.h:37
KeyEvent(uint32 c=0, uint16 m=0, uint16 l=0)
Default constructor.
Definition: scim_event.h:2100
Definition: scim_event.h:895
bool add_factory(const IMEngineFactoryPointer &factory)
static __Uint16Pair __french_to_us_normal[]
Definition: scim_keyboard_layout_data.h:1303
Pointer< BackEndBase > BackEndPointer
Definition: scim_backend.h:180
Definition: scim_event.h:1290
String scim_socket_accept_connection(uint32 &key, const String &server_types, const String &client_types, const Socket &socket, int timeout=-1)
Helper function to accept a connection request from a socket client with a standard hand shake protoc...
Definition: scim_event.h:1875
void update_lookup_table(int icid, const LookupTable &table)
IMEngineFactoryPointer(* IMEngineModuleCreateFactoryFunc)(unsigned int engine)
Create a factory instance for an engine,.
Definition: scim_imengine_module.h:62
String name
Definition: scim_panel_common.h:55
Definition: scim_event.h:849
Definition: scim_event.h:344
Definition: scim_event.h:655
Definition: scim_event.h:58
Definition: scim_event.h:828
Definition: scim_event.h:484
bool lookup_table_page_up(void)
Let the focused IMEngineInstance object flip the LookupTable to previous page.
Definition: scim_event.h:740
Definition: scim_event.h:950
Definition: scim_event.h:1636
Definition: scim_event.h:1562
static __Uint16Pair __slovak_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2915
Definition: scim_event.h:1897
static __Uint16Pair __belgian_to_us_caps[]
Definition: scim_keyboard_layout_data.h:61
Definition: scim_event.h:1583
Definition: scim_event.h:664
Definition: scim_event.h:230
Definition: scim_event.h:1263
Definition: scim_event.h:1110
virtual void focus_out()
Focus out this engine instance.
Definition: scim_event.h:1898
Definition: scim_event.h:1706
String get_default_encoding() const
Get the default encoding of this input method engine.
Definition: scim_event.h:1902
Definition: scim_event.h:1841
Definition: scim_event.h:954
Definition: scim_event.h:1384
Definition: scim_event.h:1536
Definition: scim_event.h:870
const int SCIM_TRANS_CMD_PANEL_UPDATE_FACTORY_INFO
Definition: scim_trans_commands.h:539
bool get_command(int &cmd)
Get a command from current read position.
virtual void reset()
Reset this engine instance.
Definition: scim_event.h:441
Definition: scim_event.h:889
bool valid() const
Check if a module is loaded and initialized successfully.
Definition: scim_event.h:500
Definition: scim_event.h:594
Definition: scim_event.h:634
virtual R call() const
Definition: scim_slot.h:99
Definition: scim_event.h:935
Definition: scim_event.h:1139
Definition: scim_event.h:390
Definition: scim_event.h:203
int utf8_mbtowc(ucs4_t *pwc, const unsigned char *src, int src_len)
Convert an utf8 char sequence to ucs4.
R emit(P1 p1, P2 p2, P3 p3, P4 p4)
Definition: scim_signals.h:649
const int SCIM_TRANS_CMD_NEW_INSTANCE
Definition: scim_trans_commands.h:499
Slot0< R > * slot(R(*function)())
Definition: scim_slot.h:114
static __Uint16Pair __turkish_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3887
static __Uint16Pair __us_to_german_deadkeys_shift[]
Definition: scim_keyboard_layout_data.h:1758
void update_screen(int icid, int screen)
bool blocked() const
Returns true if the slot is blocked.
Definition: scim_signals.h:66
virtual void lookup_table_page_up()
Flip the lookup table to the previous page.
String get_key_string() const
Get the string of this key event.
Definition: scim_event.h:1666
bool is_key_press() const
Check if it's a key press event.
Definition: scim_event.h:2211
static __Uint16Pair __portuguese_brazil_to_us_normal[]
Definition: scim_keyboard_layout_data.h:2659
Definition: scim_event.h:1761
int scim_get_locale_maxlen(const String &locale)
Get the max length of the multibyte char of a locale.
Connection signal_connect_reload_config(PanelClientSlotVoid *slot)
Signal: reload configuration.
WideString get_factory_credits(const String &uuid) const
get the credits info of an IMEngine factory.
virtual bool set_encoding(const String &encoding)
Set the working encoding for this instance.
R operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const
Function operator; Calls call().
Definition: scim_slot.h:935
Definition: scim_event.h:405
Definition: scim_event.h:635
Definition: scim_event.h:1504
Definition: scim_event.h:1019
Definition: scim_event.h:1298
Definition: scim_event.h:1133
Definition: scim_event.h:639
Definition: scim_event.h:915
Definition: scim_event.h:893
Define scim::ConfigModule class for manipulating the config modules.
Definition: scim_event.h:1430
Definition: scim_event.h:742
static __Uint16Pair __portuguese_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:2875
Definition: scim_event.h:1715
PanelError(const String &what_arg)
Definition: scim_panel_common.h:45
Definition: scim_event.h:1872
virtual void attach_imengine_factory(const IMEngineFactoryPointer &orig)
Attach an IMEngineFactory object to this filter.
DebugOutput(uint32 mask=SCIM_DEBUG_AllMask, uint32 verbose=1)
Constructor.
Definition: scim_event.h:1264
Definition: scim_event.h:503
Definition: scim_event.h:1791
Definition: scim_event.h:301
Definition: scim_event.h:1843
Definition: scim_event.h:93
Definition: scim_event.h:1976
Definition: scim_event.h:403
Definition: scim_event.h:647
Definition: scim_event.h:187
Slot1< void, int > PanelAgentSlotInt
Definition: scim_panel_agent.h:52
Definition: scim_event.h:931
Definition: scim_event.h:1082
static __Uint16Pair __us_to_estonian_caps[]
Definition: scim_keyboard_layout_data.h:1075
TransactionReader()
Default constructor.
Slot3< void, const HelperAgent *, int, const String & > HelperAgentSlotVoid
Definition: scim_helper.h:120
Definition: scim_event.h:1374
Definition: scim_event.h:193
Defines scim::HelperModule and it's related types.
Definition: scim_event.h:1240
virtual IMEngineInstancePointer create_instance(const String &encoding, int id=-1)
Create an IMEngineInstance object of the original IMEngineFactory object specified in constructor or ...
Definition: scim_event.h:906
Definition: scim_event.h:890
bool request_help(void)
Request help information from the focused IMEngineInstance object.
void scim_global_config_write(const String &key, const String &val)
Write a string value into the user global config.
Definition: scim_event.h:1243
Definition: scim_event.h:1012
Definition: scim_event.h:1174
Definition: scim_event.h:1487
Definition: scim_event.h:703
static __Uint16Pair __uk_to_us_caps[]
Definition: scim_keyboard_layout_data.h:3985
Definition: scim_event.h:1481
Definition: scim_event.h:1272
static __Uint16Pair __dvorak_to_us_caps[]
Definition: scim_keyboard_layout_data.h:823
Definition: scim_event.h:1756
const int SCIM_TRANS_CMD_PANEL_REGISTER_HELPER
Definition: scim_trans_commands.h:551
bool replace_instance(int si_id, const String &sf_uuid)
replace an IMEngine instance by a new instance created by another factory.
Definition: scim_event.h:136
Definition: scim_event.h:1968
bool valid() const
Test if the server is valid.
const int SCIM_TRANS_CMD_UPDATE_PREEDIT_STRING
Definition: scim_trans_commands.h:484
Definition: scim_event.h:1509
bool get_surrounding_text(WideString &text, int &cursor, int maxlen_before=-1, int maxlen_after=-1)
Retrieves context around the insertion point.
Definition: scim_slot.h:337
bool(* HelperModuleGetHelperInfoFunc)(unsigned int idx, HelperInfo &info)
Get the information of a Helper.
Definition: scim_helper_module.h:68
virtual R call(P1 p1, P2 p2, P3 p3) const
Definition: scim_slot.h:526
String get_instance_encoding(int id) const
get the working encoding of an IMEngine instance.
Definition: scim_event.h:467
Definition: scim_event.h:1830
Definition: scim_event.h:1595
Definition: scim_event.h:191
Definition: scim_event.h:154
Definition: scim_signals.h:82
T & operator*() const
Definition: scim_pointer.h:153
Definition: scim_event.h:1558
Definition: scim_event.h:576
Definition: scim_event.h:1334
The accessory class to write a Helper object.
Definition: scim_helper.h:143
Definition: scim_imengine.h:60
Definition: scim_event.h:227
Definition: scim_event.h:652
const int SCIM_TRANS_CMD_GET_FACTORY_HELP
Definition: scim_trans_commands.h:507
Definition: scim_event.h:476
Converts a slot taking four arguments into a slot taking three arguments.
Definition: scim_bind.h:168
Definition: scim_event.h:1634
bool unload()
Unload the IMEngine Module.
Pointer< To > cast_const(const Pointer< From > &from)
Definition: scim_pointer.h:248
static __Uint16Pair __swedish_to_us_normal[]
Definition: scim_keyboard_layout_data.h:3695
FilterFactoryPointer(* FilterModuleCreateFilterFunc)(unsigned int index)
Create an object of this FilterFactory class.
Definition: scim_filter_module.h:78
bool select_candidate(uint32 item)
Let the focused IMEngineInstance object select a candidate in current lookup table.
Definition: scim_event.h:1879
Definition: scim_event.h:1789
WideString get_instance_credits(int id) const
get the credits info of an IMEngine instance.
unsigned int get_value() const
Get the value of this attribute.
Definition: scim_attribute.h:126
Definition: scim_event.h:201
Definition: scim_event.h:119
Definition: scim_event.h:987
Connection signal_connect_process_helper_event(PanelClientSlotStringStringTransaction *slot)
Signal: process helper event.
KeyCode
Enum values of all valid key codes.
Definition: scim_event.h:82
Definition: scim_event.h:1568
Definition: scim_event.h:376
Definition: scim_event.h:667
static __Uint16Pair __us_to_danish_normal[]
Definition: scim_keyboard_layout_data.h:631
Definition: scim_event.h:282
definition of FrontEndModule related classes.
Socket client class.
Definition: scim_socket.h:488
uint64_t uint64
Definition: scim_types.h:46
Definition: scim_event.h:1501
Definition: scim_event.h:427
Definition: scim_event.h:1057
void update_preedit_caret(int caret)
Update the preedit caret position in the preedit string.
Definition: scim_event.h:1071
virtual String get_uuid() const
Return the uuid of the original IMEngineFactory object specified in contructor or by attach_imengine_...
int scim_get_helper_module_list(std::vector< String > &mod_list)
Get a name list of currently available Helper modules.
Definition: scim_event.h:477
bool is_a_leaf_of(const Property &node) const
Test if this property is a leaf of another one.
Definition: scim_property.h:178
size_t find_hotkeys(int id, KeyEventList &keys) const
Find all Hotkeys binded to a specific id.
Definition: scim_event.h:1157
Definition: scim_event.h:875
Definition: scim_event.h:1287
Definition: scim_event.h:1163
static __Uint16Pair __czech_to_us_shift[]
Definition: scim_keyboard_layout_data.h:331
unsigned int get_length() const
Get the length of this attribute.
Definition: scim_attribute.h:138
static __Uint16Pair __us_to_german_deadkeys_caps[]
Definition: scim_keyboard_layout_data.h:1721
Definition: scim_event.h:558
Definition: scim_event.h:1980
static __Uint16Pair __french_switzerland_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1629
virtual bool filter_get_surrounding_text(WideString &text, int &cursor, int maxlen_before=-1, int maxlen_after=-1)
Definition: scim_event.h:406
Connection signal_connect_update_spot_location(PanelAgentSlotIntInt *slot)
Signal: Update spot location.
Definition: scim_event.h:618
static __Uint16Pair __us_to_czech_qwerty_caps_shift[]
Definition: scim_keyboard_layout_data.h:595
Definition: scim_event.h:528
Definition: scim_event.h:1146
Definition: scim_event.h:1688
Definition: scim_event.h:808
Definition: scim_event.h:1721
Definition: scim_event.h:1508
void put_data(uint32 val)
Store a uint32 value into this transaction.
Definition: scim_event.h:1029
Definition: scim_event.h:1109
Definition: scim_event.h:1468
Definition: scim_event.h:1510
Definition: scim_event.h:817
Definition: scim_event.h:572
R operator()(P1 p1, P2 p2, P3 p3, P4 p4) const
Function operator; Calls call().
Definition: scim_slot.h:650
virtual WideString get_name() const
Return the name of the original IMEngineFactory object specified in contructor or by attach_imengine_...
Definition: scim_event.h:485
Definition: scim_event.h:1850
Definition: scim_event.h:1355
void set_max_clients(int max_clients)
Set the max number of clients.
String uuid
Definition: scim_helper.h:101
Definition: scim_event.h:421
Slot2< void, IMEngineInstanceBase *, const LookupTable & > IMEngineSlotLookupTable
Definition: scim_imengine.h:113
Definition: scim_event.h:118
Definition: scim_event.h:1921
Definition: scim_event.h:1679
Connection signal_connect_unlock(PanelAgentSlotVoid *slot)
Signal: Unlock the exclusive lock for this PanelAgent.
Definition: scim_event.h:327
Definition: scim_event.h:604
Definition: scim_event.h:1584
Definition: scim_event.h:1641
Definition: scim_event.h:1367
static __Uint16Pair __us_to_german_swiss_caps[]
Definition: scim_keyboard_layout_data.h:2017
static __KeyCodeMap __caps_shift_map[]
Definition: scim_keyboard_layout_data.h:4413
const int SCIM_TRANS_CMD_HELPER_ATTACH_INPUT_CONTEXT
Definition: scim_trans_commands.h:557
virtual WideString get_credits() const =0
Get the credits information of this input method engine.
Definition: scim_event.h:1236
virtual void update_aux_string(int id, const WideString &str, const AttributeList &attrs)
update the content of aux string for an IMEngine instance.
void emit(P1 p1, P2 p2, P3 p3)
Definition: scim_signals.h:590
Definition: scim_event.h:175
Connection connect(SlotType *slot)
Definition: scim_signals.h:580
Definition: scim_event.h:1381
Definition: scim_event.h:1416
void * symbol(const String &sym) const
bool operator==(const Pointer< T1 > &t1, const Pointer< T2 > &t2)
Definition: scim_pointer.h:227
uint32 ucs4_t
Definition: scim_types.h:51
Definition: scim_event.h:1105
Definition: scim_event.h:1475
IMEngineFactoryPointer get_previous_factory(const String &language, const String &encoding, const String &cur_uuid) const
Get the previous IMEngineFactory for a specific language and encoding.
const int SCIM_TRANS_CMD_GET_FACTORY_NAME
Definition: scim_trans_commands.h:504
void push_key_event(const KeyEvent &key)
Push a KeyEvent into the queue.
Definition: scim_event.h:1378
Definition: scim_event.h:997
Definition: scim_hotkey.h:256
static __Uint16Pair __estonian_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:1129
Definition: scim_event.h:1787
Definition: scim_event.h:1476
Definition: scim_event.h:979
Definition: scim_event.h:1158
static __Uint16Pair __spanish_latin_america_to_us_shift[]
Definition: scim_keyboard_layout_data.h:3611
Definition: scim_event.h:797
bool scim_string_to_key_list(KeyEventList &keylist, const String &str)
Covnert a string to a set of KeyEvents.
Definition: scim_event.h:438
Definition: scim_event.h:602
void operator()(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
Definition: scim_signals.h:839
Definition: scim_event.h:1717
Definition: scim_event.h:1093
Definition: scim_event.h:108
static __Uint16Pair __danish_to_us_caps_shift[]
Definition: scim_keyboard_layout_data.h:709
Definition: scim_slot.h:480
Definition: scim_event.h:424
Definition: scim_event.h:1033
Definition: scim_event.h:1183
Definition: scim_event.h:721
Definition: scim_signals.h:223
Definition: scim_event.h:629
Definition: scim_event.h:919
Definition: scim_event.h:62
BoundSlot0_1(Slot1< R, P1 > *slot, P1 p1)
Definition: scim_bind.h:63
SignalSlot0(T *signal, PF function)
Definition: scim_slot.h:202
Definition: scim_event.h:1266
This class hold all Hotkeys for each IMEngines.
Definition: scim_hotkey.h:148
Connection signal_connect_update_preedit_caret(IMEngineSlotInt *slot)
virtual bool process_key_event(const KeyEvent &key)=0
Process a key event.
Definition: scim_event.h:1282
Definition: scim_event.h:637
Definition: scim_event.h:1557
Definition: scim_compose_key.h:63
String get_all_locales() const
Get a list of all locales supported by all IMEngineFactories.
Definition: scim_event.h:990
Definition: scim_event.h:334
Slot0< R > * bind(Slot1< R, P1 > *s, P1 p1)
Definition: scim_bind.h:85
#define N_(String)
Definition: scim_private.h:43
Connection signal_connect_show_aux_string(PanelAgentSlotVoid *slot)
Signal: Show aux string.
static __Uint16Pair __us_to_norwegian_normal[]
Definition: scim_keyboard_layout_data.h:2539
bool is_mod5_down() const
Check if the mod5 key is pressed down.
Definition: scim_event.h:2286
virtual IMEngineInstancePointer create_instance(const String &encoding, int id=-1)
Create a new IMEngineInstance object.
const int SCIM_TRANS_CMD_PANEL_REQUEST_FACTORY_MENU
Definition: scim_trans_commands.h:547
Definition: scim_event.h:1810
Definition: scim_event.h:811
Definition: scim_event.h:1628
Definition: scim_event.h:592
FilterInstanceBase(FilterFactoryBase *factory, const IMEngineInstancePointer &orig_inst)
Constructor.
String scim_global_config_read(const String &key, const String &defVal=String())
Read a string value from the global configuration file.
Definition: scim_event.h:202
Definition: scim_event.h:758
Definition: scim_event.h:1011
void fix_page_size(bool fixed=true)
Set the page size to be fixed, aka. prevent from being changed by FrontEnd.
static String serial_number()
Definition: scim_event.h:548
Definition: scim_event.h:1908
Definition: scim_event.h:616
Connection signal_connect_hide_aux_string(PanelAgentSlotVoid *slot)
Signal: Hide aux string.
void operator()(P1 p1, P2 p2)
Definition: scim_signals.h:488
virtual void select_candidate(unsigned int index)
Select a candidate in current lookup table.
Definition: scim_event.h:172
Connection signal_connect_register_helper(PanelAgentSlotIntHelperInfo *slot)
Signal: Register a helper object.
Definition: scim_event.h:1438
bool load(const String &name, const ConfigPointer &config)
Load a IMEngine Module by its name.
Reference counted base class interface.
TransactionDataType
Signature of all valid data types which can be store into transaction.
Definition: scim_transaction.h:43
static __Uint16Pair __icelandic_to_us_shift[]
Definition: scim_keyboard_layout_data.h:4073
Definition: scim_event.h:1286
static __Uint16Pair __german_to_us_caps[]
Definition: scim_keyboard_layout_data.h:1855
Definition: scim_event.h:856
void commit_string(const WideString &str)
Commit a string to the client application.
Send/Receive String.
Definition: scim_transaction.h:49
Definition: scim_event.h:1844
Definition: scim_event.h:1392
Definition: scim_event.h:456
Definition: scim_event.h:571
Definition: scim_event.h:66
Definition: scim_event.h:1385
bool bind(const SocketAddress &addr) const
Bind a socket to an address, used by SocketServer.
bool process_key_event(int id, const KeyEvent &key) const
process a key event using specific IMEngine instance.
Definition: scim_event.h:414
Definition: scim_event.h:383
Definition: scim_event.h:1096
Connection signal_connect_show_preedit_string(IMEngineSlotVoid *slot)
Definition: scim_event.h:1678
Definition: scim_event.h:1650
uint32 option
Definition: scim_helper.h:105
Definition: scim_event.h:1159
Definition: scim_event.h:1354
Definition: scim_event.h:745
virtual String get_name() const
Return the name of this configuration module.
Definition: scim_event.h:506
Definition: scim_event.h:739
Definition: scim_event.h:892
virtual void focus_in()
Focus in this engine instance.
const uint32 SCIM_HELPER_STAND_ALONE
Helper option indicates that it's a stand alone Helper.
Definition: scim_helper.h:59
Send/Receive vector<uint32>.
Definition: scim_transaction.h:56
Definition: scim_event.h:738
Definition: scim_event.h:1772
Definition: scim_event.h:234
const String & get_key() const
Get the key of this property.
Definition: scim_property.h:119
Definition: scim_event.h:1493
Definition: scim_event.h:1847
Definition: scim_event.h:361
bool filter_event()
Filter the events sent from Panel daemon.
Definition: scim_event.h:283
WideString utf8_read_wstring(std::istream &is, ucs4_t delim=(ucs4_t) '\n', bool rm_delim=true)
Read a wide string from istream.
static __KeyCodeMap __caps_invert_map[]
Definition: scim_keyboard_layout_data.h:4284
static __Uint16Pair __italian_to_us_caps[]
Definition: scim_keyboard_layout_data.h:2315
const int SCIM_TRANS_CMD_PANEL_EXIT
Definition: scim_trans_commands.h:534
Definition: scim_event.h:1026