summaryrefslogtreecommitdiffstats
blob: c2c0e2d0561ff33e1b295b5ebf48f361498a9a5f (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
30
31
#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 VCardCollection;
}

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::VCardCollection* vCardCollection;
		Swift::Server* server;
		Menulet* menulet;
};