|
cgv
|
function pointers implementing user feedback functionality of find_or_download_data_file() function More...
#include <import.h>
Public Member Functions | |
| user_feedback (void(*_message)(const std::string &)=0, int(*_query)(const std::string &, const std::string &, int)=0, std::string(*_ask_dir)(const std::string &, const std::string &)=0) | |
| default construction results in no user feedback | |
Public Attributes | |
| void(* | message )(const std::string &text) |
| pointer to function that shows a text message to user | |
| int(* | query )(const std::string &text, const std::string &answers, int default_answer) |
| pointer to function that shows a text query and asks for an answer | |
| std::string(* | ask_dir )(const std::string &text, const std::string &path) |
| pointer to function that opens a directory save dialog | |
function pointers implementing user feedback functionality of find_or_download_data_file() function