#ifndef _KOLE_PROPERTY_H
#define _KOLE_PROPERTY_H

#include <koinput.h>
#include <le-options.h>

typedef struct _KOLE_property KOLE_property;
KOLE_property *leproperty_init ();
int leproperty_get_input_mode (KOLE_property *pp);
void leproperty_set_input_mode (KOLE_property *pp, INPUT_MODE_T imode);
int leproperty_get_keyboard (KOLE_property *pp);
void leproperty_set_keyboard (KOLE_property *pp, KEYBOARD_LAYOUT_T k);
int leproperty_get_charset (KOLE_property *pp);
void leproperty_set_charset (KOLE_property *pp, OPTION_CHARSET c);
int leproperty_get_deletion (KOLE_property *pp);
void leproperty_set_deletion (KOLE_property *pp, OPTION_DELETION d);
int leproperty_get_commit (KOLE_property *pp);
void leproperty_set_commit (KOLE_property *pp, OPTION_COMMIT_MODE c);
void leproperty_done (KOLE_property *p);

#endif /* _KOLE_PROPERTY_H */

