X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fflags.h;h=6e59d9d272a1f3d37c2d6d16e30cbd4005b325f2;hb=refs%2Fheads%2Fmaster;hp=1e0284bcd8c3ff9d08e545ec91b5348de4276ba3;hpb=4a9e97065dade428e373a83618bc973cd93cbe52;p=nageru diff --git a/futatabi/flags.h b/futatabi/flags.h index 1e0284b..80571de 100644 --- a/futatabi/flags.h +++ b/futatabi/flags.h @@ -3,7 +3,9 @@ #include "defs.h" +#include #include +#include struct Flags { int width = 1280, height = 720; @@ -15,8 +17,12 @@ struct Flags { uint16_t http_port = DEFAULT_HTTPD_PORT; double output_framerate = 60000.0 / 1001.0; std::string tally_url; - double cue_point_padding_seconds = 0.0; // Can be changed in the menus. - bool cue_point_padding_set = false; + double cue_in_point_padding_seconds = 0.0; // Can be changed in the menus. + bool cue_in_point_padding_set = false; + double cue_out_point_padding_seconds = 0.0; // Can be changed in the menus. + bool cue_out_point_padding_set = false; + std::string midi_mapping_filename; // Empty for none. + std::unordered_map source_labels; }; extern Flags global_flags;