* add common interface to all datasources
This commit is contained in:
parent
bc7cf8cba0
commit
7b51f5a851
|
@ -0,0 +1,11 @@
|
|||
package net.filebot.web;
|
||||
|
||||
import javax.swing.Icon;
|
||||
|
||||
public interface Datasource {
|
||||
|
||||
String getName();
|
||||
|
||||
Icon getIcon();
|
||||
|
||||
}
|
|
@ -6,7 +6,7 @@ import java.util.Locale;
|
|||
|
||||
import javax.swing.Icon;
|
||||
|
||||
public interface EpisodeListProvider {
|
||||
public interface EpisodeListProvider extends Datasource {
|
||||
|
||||
public String getName();
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.Map;
|
|||
|
||||
import javax.swing.Icon;
|
||||
|
||||
public interface MovieIdentificationService {
|
||||
public interface MovieIdentificationService extends Datasource {
|
||||
|
||||
public String getName();
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.Map;
|
|||
|
||||
import javax.swing.Icon;
|
||||
|
||||
public interface MusicIdentificationService {
|
||||
public interface MusicIdentificationService extends Datasource {
|
||||
|
||||
String getName();
|
||||
|
||||
|
|
Loading…
Reference in New Issue