streamline works

This commit is contained in:
mwalker33
2020-04-19 10:49:09 +10:00
committed by Philippe Teuwen
parent 5060a52b3a
commit 600e5d7d6f
4 changed files with 112 additions and 64 deletions

View File

@@ -21,8 +21,7 @@ typedef enum logLevel {NORMAL, SUCCESS, INFO, FAILED, WARNING, ERR, DEBUG, INPLA
typedef enum emojiMode {ALIAS, EMOJI, ALTTEXT, ERASE} emojiMode_t;
typedef enum clientdebugLevel {cdbOFF,cdbSIMPLE,cdbFULL} clientdebugLevel_t;
typedef enum devicedebugLevel {ddbOFF,ddbERROR,ddbINFO,ddbDEBUG,ddbEXTENDED} devicedebugLevel_t;
#define savePathCount 3
typedef enum savePaths {spDefault, spDump, spTrace} savePaths_t;
typedef enum savePaths {spDefault, spDump, spTrace, spItemCount} savePaths_t; // last item spItemCount used to auto map to number of files
typedef struct {int x; int y; int h; int w;} qtWindow_t;
typedef struct {
@@ -37,7 +36,7 @@ typedef struct {
bool window_changed; // track if plot/overlay pos/size changed to save on exit
qtWindow_t plot;
qtWindow_t overlay;
char *defaultPaths[savePathCount]; // Array should allow loop searching for files
char *defaultPaths[spItemCount]; // Array should allow loop searching for files
clientdebugLevel_t client_debug_level;
uint8_t device_debug_level;
} session_arg_t;