Allows choosing and managing each tool

This commit is contained in:
Guillaume Tâche
2024-10-03 21:55:14 +02:00
parent 0a2f9e0c31
commit df58cf4585
117 changed files with 1547 additions and 1515 deletions

View File

@@ -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
}

View File

@@ -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
*/