diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:12 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:12 +0200 |
commit | e50482f994b6ebcce864a412111d376e99205cdb (patch) | |
tree | ff3192c6aaf213c4922521bed988e4ed4147f537 /app/bin/include/paramfilelist.h | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) |
Update upstream source from tag 'upstream/5.2.0Beta2.1'
Update to upstream version '5.2.0Beta2.1'
with Debian dir 1576f25f4c1496abfed44af31ead67d32c7be650
Diffstat (limited to 'app/bin/include/paramfilelist.h')
-rw-r--r-- | app/bin/include/paramfilelist.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/bin/include/paramfilelist.h b/app/bin/include/paramfilelist.h new file mode 100644 index 0000000..a1c081d --- /dev/null +++ b/app/bin/include/paramfilelist.h @@ -0,0 +1,32 @@ +#ifndef HAVE_PARAMFILELIST_H + #define HAVE_PARAMFILELIST_H + #include <stdbool.h> + #include "include/paramfile.h" + + typedef struct { + char * name; /** < name of parameter file */ + char * contents; + bool deleted; + bool valid; /** < FALSE for dropped file */ + bool favorite; + enum paramFileState trackState; + } paramFileInfo_t; + typedef paramFileInfo_t * paramFileInfo_p; + + #define paramFileInfo(N) DYNARR_N( paramFileInfo_t, paramFileInfo_da, N ) + + char *GetParamFileDir(void); + void SetParamFileDir(char *fullPath); + void LoadParamFileList(void); + BOOL_T ReadDefaultParams(const char * dirName); + void SaveParamFileList(void); + int GetParamFileCount(); + void UpdateParamFileList(void); + void ParamFilesChange(long changes); + int LoadParamFile(int files, char ** fileName, void * data); + BOOL_T ParamFileListInit(void); + + void SearchUiOk(void * junk); + bool ReloadParamFile(wIndex_t index); + bool UnloadParamFile(wIndex_t fileIndex); +#endif // !HAVE_PARAMFILELIST_H |