From 3bdb796c3fe436700470120c5c6e071742c8fe25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20P=C3=B6mp?= Date: Thu, 18 Oct 2018 23:47:28 +0200 Subject: [PATCH] reupload app.info.ts --- src/app/app.info.ts | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/app/app.info.ts diff --git a/src/app/app.info.ts b/src/app/app.info.ts new file mode 100644 index 0000000..bb20d0d --- /dev/null +++ b/src/app/app.info.ts @@ -0,0 +1,50 @@ +import { + AnnotJSONConverter, + Converter, + CTMConverter, + PartiturConverter, + PraatTableConverter, + PraatTextgridConverter +} from './obj/Converters'; + +export class AppInfo { + static get converters(): { + obj: Converter, + color: string + }[] { + return this._converters; + } + + static get version(): string { + return this._version; + } + + private static _version = '1.0.0'; + public static readonly lastUpdated = '2018-10-02 12:30'; + + private static _converters: { + obj: Converter; + color: string; + }[] = [ + { + obj: new CTMConverter(), + color: 'red' + }, + { + obj: new PartiturConverter(), + color: 'forestgreen' + }, + { + obj: new AnnotJSONConverter(), + color: 'gray' + }, + { + obj: new PraatTextgridConverter(), + color: 'orange' + }, + { + obj: new PraatTableConverter(), + color: 'purple' + } + ]; +}