diff options
Diffstat (limited to 'Slimber/FileVCardCollection.cpp')
-rw-r--r-- | Slimber/FileVCardCollection.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Slimber/FileVCardCollection.cpp b/Slimber/FileVCardCollection.cpp index 60be5c0..1568b33 100644 --- a/Slimber/FileVCardCollection.cpp +++ b/Slimber/FileVCardCollection.cpp @@ -1,14 +1,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> vcard) { +void FileVCardCollection::setOwnVCard(boost::shared_ptr<VCard> v) { + vcard = v; } } |