Browse Source

Clean up includes

zrythm_meson
David Robillard 4 years ago
parent
commit
973b8fbca8
  1. 4
      lv2/atom/atom-test.c
  2. 2
      lv2/atom/atom.h
  3. 1
      plugins/eg-amp.lv2/amp.c
  4. 7
      plugins/eg-fifths.lv2/fifths.c
  5. 1
      plugins/eg-fifths.lv2/uris.h
  6. 2
      plugins/eg-metro.lv2/metro.c
  7. 6
      plugins/eg-midigate.lv2/midigate.c
  8. 4
      plugins/eg-params.lv2/params.c
  9. 4
      plugins/eg-sampler.lv2/sampler.c
  10. 12
      plugins/eg-sampler.lv2/sampler_ui.c
  11. 3
      plugins/eg-sampler.lv2/uris.h
  12. 8
      plugins/eg-scope.lv2/examploscope.c
  13. 14
      plugins/eg-scope.lv2/examploscope_ui.c

4
lv2/atom/atom-test.c

@ -15,12 +15,16 @@ @@ -15,12 +15,16 @@
*/
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/urid/urid.h"
char** uris = NULL;
uint32_t n_uris = 0;

2
lv2/atom/atom.h

@ -26,8 +26,8 @@ @@ -26,8 +26,8 @@
#ifndef LV2_ATOM_H
#define LV2_ATOM_H
#include <stdint.h>
#include <stddef.h>
#include <stdint.h>
#define LV2_ATOM_URI "http://lv2plug.in/ns/ext/atom" ///< http://lv2plug.in/ns/ext/atom
#define LV2_ATOM_PREFIX LV2_ATOM_URI "#" ///< http://lv2plug.in/ns/ext/atom#

1
plugins/eg-amp.lv2/amp.c

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
/** Include standard C headers */
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
/**

7
plugins/eg-fifths.lv2/fifths.c

@ -15,21 +15,20 @@ @@ -15,21 +15,20 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef __cplusplus
# include <stdbool.h>
#endif
#include "lv2/atom/atom.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/midi/midi.h"
#include "lv2/patch/patch.h"
#include "lv2/state/state.h"
#include "lv2/urid/urid.h"
#include "./uris.h"

1
plugins/eg-fifths.lv2/uris.h

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
#include "lv2/log/log.h"
#include "lv2/midi/midi.h"
#include "lv2/patch/patch.h"
#include "lv2/state/state.h"
#define EG_FIFTHS_URI "http://lv2plug.in/plugins/eg-fifths"

2
plugins/eg-metro.lv2/metro.c

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
*/
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -27,6 +28,7 @@ @@ -27,6 +28,7 @@
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/time/time.h"
#include "lv2/urid/urid.h"

6
plugins/eg-midigate.lv2/midigate.c

@ -14,15 +14,17 @@ @@ -14,15 +14,17 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/midi/midi.h"
#include "lv2/urid/urid.h"

4
plugins/eg-params.lv2/params.c

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -23,10 +23,12 @@ @@ -23,10 +23,12 @@
# include <stdbool.h>
#endif
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/midi/midi.h"
#include "lv2/patch/patch.h"

4
plugins/eg-sampler.lv2/sampler.c

@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
*/
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef __cplusplus
@ -26,6 +28,7 @@ @@ -26,6 +28,7 @@
#include <sndfile.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
@ -33,7 +36,6 @@ @@ -33,7 +36,6 @@
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/midi/midi.h"
#include "lv2/patch/patch.h"
#include "lv2/state/state.h"
#include "lv2/urid/urid.h"
#include "lv2/worker/worker.h"

12
plugins/eg-sampler.lv2/sampler_ui.c

@ -15,16 +15,26 @@ @@ -15,16 +15,26 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <gdk/gdk.h>
#include <glib-object.h>
#include <glib.h>
#include <gobject/gclosure.h>
#include <gtk/gtk.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/patch/patch.h"
#include "lv2/midi/midi.h"
#include "lv2/ui/ui.h"
#include "lv2/urid/urid.h"

3
plugins/eg-sampler.lv2/uris.h

@ -20,8 +20,9 @@ @@ -20,8 +20,9 @@
#include "lv2/log/log.h"
#include "lv2/midi/midi.h"
#include "lv2/state/state.h"
#include "lv2/parameters/parameters.h"
#include "lv2/patch/patch.h"
#include "lv2/state/state.h"
#define EG_SAMPLER_URI "http://lv2plug.in/plugins/eg-sampler"
#define EG_SAMPLER__applySample EG_SAMPLER_URI "#applySample"

8
plugins/eg-scope.lv2/examploscope.c

@ -15,15 +15,21 @@ @@ -15,15 +15,21 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/core/lv2_util.h"
#include "lv2/log/log.h"
#include "lv2/log/logger.h"
#include "lv2/state/state.h"
#include "lv2/urid/urid.h"
#include "./uris.h"

14
plugins/eg-scope.lv2/examploscope_ui.c

@ -14,13 +14,27 @@ @@ -14,13 +14,27 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <gdk/gdk.h>
#include <glib-object.h>
#include <glib.h>
#include <gobject/gclosure.h>
#include <gtk/gtk.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
#include "lv2/ui/ui.h"
#include "lv2/urid/urid.h"
#include "./uris.h"
// Drawing area size

Loading…
Cancel
Save