mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement][settings] only displaying available multi-threaded download clients
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Iterable
|
||||
from typing import Iterable, List
|
||||
|
||||
from bauh.api.abstract.handler import ProcessWatcher
|
||||
|
||||
@@ -33,3 +33,11 @@ class FileDownloader(ABC):
|
||||
@abstractmethod
|
||||
def get_supported_multithreaded_clients(self) -> Iterable[str]:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def is_multithreaded_client_available(self, name: str) -> bool:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def list_available_multithreaded_clients(self) -> List[str]:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user