From 6cbcaba2a80c47714e8aa45d021bdcd4965780b1 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Thu, 10 Aug 2023 14:15:00 +0800 Subject: ui: show progress while remuxing --- src/status.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/status.h (limited to 'src/status.h') 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 + +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 -- cgit v1.2.3