wip: reorganizing things to support accurate pad creation. Also more accurate progress indication.

This commit is contained in:
tamasmeszaros
2018-11-15 18:05:47 +01:00
parent 9bb04ff15a
commit 810fcc2221
5 changed files with 90 additions and 73 deletions

View File

@@ -192,7 +192,7 @@ public:
// Calls a registered callback to update the status, or print out the default message.
void set_status(int percent, const std::string &message) {
if (m_status_callback) m_status_callback(percent, message);
else printf("%d => %s\n", percent, message.c_str());
/*else */printf("%d => %s\n", percent, message.c_str());
}
typedef std::function<void()> cancel_callback_type;