I'd like to be able to export/import my global configuration to/from FCL. My component doesn't have any instance configuration data (ie. doesn't implement get/set_config). I've implemented my dataset:
class my_dataset : public cui::fcl::dataset {
public:
void get_name (pfc::string_base & p_out) const { p_out = "My Scripts"; }
const GUID & get_guid () const { return my_dataset_guid; }
const GUID & get_group () const { return cui::fcl::groups::title_scripts; }
void get_data (stream_writer * p_writer, t_uint32 type, cui::fcl::t_export_feedback & feedback, abort_callback & p_abort) const {}
void set_data (stream_reader * p_reader, t_size size, t_uint32 type, cui::fcl::t_import_feedback & feedback, abort_callback & p_abort) {}
};
static cui::fcl::dataset_factory<my_dataset> g_playlists_dropdown_dataset_factory;
Still, I can't see my entry when I click on "FCL Export" button in Columns UI configuration page.