mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
* add common interface to all datasources
This commit is contained in:
parent
bc7cf8cba0
commit
7b51f5a851
11
source/net/filebot/web/Datasource.java
Normal file
11
source/net/filebot/web/Datasource.java
Normal file
@ -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
Block a user