3#ifndef GIRARA_INPUT_HISTORY_H
4#define GIRARA_INPUT_HISTORY_H
6#include <glib-object.h>
38#define GIRARA_TYPE_INPUT_HISTORY_IO (girara_input_history_io_get_type())
39#define GIRARA_INPUT_HISTORY_IO(obj) \
40 (G_TYPE_CHECK_INSTANCE_CAST((obj), GIRARA_TYPE_INPUT_HISTORY_IO, GiraraInputHistoryIO))
41#define GIRARA_IS_INPUT_HISTORY_IO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GIRARA_TYPE_INPUT_HISTORY_IO))
42#define GIRARA_INPUT_HISTORY_IO_GET_INTERFACE(obj) \
43 (G_TYPE_INSTANCE_GET_INTERFACE((obj), GIRARA_TYPE_INPUT_HISTORY_IO, GiraraInputHistoryIOInterface))
67 void (*
append)(GiraraInputHistory* history,
const char* input);
84 const char* (*next)(GiraraInputHistory* history,
const char* current_input);
93 const char* (*previous)(GiraraInputHistory* history,
const char* current_input);
102 void (*
reset)(GiraraInputHistory* history);
111#define GIRARA_TYPE_INPUT_HISTORY (girara_input_history_get_type())
112#define GIRARA_INPUT_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GIRARA_TYPE_INPUT_HISTORY, GiraraInputHistory))
113#define GIRARA_INPUT_HISTORY_CLASS(obj) \
114 (G_TYPE_CHECK_CLASS_CAST((obj), GIRARA_TYPE_INPUT_HISTORY, GiraraInputHistoryClass))
115#define GIRARA_IS_INPUT_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GIRARA_TYPE_INPUT_HISTORY))
116#define GIRARA_IS_INPUT_HISTORY_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((obj), GIRARA_TYPE_INPUT_HISTORY))
117#define GIRARA_INPUT_HISTORY_GET_CLASS(obj) \
118 (G_TYPE_INSTANCE_GET_CLASS((obj), GIRARA_TYPE_INPUT_HISTORY, GiraraInputHistoryClass))
const char * girara_input_history_previous(GiraraInputHistory *history, const char *current_input) GIRARA_VISIBLE
const char * girara_input_history_next(GiraraInputHistory *history, const char *current_input) GIRARA_VISIBLE
GiraraInputHistory * girara_input_history_new(GiraraInputHistoryIO *io) GIRARA_VISIBLE
GType girara_input_history_get_type(void) G_GNUC_CONST GIRARA_VISIBLE
void girara_input_history_reset(GiraraInputHistory *history) GIRARA_VISIBLE
GType girara_input_history_io_get_type(void) G_GNUC_CONST GIRARA_VISIBLE
void girara_input_history_append(GiraraInputHistory *history, const char *input) GIRARA_VISIBLE
void girara_input_history_io_append(GiraraInputHistoryIO *io, const char *input) GIRARA_VISIBLE
girara_list_t * girara_input_history_list(GiraraInputHistory *history) GIRARA_VISIBLE
girara_list_t * girara_input_history_io_read(GiraraInputHistoryIO *io) GIRARA_VISIBLE
void(* append)(GiraraInputHistory *history, const char *input)
void(* reset)(GiraraInputHistory *history)
GObjectClass parent_class
GTypeInterface parent_iface
void(* append)(GiraraInputHistoryIO *io, const char *input)
struct girara_list_s girara_list_t
struct girara_input_history_io_s GiraraInputHistoryIO