-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julian Pömp
committed
Oct 18, 2018
1 parent
5b1a161
commit 3bdb796
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
} | ||
]; | ||
} |