summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-10-04 12:15:57 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-10-04 13:44:51 (GMT)
commitbdb9fd141bc1cf5f9134dd095d364c08113a2c87 (patch)
tree458ce57a5d1c3feec6112567c843e5308008a5dc /Sluift/ITunesInterface.h
parent9a4cee8bc017c8344fe5fc8777f42f29a1b69ee1 (diff)
downloadswift-bdb9fd141bc1cf5f9134dd095d364c08113a2c87.zip
swift-bdb9fd141bc1cf5f9134dd095d364c08113a2c87.tar.bz2
Remove optional_fwd.hpp use; workaround for Boost Ticket #12179
Test-Information: Builds on macOS 10.12 and unit tests pass. Change-Id: Ia979e7dbd6f6c84085b1b951d81b925dffbed262
Diffstat (limited to 'Sluift/ITunesInterface.h')
-rw-r--r--Sluift/ITunesInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/ITunesInterface.h b/Sluift/ITunesInterface.h
index e854da4..73555d2 100644
--- a/Sluift/ITunesInterface.h
+++ b/Sluift/ITunesInterface.h
@@ -1,38 +1,38 @@
/*
* Copyright (c) 2014 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <Swiften/Base/API.h>
#include <boost/shared_ptr.hpp>
-#include <boost/optional/optional_fwd.hpp>
+#include <boost/optional/optional.hpp>
namespace Swift {
class SWIFTEN_API ITunesInterface {
public:
struct Track {
std::string name;
std::string artist;
std::string album;
long trackNumber;
double duration;
long rating;
};
ITunesInterface();
virtual ~ITunesInterface();
boost::optional<Track> getCurrentTrack() const;
private:
bool haveApplication() const;
private:
struct Private;
boost::shared_ptr<Private> p;
};
}