diff options
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; -} |