alert_observer.hpp
This commit is contained in:
parent
4a67a2cc59
commit
035ad1cce0
libpyrr
8
libpyrr/headers/alert_observer_h.py
Normal file
8
libpyrr/headers/alert_observer_h.py
Normal file
@ -0,0 +1,8 @@
|
||||
from ..utils import Struct
|
||||
alert_observer = Struct({
|
||||
'alert_handler': None,
|
||||
'handle_alert': 0,
|
||||
'types': [],
|
||||
'num_types': 0,
|
||||
'flags': 0
|
||||
})
|
@ -1,4 +1,4 @@
|
||||
class AttrDict(dict):
|
||||
class Struct(dict):
|
||||
def __getattr__(self, attr):
|
||||
return self[attr]
|
||||
def __setattr__(self, attr, value):
|
||||
|
Loading…
x
Reference in New Issue
Block a user