mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Finished todo's
This commit is contained in:
@@ -2,8 +2,9 @@ package org.toop.framework.audio;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.toop.framework.dispatch.interfaces.Dispatcher;
|
||||
import org.toop.framework.dispatch.JavaFXDispatcher;
|
||||
import org.toop.framework.annotations.TestsOnly;
|
||||
import org.toop.framework.audio.interfaces.Dispatcher;
|
||||
import org.toop.framework.resource.ResourceManager;
|
||||
import org.toop.framework.resource.resources.BaseResource;
|
||||
import org.toop.framework.resource.types.AudioResource;
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
package org.toop.framework.audio.interfaces;
|
||||
|
||||
// TODO isn't specific to audio
|
||||
public interface Dispatcher {
|
||||
void run(Runnable task);
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
package org.toop.framework.audio;
|
||||
package org.toop.framework.dispatch;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import org.toop.framework.audio.interfaces.Dispatcher;
|
||||
import org.toop.framework.dispatch.interfaces.Dispatcher;
|
||||
|
||||
// TODO isn't specific to audio
|
||||
public class JavaFXDispatcher implements Dispatcher {
|
||||
@Override
|
||||
public void run(Runnable task) {
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.toop.framework.dispatch.interfaces;
|
||||
|
||||
public interface Dispatcher {
|
||||
void run(Runnable task);
|
||||
}
|
||||
@@ -2,7 +2,7 @@ package org.toop.framework.audio;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.toop.framework.audio.interfaces.Dispatcher;
|
||||
import org.toop.framework.dispatch.interfaces.Dispatcher;
|
||||
import org.toop.framework.resource.resources.BaseResource;
|
||||
import org.toop.framework.resource.types.AudioResource;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user