1 #ifndef _GSB_DATA_CURRENCY_LINK_H 2 #define _GSB_DATA_CURRENCY_LINK_H (1) 3 4 5 /* START_INCLUDE_H */ 6 #include "gsb_real.h" 7 /* END_INCLUDE_H */ 8 9 /* Columns numbers for links list */ 10 enum LinkListColumns { 11 LINK_1_COLUMN = 0, 12 LINK_CURRENCY1_COLUMN, 13 LINK_EQUAL_COLUMN, 14 LINK_EXCHANGE_COLUMN, 15 LINK_CURRENCY2_COLUMN, 16 LINK_DATE_COLUMN, 17 LINK_INVALID_COLUMN, 18 LINK_NUMBER_COLUMN, 19 LINK_BACKGROUND_COLOR, 20 NUM_LINKS_COLUMNS 21 }; 22 23 /* START_DECLARATION */ 24 GsbReal gsb_data_currency_link_get_change_rate (gint currency_link_number); 25 GSList * gsb_data_currency_link_get_currency_link_list (void); 26 gint gsb_data_currency_link_get_first_currency (gint currency_link_number); 27 gboolean gsb_data_currency_link_get_fixed_link (gint currency_link_number); 28 gint gsb_data_currency_link_get_invalid_link (gint currency_link_number); 29 const gchar * gsb_data_currency_link_get_invalid_message (gint currency_link_number); 30 GDate * gsb_data_currency_link_get_modified_date (gint currency_link_number); 31 gint gsb_data_currency_link_get_no_currency_link (gpointer currency_link_ptr); 32 gint gsb_data_currency_link_get_second_currency (gint currency_link_number); 33 gboolean gsb_data_currency_link_init_variables (void); 34 gint gsb_data_currency_link_new (gint currency_link_number); 35 gboolean gsb_data_currency_link_remove (gint currency_link_number); 36 gint gsb_data_currency_link_search (gint currency_1, 37 gint currency_2); 38 gboolean gsb_data_currency_link_set_change_rate (gint currency_link_number, 39 GsbReal change_rate); 40 gboolean gsb_data_currency_link_set_first_currency (gint currency_link_number, 41 gint first_currency); 42 gboolean gsb_data_currency_link_set_fixed_link (gint currency_link_number, 43 gboolean fixed_link); 44 gboolean gsb_data_currency_link_set_modified_date (gint currency_link_number, 45 GDate *date); 46 gint gsb_data_currency_link_set_new_number (gint currency_link_number, 47 gint new_no_currency_link); 48 gboolean gsb_data_currency_link_set_second_currency (gint currency_link_number, 49 gint second_currency); 50 /* END_DECLARATION */ 51 #endif 52