summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-07-17 15:49:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-07-17 15:49:23 +0200
commitdfc0469a184ae978f40cac9df20d399fdeca99a3 (patch)
tree5bc05b375bde27de3a9f27d62df058a4b7abfc60 /src/core/ephraim.erl
parentb66c4b8549bc64aae8780a98851ea59850024a58 (diff)
downloadephraim-dfc0469a184ae978f40cac9df20d399fdeca99a3.tar
ephraim-dfc0469a184ae978f40cac9df20d399fdeca99a3.zip
Read JID and server name from config file
Diffstat (limited to 'src/core/ephraim.erl')
-rw-r--r--src/core/ephraim.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/ephraim.erl b/src/core/ephraim.erl
index a7a872b..d558eda 100644
--- a/src/core/ephraim.erl
+++ b/src/core/ephraim.erl
@@ -23,7 +23,14 @@ stop() ->
-spec init() -> ok.
init() ->
register(ephraim, self()),
-
+
+ Config = spawn(ephraim_config, init, []),
+ % Wait for config process
+ receive
+ {Config, started} ->
+ io:format("Reading config file...~n")
+ end,
+
GUI = spawn(ephraim_gui, init, []),
Conn = spawn(ephraim_conn, init, []),
Roster = spawn(ephraim_roster, init, []),