diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-11-17 08:25:02 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-11-17 08:25:02 +0100 |
commit | 62ca019532b28527facf6ab133742c2a190f15d6 (patch) | |
tree | 2b02963ed8a8a0d21dbe42885c2e284d3c60620c /src/madc.cpp | |
parent | 2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522 (diff) | |
download | mad-62ca019532b28527facf6ab133742c2a190f15d6.tar mad-62ca019532b28527facf6ab133742c2a190f15d6.zip |
Configurable von Initializable ableiten; InformationManager ist jetzt auch ein Initializable
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp index 8e1c4cd..f74f925 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -103,9 +103,10 @@ int main(int argc, char *argv[]) { std::cerr << "Receiving host list..." << std::flush; - Client::InformationManager::init(connection); + Client::InformationManager::getInformationManager()->init(); + Client::InformationManager::getInformationManager()->updateDaemonList(connection); - while(!Client::InformationManager::getInformationManager()->isInitialised()) + while(Client::InformationManager::getInformationManager()->isUpdating()) Net::FdManager::getFdManager()->run(); std::cerr << " done." << std::endl << std::endl; |