aboutsummaryrefslogtreecommitdiff
path: root/src/inversify.config.ts
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2020-03-15 19:30:07 -0500
committerMax Isom <[email protected]>2020-03-15 19:30:07 -0500
commit2875c6ceb89ccd22da500f6f3dccbe3c43893d86 (patch)
tree6a2bf5f0ad4963facd03cc303e0af02f4d6d5671 /src/inversify.config.ts
parente55acbb718c5b36315010b5d093b1554712aca4b (diff)
downloadmuse-2875c6ceb89ccd22da500f6f3dccbe3c43893d86.tar.xz
muse-2875c6ceb89ccd22da500f6f3dccbe3c43893d86.zip
Add pause/resume
Diffstat (limited to 'src/inversify.config.ts')
-rw-r--r--src/inversify.config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inversify.config.ts b/src/inversify.config.ts
index 759a27ac..afdd5b8 100644
--- a/src/inversify.config.ts
+++ b/src/inversify.config.ts
@@ -24,6 +24,7 @@ import Command from './commands';
import Clear from './commands/clear';
import Config from './commands/config';
import ForwardSeek from './commands/fseek';
+import Pause from './commands/pause';
import Play from './commands/play';
import QueueCommad from './commands/queue';
import Seek from './commands/seek';
@@ -45,6 +46,7 @@ container.bind<QueueManager>(TYPES.Managers.Queue).to(QueueManager).inSingletonS
container.bind<Command>(TYPES.Command).to(Clear).inSingletonScope();
container.bind<Command>(TYPES.Command).to(Config).inSingletonScope();
container.bind<Command>(TYPES.Command).to(ForwardSeek).inSingletonScope();
+container.bind<Command>(TYPES.Command).to(Pause).inSingletonScope();
container.bind<Command>(TYPES.Command).to(Play).inSingletonScope();
container.bind<Command>(TYPES.Command).to(QueueCommad).inSingletonScope();
container.bind<Command>(TYPES.Command).to(Seek).inSingletonScope();