summaryrefslogtreecommitdiffstats
blob: 3d805a87ffca1af04bbea2b52f36a9aa316ec13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <boost/shared_ptr.hpp>
#include <boost/filesystem.hpp>

#include "Slimber/VCardCollection.h"

namespace Swift {
	class FileVCardCollection : public VCardCollection {
		public:
			FileVCardCollection(boost::filesystem::path dir);

			boost::shared_ptr<VCard> getOwnVCard() const;
			void setOwnVCard(boost::shared_ptr<VCard> vcard);

		private:
			boost::filesystem::path vcardsPath;
			boost::shared_ptr<VCard> vcard;
	};
}