#ifndef XARCHIVE_SRC_MYFC_GTK #define XARCHIVE_SRC_MYFC_GTK 1 #include"common.h" #include /* LOCAL DATA TYPES AND STRUCTURES */ typedef struct myfc_data { GtkListStore *ls; GtkTreeView *tv; GtkFileChooser *fc; } MyfcData; /* GLOBAL VARIABLES */ /* EXTERNAL FUNCTIONS */ /* LOCAL FUNCTIONS */ void myfc_add_foreach_func(gchar *fpath, GtkListStore *myfc_ls); void myfc_add_cb(GtkWidget *widget, MyfcData *myfcd); void myfc_remove_foreach_func(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, GList **rowref_list); void myfc_remove_cb(GtkWidget *widget, MyfcData *myfcd); GtkListStore * make_myfc_ls(void); GtkWidget * make_myfc_tree(GtkListStore *myfc_ls); gboolean view_popup_menu(GtkWidget *treeview, GdkEventButton *event, MyfcData *myfcd); GtkDialog * make_myfc(gchar *archive, GtkListStore *myfc_ls); #endif