diff options
Diffstat (limited to 'Swiften/VCards/VCardManager.h')
-rw-r--r-- | Swiften/VCards/VCardManager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/VCards/VCardManager.h b/Swiften/VCards/VCardManager.h index b7e3c32..78e0f3e 100644 --- a/Swiften/VCards/VCardManager.h +++ b/Swiften/VCards/VCardManager.h @@ -1,4 +1,4 @@ /* - * Copyright (c) 2010 Remko Tronçon + * Copyright (c) 2010-2014 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. @@ -9,4 +9,6 @@ #include <set> +#include <boost/date_time/posix_time/posix_time.hpp> + #include <Swiften/Base/API.h> #include <Swiften/JID/JID.h> @@ -27,5 +29,5 @@ namespace Swift { VCard::ref getVCard(const JID& jid) const; - VCard::ref getVCardAndRequestWhenNeeded(const JID& jid); + VCard::ref getVCardAndRequestWhenNeeded(const JID& jid, const boost::posix_time::time_duration& allowedAge = boost::posix_time::time_duration(boost::date_time::pos_infin)); void requestVCard(const JID& jid); void requestOwnVCard(); |