aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-18 17:51:58 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:10:45 -0500
commit5bbc72296d650cca75b0344efcae4658a14c9c62 (patch)
treea1459a4cb6073ecd8b561617d0abccbedad13315 /src
parentf2e20d35eb38098fa5f850e787b3328782cf239a (diff)
downloadjalv-5bbc72296d650cca75b0344efcae4658a14c9c62.tar.gz
jalv-5bbc72296d650cca75b0344efcae4658a14c9c62.tar.bz2
jalv-5bbc72296d650cca75b0344efcae4658a14c9c62.zip
Rename jalv_internal.h to jalv.h
The "internal" name never made much sense to begin with (since this is a program, not a library), but now this header only describes the "main" Jalv struct and functions directly associated with it (the top-level interface of the application), so name it accordingly. This also makes include-what-you-use actually check this header, which it wasn't before for some mysterious reason.
Diffstat (limited to 'src')
-rw-r--r--src/jack.c2
-rw-r--r--src/jalv.c3
-rw-r--r--src/jalv.h (renamed from src/jalv_internal.h)6
-rw-r--r--src/jalv_console.c2
-rw-r--r--src/jalv_gtk.c2
-rw-r--r--src/jalv_qt.cpp2
-rw-r--r--src/main.c2
-rw-r--r--src/portaudio.c2
-rw-r--r--src/process.c2
-rw-r--r--src/state.c2
10 files changed, 13 insertions, 12 deletions
diff --git a/src/jack.c b/src/jack.c
index 3a0ca2a..b71b060 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -5,8 +5,8 @@
#include "comm.h"
#include "frontend.h"
+#include "jalv.h"
#include "jalv_config.h"
-#include "jalv_internal.h"
#include "log.h"
#include "lv2_evbuf.h"
#include "port.h"
diff --git a/src/jalv.c b/src/jalv.c
index 1127586..24b41ab 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -1,13 +1,14 @@
// Copyright 2007-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
+#include "jalv.h"
+
#include "backend.h"
#include "comm.h"
#include "control.h"
#include "dumper.h"
#include "frontend.h"
#include "jalv_config.h"
-#include "jalv_internal.h"
#include "log.h"
#include "lv2_evbuf.h"
#include "macros.h"
diff --git a/src/jalv_internal.h b/src/jalv.h
index 9ac458e..e4d7d90 100644
--- a/src/jalv_internal.h
+++ b/src/jalv.h
@@ -1,8 +1,8 @@
// Copyright 2007-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
-#ifndef JALV_INTERNAL_H
-#define JALV_INTERNAL_H
+#ifndef JALV_JALV_H
+#define JALV_JALV_H
#include "attributes.h"
#include "control.h"
@@ -139,4 +139,4 @@ jalv_update(Jalv* jalv);
JALV_END_DECLS
-#endif // JALV_INTERNAL_H
+#endif // JALV_JALV_H
diff --git a/src/jalv_console.c b/src/jalv_console.c
index 7219c87..0ea85b1 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -3,8 +3,8 @@
#include "control.h"
#include "frontend.h"
+#include "jalv.h"
#include "jalv_config.h"
-#include "jalv_internal.h"
#include "log.h"
#include "options.h"
#include "port.h"
diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c
index c9672dd..15d43bb 100644
--- a/src/jalv_gtk.c
+++ b/src/jalv_gtk.c
@@ -3,7 +3,7 @@
#include "control.h"
#include "frontend.h"
-#include "jalv_internal.h"
+#include "jalv.h"
#include "log.h"
#include "options.h"
#include "query.h"
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index a84c089..24b4ce6 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -3,7 +3,7 @@
#include "jalv_qt.hpp"
#include "frontend.h"
-#include "jalv_internal.h"
+#include "jalv.h"
#include "nodes.h"
#include "options.h"
#include "port.h"
diff --git a/src/main.c b/src/main.c
index 32950bd..cf88af2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3,8 +3,8 @@
#include "backend.h"
#include "frontend.h"
+#include "jalv.h"
#include "jalv_config.h"
-#include "jalv_internal.h"
#include "types.h"
#include <zix/attributes.h>
diff --git a/src/portaudio.c b/src/portaudio.c
index e6f7f70..540e138 100644
--- a/src/portaudio.c
+++ b/src/portaudio.c
@@ -3,7 +3,7 @@
#include "backend.h"
#include "comm.h"
-#include "jalv_internal.h"
+#include "jalv.h"
#include "log.h"
#include "lv2_evbuf.h"
#include "port.h"
diff --git a/src/process.c b/src/process.c
index 3598589..2f88316 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4,7 +4,7 @@
#include "process.h"
#include "comm.h"
-#include "jalv_internal.h"
+#include "jalv.h"
#include "log.h"
#include "lv2_evbuf.h"
#include "port.h"
diff --git a/src/state.c b/src/state.c
index 327cb1d..b0ba53b 100644
--- a/src/state.c
+++ b/src/state.c
@@ -4,7 +4,7 @@
#include "state.h"
#include "comm.h"
-#include "jalv_internal.h"
+#include "jalv.h"
#include "log.h"
#include "mapper.h"
#include "port.h"