summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conv_man.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 01:44:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 01:44:25 +0200
commit2444ac841fad00133f231e9667ab427c4ce4d39e (patch)
treef85d6a82d7aed6aa4d758fc3045858ec8f4452bc /src/core/ephraim_conv_man.erl
parentcabc0995c0e0964ecbef18470c6a483022879071 (diff)
downloadephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.tar
ephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.zip
Receiving messages works again (kinda)
Diffstat (limited to 'src/core/ephraim_conv_man.erl')
-rw-r--r--src/core/ephraim_conv_man.erl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/ephraim_conv_man.erl b/src/core/ephraim_conv_man.erl
new file mode 100644
index 0000000..617ccc4
--- /dev/null
+++ b/src/core/ephraim_conv_man.erl
@@ -0,0 +1,12 @@
+-module(ephraim_conv_man).
+-behaviour(supervisor).
+-export([start_link/1]).
+-export([init/1]).
+
+start_link(EventManager) ->
+ {ok, Pid} = supervisor:start_link(?MODULE, []),
+ ephraim_conv_handler:start(Pid, EventManager),
+ {ok, Pid}.
+
+init(_Args) ->
+ {ok, {{one_for_one, 0, 1}, []}}.