diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) |
commit | 0efa7c32aaf21a29b42b5926cc116007056843be (patch) | |
tree | 882f663a5dd0e65694bf6077b71086dd77fd7ff8 /Slimber/CLI | |
parent | 1d20eabbc32274b491b4c2bedf73d19933d97bfd (diff) | |
download | swift-0efa7c32aaf21a29b42b5926cc116007056843be.zip swift-0efa7c32aaf21a29b42b5926cc116007056843be.tar.bz2 |
Moved some modules into separate git modules.
Diffstat (limited to 'Slimber/CLI')
m--------- | Slimber | 0 | ||||
-rw-r--r-- | Slimber/CLI/SConscript | 8 | ||||
-rw-r--r-- | Slimber/CLI/main.cpp | 32 |
3 files changed, 0 insertions, 40 deletions
diff --git a/Slimber b/Slimber new file mode 160000 +Subproject 723115ef8542c640580ea4751fca3c359a79dec diff --git a/Slimber/CLI/SConscript b/Slimber/CLI/SConscript deleted file mode 100644 index b65843d..0000000 --- a/Slimber/CLI/SConscript +++ /dev/null @@ -1,8 +0,0 @@ -Import("env") - -myenv = env.Clone() -myenv.MergeFlags(env["SLIMBER_FLAGS"]) -myenv.MergeFlags(env["SWIFTEN_FLAGS"]) -myenv.MergeFlags(env["BOOST_FLAGS"]) - -myenv.Program("slimber", ["main.cpp"]) diff --git a/Slimber/CLI/main.cpp b/Slimber/CLI/main.cpp deleted file mode 100644 index 09e7869..0000000 --- a/Slimber/CLI/main.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include <string> -#include <boost/bind.hpp> - -#include "Swiften/Base/Platform.h" -#include "Slimber/Server.h" -#include "Slimber/FileVCardCollection.h" -#include "Swiften/LinkLocal/LinkLocalServiceBrowser.h" -#include "Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h" -#include "Swiften/LinkLocal/DNSSD/DNSSDRegisterQuery.h" -//#include "Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.h" -#include "Swiften/EventLoop/SimpleEventLoop.h" -#include "Swiften/Application/Platform/PlatformApplication.h" - -using namespace Swift; - -int main() { - SimpleEventLoop eventLoop; - /* - boost::shared_ptr<BonjourQuerier> querier(new BonjourQuerier()); - querier->start(); - LinkLocalServiceBrowser browser(querier); - browser.start(); - */ - -/* - FileVCardCollection vCardCollection(PlatformApplication("Slimber").getSettingsDir()); - Server server(5222, 5562, linkLocalRoster, dnsSDService, &vCardCollection); - */ - - eventLoop.run(); - return 0; -} |