diff options
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index fcf45ffa0..aeaa82ec6 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -53,4 +53,12 @@ struct Crop extern bool operator== (Crop const & a, Crop const & b); extern bool operator!= (Crop const & a, Crop const & b); +enum Resolution { + RESOLUTION_2K, + RESOLUTION_4K +}; + +std::string resolution_to_string (Resolution); +Resolution string_to_resolution (std::string); + #endif |
