diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-17 13:07:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-17 13:07:17 +0200 |
commit | bdaae5b6704e29919ec7f284b9e3abe54f96f2f8 (patch) | |
tree | 75b3860a2cea86ec7e55d978730b13e41c8015da /core/ephraim_conv.erl | |
parent | ca7a0bfa5dd63fc45df0a46800a76d7048e70f2b (diff) | |
download | ephraim-bdaae5b6704e29919ec7f284b9e3abe54f96f2f8.tar ephraim-bdaae5b6704e29919ec7f284b9e3abe54f96f2f8.zip |
Added CMake build system
Diffstat (limited to 'core/ephraim_conv.erl')
-rw-r--r-- | core/ephraim_conv.erl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/core/ephraim_conv.erl b/core/ephraim_conv.erl deleted file mode 100644 index 99c7668..0000000 --- a/core/ephraim_conv.erl +++ /dev/null @@ -1,23 +0,0 @@ --module(ephraim_conv). --compile([debug_info, export_all]). - --record(conv_state, { - jid :: exmpp_jid:jid() - }). - --spec init(exmpp_jid:jid()) -> ok. -init(JID) -> - loop(#conv_state{jid=JID}). - --spec loop(#conv_state{}) -> ok. -loop(State) -> - receive - stop -> - ok; - {receive_message, Packet} -> - io:format("Received packet from ~p: ~p~n", [State#conv_state.jid, Packet]), - loop(State); - Msg -> - io:format("ephraim_conv (~p): ~p~n", [State#conv_state.jid, Msg]), - loop(State) - end. |