summaryrefslogtreecommitdiffstats
blob: 1568b33d1230491fc330aa70af0156f9a3618f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "Slimber/FileVCardCollection.h"
#include "Swiften/Elements/VCard.h"

namespace Swift {

FileVCardCollection::FileVCardCollection(boost::filesystem::path dir) : vcardsPath(dir) {
	vcard = boost::shared_ptr<VCard>(new VCard());
}

boost::shared_ptr<VCard> FileVCardCollection::getOwnVCard() const {
	return vcard;
}

void FileVCardCollection::setOwnVCard(boost::shared_ptr<VCard> v) {
	vcard = v;
}

}