mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
download: replace progress_bar_text by std::string
No fixed buffers. Sadly, the thing is still a global variable. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
91968ac579
commit
7452aa22c2
8 changed files with 87 additions and 84 deletions
|
@ -55,8 +55,8 @@ void logfunc(dc_context_t *context, dc_loglevel_t loglevel, const char *file, un
|
|||
dc_descriptor_t *get_descriptor(dc_family_t type, unsigned int model);
|
||||
|
||||
extern int import_thread_cancelled;
|
||||
extern const char *progress_bar_text;
|
||||
extern void (*progress_callback)(const char *text);
|
||||
extern std::string progress_bar_text;
|
||||
extern void (*progress_callback)(const std::string &text);
|
||||
extern double progress_bar_fraction;
|
||||
|
||||
dc_status_t ble_packet_open(dc_iostream_t **iostream, dc_context_t *context, const char* devaddr, void *userdata);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue