28 #ifndef _DATA_INTERPRETOR_H_
29 #define _DATA_INTERPRETOR_H_
52 #define H_DI_DISPLAYED FALSE
55 #define H_DI_BIG_ENDIAN 2
56 #define H_DI_MIDDLE_ENDIAN 4
57 #define H_DI_LITTLE_ENDIAN 8
This is the main structure.
Tabulation structure to be used in the GtkNoteBook of data_interpretor's window.
tab_t * add_new_tab_in_data_interpretor(GtkNotebook *notebook, guint index, const gchar *label, guint num_cols,...)
Adds a new tab in the data interpretor window.
void add_tab_in_data_interpretor(GtkNotebook *notebook, tab_t *tab)
gint di_get_stream_size(heraia_struct_t *main_struct)
Gets the stream_size (if any) from data interpretor's window.
gint di_get_selected_tab(heraia_struct_t *main_struct)
Gets the selected tab (if any) from data interpretor's notebook.
void add_new_row_to_tab(tab_t *tab, decode_generic_t *row)
Adds a row to a particular tab.
void di_set_endianness(heraia_struct_t *main_struct, gint endianness)
Sets the endianness as stated by the second parameter.
void refresh_data_interpretor_window(GtkWidget *hexwidget, gpointer data)
Refreshes the data interpretor window with the new values.
void di_set_stream_size(heraia_struct_t *main_struct, gint stream_size)
Sets the stream size (if possible) to data interpretor's notebook.
guint which_endianness(heraia_struct_t *main_struct)
Determines which endianness is selected that is to say which radio button is active in the window...
guint which_stream_size(heraia_struct_t *main_struct)
returns stream size as selected in the spin button
void data_interpretor_init_interface(heraia_struct_t *main_struct)
Inits the data interpretor structure and window with default values.
Basic way to have as many as we want decoding functions corresponding to one label.
void di_set_selected_tab(heraia_struct_t *main_struct, gint selected_tab)
Sets the selected tab (if possible) to data interpretor's notebook.
gint di_get_endianness(heraia_struct_t *main_struct)
Gets the endianness as selected in the radio group button.