summaryrefslogtreecommitdiffstats
blob: 7964581274c090ee546ac7e3bc2185d8ecf92d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include <string>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>

#include "Swiften/LinkLocal/DNSSDService.h"
#include "Swiften/LinkLocal/LinkLocalRoster.h"

@class Menulet;
namespace Swift {
	class Server;
}

class Slimber {
	public:
		Slimber();
		~Slimber();

	private:
		void handleSelfConnected(bool b);
		void handleRosterChanged();

	private:
		boost::shared_ptr<Swift::DNSSDService> dnsSDService;
		boost::shared_ptr<Swift::LinkLocalRoster>linkLocalRoster;
		Swift::Server* server;
		Menulet* menulet;
};