summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 14:19:42 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 15:20:08 +0100
commit1517992712e995a1e0035436a92c03428d9cf3c8 (patch)
tree5adb0a8a5c4e154c564eac2175aada93118a03dd
parentd1b18af7eea09312825a29bc8c6e797a845bdf77 (diff)
downloadpatchage-1517992712e995a1e0035436a92c03428d9cf3c8.tar.gz
patchage-1517992712e995a1e0035436a92c03428d9cf3c8.tar.bz2
patchage-1517992712e995a1e0035436a92c03428d9cf3c8.zip
Clean up includes
-rw-r--r--src/Configuration.hpp7
-rw-r--r--src/JackDbusDriver.hpp3
-rw-r--r--src/Legend.hpp1
-rw-r--r--src/Queue.hpp1
4 files changed, 8 insertions, 4 deletions
diff --git a/src/Configuration.hpp b/src/Configuration.hpp
index 7a4452e..3eef1e7 100644
--- a/src/Configuration.hpp
+++ b/src/Configuration.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -17,13 +17,12 @@
#ifndef PATCHAGE_CONFIGURATION_HPP
#define PATCHAGE_CONFIGURATION_HPP
-#include <stdint.h>
+#include <boost/optional.hpp>
+#include <cstdint>
#include <map>
#include <string>
-#include <boost/optional.hpp>
-
enum ModuleType
{
Input,
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp
index e3851a3..9015907 100644
--- a/src/JackDbusDriver.hpp
+++ b/src/JackDbusDriver.hpp
@@ -1,4 +1,5 @@
/* This file is part of Patchage.
+ * Copyright 2008-2020 David Robillard <d@drobilla.net>
* Copyright 2008 Nedko Arnaudov <nedko@arnaudov.name>
*
* Patchage is free software: you can redistribute it and/or modify it under
@@ -20,10 +21,12 @@
#include "Driver.hpp"
#include "Patchage.hpp"
#include "PatchageModule.hpp"
+
#include <dbus/dbus.h>
#include <glibmm/thread.h>
#include <jack/jack.h>
#include <jack/statistics.h>
+
#include <string>
class PatchageEvent;
diff --git a/src/Legend.hpp b/src/Legend.hpp
index 9b2b63d..03d1e5b 100644
--- a/src/Legend.hpp
+++ b/src/Legend.hpp
@@ -21,6 +21,7 @@
#include <gtkmm/box.h>
#include <gtkmm/colorbutton.h>
+#include <gtkmm/label.h>
class Legend : public Gtk::HBox
{
diff --git a/src/Queue.hpp b/src/Queue.hpp
index 96d267e..f1fef95 100644
--- a/src/Queue.hpp
+++ b/src/Queue.hpp
@@ -18,6 +18,7 @@
#include <atomic>
#include <cassert>
+#include <cstddef>
/** Realtime-safe single-reader single-writer queue */
template<typename T>