UI: Simplify path generation code

This commit is contained in:
Clayton Groeneveld
2020-07-23 08:45:03 -05:00
committed by jp9000
parent 4b17b82aab
commit cc565653d3
3 changed files with 132 additions and 171 deletions

View File

@@ -40,6 +40,10 @@ std::string GenerateTimeDateFilename(const char *extension,
bool noSpace = false);
std::string GenerateSpecifiedFilename(const char *extension, bool noSpace,
const char *format);
std::string GetFormatString(const char *format, const char *prefix,
const char *suffix);
std::string GetOutputFilename(const char *path, const char *ext, bool noSpace,
bool overwrite, const char *format);
QObject *CreateShortcutFilter();
struct BaseLexer {