]> git.sesse.net Git - nageru/blobdiff - futatabi/flags.h
In Futatabi, make it possible to set custom source labels.
[nageru] / futatabi / flags.h
index 88379b539ef7a4174489f57b56652de814268a26..6e59d9d272a1f3d37c2d6d16e30cbd4005b325f2 100644 (file)
@@ -4,6 +4,7 @@
 #include "defs.h"
 
 #include <string>
+#include <unordered_map>
 
 struct Flags {
        int width = 1280, height = 720;
@@ -20,6 +21,7 @@ struct Flags {
        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<unsigned, std::string> source_labels;
 };
 extern Flags global_flags;