forked from sh-edraft.de/sh_linux_installation_scripts
Renamed ApplicationMenuService
This commit is contained in:
parent
e4c585d4c5
commit
51c852a839
19
src/multi_install/abc/application_menu_service_abc.py
Normal file
19
src/multi_install/abc/application_menu_service_abc.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
|
|
||||||
|
class ApplicationMenuServiceABC(ABC):
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def install_application(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def uninstall_application(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def add_application(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def remove_application(self): pass
|
@ -1,7 +0,0 @@
|
|||||||
from abc import ABC, abstractmethod
|
|
||||||
|
|
||||||
|
|
||||||
class ApplicationServiceABC(ABC):
|
|
||||||
|
|
||||||
@abstractmethod
|
|
||||||
def __init__(self): pass
|
|
15
src/multi_install/service/application_menu_service.py
Normal file
15
src/multi_install/service/application_menu_service.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from multi_install.abc.application_menu_service_abc import ApplicationMenuServiceABC
|
||||||
|
|
||||||
|
|
||||||
|
class ApplicationMenuService(ApplicationMenuServiceABC):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def install_application(self): pass
|
||||||
|
|
||||||
|
def uninstall_application(self): pass
|
||||||
|
|
||||||
|
def add_application(self): pass
|
||||||
|
|
||||||
|
def remove_application(self): pass
|
@ -1,7 +0,0 @@
|
|||||||
from multi_install.abc.application_service_abc import ApplicationServiceABC
|
|
||||||
|
|
||||||
|
|
||||||
class ApplicationService(ApplicationServiceABC):
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
pass
|
|
Reference in New Issue
Block a user