|
@@ -26,7 +26,6 @@ import com.dmdirc.ClientModule.GlobalConfig;
|
26
|
26
|
import com.dmdirc.ClientModule.UserConfig;
|
27
|
27
|
import com.dmdirc.events.PluginLoadedEvent;
|
28
|
28
|
import com.dmdirc.events.PluginUnloadedEvent;
|
29
|
|
-import com.dmdirc.interfaces.ActionController;
|
30
|
29
|
import com.dmdirc.interfaces.config.AggregateConfigProvider;
|
31
|
30
|
import com.dmdirc.interfaces.config.ConfigProvider;
|
32
|
31
|
import com.dmdirc.plugins.Plugin;
|
|
@@ -47,8 +46,6 @@ public class NowPlayingManager {
|
47
|
46
|
|
48
|
47
|
/** Plugin manager to get plugins from. */
|
49
|
48
|
private final PluginManager pluginManager;
|
50
|
|
- /** Action controller to register listeners. */
|
51
|
|
- private final ActionController actionController;
|
52
|
49
|
/** Global configuration to read settings from. */
|
53
|
50
|
private final AggregateConfigProvider globalConfig;
|
54
|
51
|
/** Event bus to subscribe to events on. */
|
|
@@ -65,13 +62,11 @@ public class NowPlayingManager {
|
65
|
62
|
@Inject
|
66
|
63
|
public NowPlayingManager(
|
67
|
64
|
final PluginManager pluginManager,
|
68
|
|
- final ActionController actionController,
|
69
|
65
|
final EventBus eventBus,
|
70
|
66
|
@GlobalConfig final AggregateConfigProvider globalConfig,
|
71
|
67
|
@UserConfig final ConfigProvider userConfig,
|
72
|
68
|
@PluginDomain(NowPlayingPlugin.class) final String domain) {
|
73
|
69
|
this.pluginManager = pluginManager;
|
74
|
|
- this.actionController = actionController;
|
75
|
70
|
this.globalConfig = globalConfig;
|
76
|
71
|
this.domain = domain;
|
77
|
72
|
this.eventBus = eventBus;
|