summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_account_event_proxy.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-09 15:04:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-09 15:04:16 +0200
commitfe4a256c05727f43c6c793b620b1638b88c830b3 (patch)
treeb37076f8fa9f1817ceae99989d2878a58c944ef8 /src/core/ephraim_account_event_proxy.erl
parente6d184833a8c46d3ecd3a407c66c561bb0d47123 (diff)
downloadephraim-fe4a256c05727f43c6c793b620b1638b88c830b3.tar
ephraim-fe4a256c05727f43c6c793b620b1638b88c830b3.zip
Add advanced_event behaviour and use it for account eventsHEADmaster
Diffstat (limited to 'src/core/ephraim_account_event_proxy.erl')
-rw-r--r--src/core/ephraim_account_event_proxy.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ephraim_account_event_proxy.erl b/src/core/ephraim_account_event_proxy.erl
index 726b0e0..9f52d10 100644
--- a/src/core/ephraim_account_event_proxy.erl
+++ b/src/core/ephraim_account_event_proxy.erl
@@ -1,11 +1,11 @@
-module(ephraim_account_event_proxy).
--behaviour(gen_event).
+-behaviour(advanced_event).
-export([start/2]).
-export([init/1, handle_event/2, handle_call/2, handle_info/2, terminate/2, code_change/3]).
start(Account, EventManager) ->
- gen_event:add_handler(EventManager, ?MODULE, Account).
+ advanced_event:add_handler(EventManager, ?MODULE, Account).
init(Account) ->
{ok, Account}.