package eu.ydp.empiria.player.client.gin.module;

import com.google.gwt.inject.client.AbstractGinModule;
import com.google.inject.Singleton;

import eu.ydp.empiria.player.client.module.simulation.SimulationCanvasProvider;
import eu.ydp.empiria.player.client.module.simulation.SimulationController;
import eu.ydp.empiria.player.client.module.simulation.SimulationModuleView;
import eu.ydp.empiria.player.client.module.simulation.SimulationModuleViewImpl;

public class SimulationGinModule extends AbstractGinModule {

	@Override
	protected void configure() {
		bind(SimulationModuleView.class).to(SimulationModuleViewImpl.class);
		bind(SimulationCanvasProvider.class).in(Singleton.class);
		bind(SimulationController.class).in(Singleton.class);
	}

}

@@ -446,16 +446,170 @@
 iewImpl;
+%0Aimport eu.ydp.empiria.player.client.module.simulation.soundjs.SoundJsNative;%0Aimport eu.ydp.empiria.player.client.module.simulation.soundjs.SoundJsPlugin;
 %0A%0Apublic
@@ -892,14 +892,112 @@
 class);%0A
+%09%09bind(SoundJsNative.class).in(Singleton.class);%0A%09%09bind(SoundJsPlugin.class).in(Singleton.class);%0A
 %09%7D%0A%0A%7D%0A

mark SoundJsNative&SoundJsPlugin as Singleton