23 #ifndef __FIREVISION_TOOLS_FIRESTATION_FUSE_TRANSFER_WIDGET_H_
24 #define __FIREVISION_TOOLS_FIRESTATION_FUSE_TRANSFER_WIDGET_H_
26 #include <fvutils/net/fuse_client_handler.h>
27 #include <core/utils/lock_queue.h>
44 const char* host_name,
61 uint32_t remote_version)
throw();
67 class LutRecord :
public Gtk::TreeModelColumnRecord
91 Gtk::TreeModelColumn<Glib::ustring> filename;
92 Gtk::TreeModelColumn<Glib::ustring> service_name;
93 Gtk::TreeModelColumn<Glib::ustring> host_name;
94 Gtk::TreeModelColumn<unsigned int> port;
95 Gtk::TreeModelColumn<Glib::ustring> lut_id;
96 Gtk::TreeModelColumn<unsigned int> width;
97 Gtk::TreeModelColumn<unsigned int> height;
98 Gtk::TreeModelColumn<unsigned int> depth;
99 Gtk::TreeModelColumn<unsigned int> bytes_per_cell;
100 Gtk::TreeModelColumn<LutRecord::LutType> type;
105 void update_local_lut_list();
106 void update_remote_lut_list();
108 void delete_clients();
109 void update_local_lut();
110 void update_remote_lut();
113 void local_lut_selected();
114 void remote_lut_selected();
120 std::string service_name;
121 std::string host_name;
130 ClientData m_cur_client;
132 Glib::Dispatcher m_signal_update_local_lut_list;
133 Glib::Dispatcher m_signal_update_remote_lut_list;
134 Glib::Dispatcher m_signal_get_lut_list;
135 Glib::Dispatcher m_signal_delete_client;
136 Glib::Dispatcher m_signal_update_remote_lut;
141 Gtk::Button* m_btn_upload;
142 Gtk::Button* m_btn_download;
143 Gtk::Image* m_img_local;
144 Gtk::Image* m_img_remote;
145 Gtk::TreeView* m_trv_local_lut_list;
146 Gtk::TreeView* m_trv_remote_lut_list;
148 Glib::RefPtr<Gtk::ListStore> m_remote_lut_list;
149 Glib::RefPtr<Gtk::ListStore> m_local_lut_list;
150 LutRecord m_lut_record;