master
inpos 2016-03-13 11:33:45 +03:00
parent 035ad1cce0
commit 50e591e7d5
2 changed files with 9 additions and 7 deletions

0
libpyrr/alert.py 100644
View File

View File

@ -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