summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhaslersn <sebastian.hasler@gmx.net>2019-07-08 01:14:43 +0200
committerhaslersn <sebastian.hasler@gmx.net>2019-07-08 01:51:48 +0200
commitf0983603306cb66c7e5bbd1f2da81953bdc636ef (patch)
tree79ed6d6db2dee89aa7e50f7cbfa312c7bb170413 /include
parent17242c89389a43ee4870d7fdc366aea82b17afb4 (diff)
Reduce number of includes in public headers
Diffstat (limited to 'include')
-rw-r--r--include/djinterop/album_art.hpp6
-rw-r--r--include/djinterop/crate.hpp4
-rw-r--r--include/djinterop/enginelibrary.hpp3
-rw-r--r--include/djinterop/performance_data.hpp5
4 files changed, 2 insertions, 16 deletions
diff --git a/include/djinterop/album_art.hpp b/include/djinterop/album_art.hpp
index 7619b18..ea5f489 100644
--- a/include/djinterop/album_art.hpp
+++ b/include/djinterop/album_art.hpp
@@ -23,15 +23,9 @@
#error This library needs at least a C++11 compliant compiler
#endif
-#include <chrono>
-#include <cstdint>
-#include <memory>
-#include <stdexcept>
#include <string>
#include <vector>
-#include <djinterop/database.hpp>
-
namespace djinterop
{
// Artwork for tracks
diff --git a/include/djinterop/crate.hpp b/include/djinterop/crate.hpp
index fc7045b..261888b 100644
--- a/include/djinterop/crate.hpp
+++ b/include/djinterop/crate.hpp
@@ -24,16 +24,12 @@
#endif
#include <memory>
-#include <stdexcept>
#include <string>
-#include <unordered_set>
#include <vector>
#include <boost/optional.hpp>
#include <boost/utility/string_view.hpp>
-#include <djinterop/semantic_version.hpp>
-
namespace djinterop
{
class database;
diff --git a/include/djinterop/enginelibrary.hpp b/include/djinterop/enginelibrary.hpp
index 6da6166..2f4f9c5 100644
--- a/include/djinterop/enginelibrary.hpp
+++ b/include/djinterop/enginelibrary.hpp
@@ -23,12 +23,13 @@
#error This library needs at least a C++11 compliant compiler
#endif
-#include <djinterop/performance_data.hpp>
+#include <djinterop/pad_color.hpp>
#include <djinterop/semantic_version.hpp>
namespace djinterop
{
class database;
+struct beatgrid_marker;
namespace enginelibrary
{
diff --git a/include/djinterop/performance_data.hpp b/include/djinterop/performance_data.hpp
index a8f8f33..320cc16 100644
--- a/include/djinterop/performance_data.hpp
+++ b/include/djinterop/performance_data.hpp
@@ -23,14 +23,9 @@
#error This library needs at least a C++11 compliant compiler
#endif
-#include <chrono>
#include <cstdint>
-#include <memory>
-#include <stdexcept>
#include <string>
-#include <vector>
-#include <djinterop/musical_key.hpp>
#include <djinterop/pad_color.hpp>
namespace djinterop