Allows choosing and managing each tool
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.github.gtache.autosubtitle;
|
||||
|
||||
/**
|
||||
* Type of a tool
|
||||
*/
|
||||
public enum ToolType {
|
||||
/**
|
||||
* The video converter (used to add subtitles)
|
||||
*/
|
||||
VIDEO_CONVERTER,
|
||||
/**
|
||||
* The subtitle extractor (used to extract subtitles from a video)
|
||||
*/
|
||||
SUBTITLE_EXTRACTOR,
|
||||
/**
|
||||
* The subtitle translator (used to translate subtitles from one language to another)
|
||||
*/
|
||||
TRANSLATOR
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.github.gtache.autosubtitle.setup;
|
||||
|
||||
import com.github.gtache.autosubtitle.ToolType;
|
||||
|
||||
/**
|
||||
* Manages the setup of a component
|
||||
*/
|
||||
@@ -10,6 +12,11 @@ public interface SetupManager {
|
||||
*/
|
||||
String name();
|
||||
|
||||
/**
|
||||
* @return the type of the component
|
||||
*/
|
||||
ToolType type();
|
||||
|
||||
/**
|
||||
* @return the status of the component setup
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user