diff options
Diffstat (limited to 'src/StreamType.cc')
-rw-r--r-- | src/StreamType.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/StreamType.cc b/src/StreamType.cc new file mode 100644 index 0000000..44f772e --- /dev/null +++ b/src/StreamType.cc @@ -0,0 +1,17 @@ +#include "StreamType.h" + +using namespace std; + +string StreamTypeToString(StreamType type) +{ + switch (type) + { + case Low: + return tr("Low"); + case Medium: + return tr("Medium"); + case High: + return tr("High"); + } + return ""; +} |