|
@@ -1,12 +1,11 @@
|
|
|
-module(wf_event).
|
|
|
-author('Maxim Sokhatsky').
|
|
|
-author('Andrey Martemyanov').
|
|
|
--include_lib ("nitro/include/nitro.hrl").
|
|
|
+-include_lib("nitro/include/cx.hrl").
|
|
|
+-include_lib("nitro/include/nitro.hrl").
|
|
|
-compile(export_all).
|
|
|
|
|
|
-record(ev, { module, msg, trigger, name }).
|
|
|
--record(cx, { handlers=[], actions=[], req=[], module=[], lang=[], path=[],
|
|
|
- session=[], formatter=bert, params=[], node=[], client_pid=[], state=[], from=[], vsn = [] }).
|
|
|
|
|
|
-define(B(E), nitro:to_binary(E)).
|
|
|
-define(L(E), nitro:to_list(E)).
|