#include #include struct bshell_line_ed_history_p { }; static void init(fx_object *obj, void *priv) { } static void fini(fx_object *obj, void *priv) { } FX_TYPE_CLASS_BEGIN(bshell_line_ed_history) FX_TYPE_VTABLE_INTERFACE_BEGIN(fx_object, FX_TYPE_OBJECT) FX_INTERFACE_ENTRY(to_string) = NULL; FX_TYPE_VTABLE_INTERFACE_END(fx_object, FX_TYPE_OBJECT) FX_TYPE_VTABLE_INTERFACE_BEGIN( bshell_line_ed_plugin, BSHELL_TYPE_LINE_EDITOR_PLUGIN) FX_TYPE_VTABLE_INTERFACE_END(bshell_command, BSHELL_TYPE_COMMAND) FX_TYPE_CLASS_END(bshell_line_ed_history) FX_TYPE_DEFINITION_BEGIN(bshell_line_ed_history) FX_TYPE_ID(0xa08c98d5, 0x9512, 0x4a65, 0xaf57, 0x0daa8a943e52); FX_TYPE_NAME("bshell.runtime.line_editor.plugins.history"); FX_TYPE_EXTENDS(BSHELL_TYPE_LINE_EDITOR_PLUGIN); FX_TYPE_CLASS(bshell_line_ed_history_class); FX_TYPE_INSTANCE_INIT(init); FX_TYPE_INSTANCE_FINI(fini); FX_TYPE_INSTANCE_PRIVATE(struct bshell_line_ed_history_p); FX_TYPE_DEFINITION_END(bshell_line_ed_history)