alert.py
parent
035ad1cce0
commit
50e591e7d5
|
@ -1,8 +1,10 @@
|
||||||
from ..utils import Struct
|
from ..utils import Struct
|
||||||
alert_observer = Struct({
|
class alert_observer(Struct):
|
||||||
'alert_handler': None,
|
def __init__(self):
|
||||||
'handle_alert': 0,
|
super(alert_observer, self).__init__()
|
||||||
'types': [],
|
self.num_types = 0
|
||||||
'num_types': 0,
|
self.flags = 0
|
||||||
'flags': 0
|
self.types = []
|
||||||
})
|
self.alert_handler = None
|
||||||
|
def handle_alert(self, a):
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue