2016-03-10 16:05:17 +03:00
|
|
|
from ..utils import Struct
|
2016-03-13 11:33:45 +03:00
|
|
|
class alert_observer(Struct):
|
|
|
|
def __init__(self):
|
|
|
|
super(alert_observer, self).__init__()
|
|
|
|
self.num_types = 0
|
|
|
|
self.flags = 0
|
|
|
|
self.types = []
|
|
|
|
self.alert_handler = None
|
|
|
|
def handle_alert(self, a):
|
|
|
|
pass
|