1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-07-02 22:36:54 +02:00

play films with kweb for rpi

This commit is contained in:
MarkParker5
2020-10-28 21:02:30 +02:00
parent a8e77bcc6f
commit b17b23c8e7
8 changed files with 59 additions and 15 deletions

View File

@ -9,7 +9,6 @@
# must return dict like {'cmd': cmd, 'params': params}
# this - object (class instance) pointer (self)
# abstract this.start() - required method for all commands
# abstract this.confirm() - Return True/False (User responce)
# this.keywords - dictionary of arrays keywords
# like {
# (int)weight : ['word1', 'word2', 'word3'],
@ -119,9 +118,6 @@ class Command(ABC):
def setStart(this, function): # define start (required)
this.start = function
def setConfirm(this, function): # define confirm (optional)
this.confirm = function
######################################################################################
# GETTERS #
######################################################################################
@ -144,10 +140,6 @@ class Command(ABC):
def start(this, params): # main method
pass
@abstractmethod
def confirm(this): # optional method
pass
######################################################################################
# STATIC METHODS #
######################################################################################