port TIunA to export framework, part 2

progress bars!
This commit is contained in:
tildearrow 2024-08-13 17:47:18 -05:00
parent bb5ad38fb6
commit 249032f096
3 changed files with 45 additions and 15 deletions

View file

@ -24,6 +24,7 @@
class DivExportTiuna: public DivROMExport {
DivEngine* e;
std::thread* exportThread;
DivROMExportProgress progress[3];
bool running, failed, mustAbort;
void run();
public:
@ -32,5 +33,6 @@ class DivExportTiuna: public DivROMExport {
bool hasFailed();
void abort();
void wait();
DivROMExportProgress getProgress(int index=0);
~DivExportTiuna() {}
};