diff options
author | Mole Shang <[email protected]> | 2023-08-10 14:15:00 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-08-10 14:15:00 +0800 |
commit | 6cbcaba2a80c47714e8aa45d021bdcd4965780b1 (patch) | |
tree | 0adcb9b088997689e18fad20a463ea681e4f50b7 /src/status.h | |
parent | ef4918ffeb326751fa17c2c8335963be4e43254f (diff) | |
download | hinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.tar.gz hinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.tar.bz2 hinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.zip |
ui: show progress while remuxing
Diffstat (limited to 'src/status.h')
-rw-r--r-- | src/status.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/status.h b/src/status.h new file mode 100644 index 0000000..97f8a4e --- /dev/null +++ b/src/status.h @@ -0,0 +1,16 @@ +#ifndef STATUS_H_ +#define STATUS_H_ + +#include <stdbool.h> + +typedef enum stat_type { SIZE_BYTES, TIME_SECS } stat_type_t; + +typedef struct status { + unsigned long cur; + unsigned long total; + bool is_done; + stat_type_t type; +} status_t; + + +#endif |