Improved the alert to user interface, and added an enum class for severity flags.
This commit is contained in:
@@ -67,3 +67,12 @@ class nwDocAction(Enum):
|
||||
SEL_PARA = 12
|
||||
|
||||
# END Enum nwDocAction
|
||||
|
||||
class nwAlert(Enum):
|
||||
|
||||
INFO = 0
|
||||
WARN = 1
|
||||
ERROR = 2
|
||||
BUG = 3
|
||||
|
||||
# END Enum nwAlert
|
||||
|
||||
Reference in New Issue
Block a user