19 lines
273 B
Python
19 lines
273 B
Python
from abc import abstractmethod
|
|
|
|
|
|
class Component:
|
|
def __init__(self):
|
|
self.parent = None
|
|
|
|
@abstractmethod
|
|
def load(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def register(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def unregister(self):
|
|
pass
|