|
@@ -1,10 +1,12 @@
|
|
-module(nitro).
|
|
-module(nitro).
|
|
--include_lib("n2o/include/n2o.hrl").
|
|
|
|
-include_lib("nitro/include/nitro.hrl").
|
|
-include_lib("nitro/include/nitro.hrl").
|
|
-compile(export_all).
|
|
-compile(export_all).
|
|
-behaviour(application).
|
|
-behaviour(application).
|
|
-export([start/2, stop/1, init/1]).
|
|
-export([start/2, stop/1, init/1]).
|
|
|
|
|
|
|
|
+-record(ev, { module, msg, trigger, name }).
|
|
|
|
+-record(cx, { handlers, actions, req, module, lang, path, session, formatter=false, params, form, state=[] }).
|
|
|
|
+
|
|
start(_StartType, _StartArgs) -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).
|
|
start(_StartType, _StartArgs) -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).
|
|
stop(_State) -> ok.
|
|
stop(_State) -> ok.
|
|
init([]) -> {ok, {{one_for_one, 5, 10}, []}}.
|
|
init([]) -> {ok, {{one_for_one, 5, 10}, []}}.
|