From 5900bf62133f2fbd41c1b455eae3d6fe4728bf5e Mon Sep 17 00:00:00 2001 From: Malte Steiner Date: Fri, 9 Dec 2022 23:07:42 +0100 Subject: [PATCH] replace remaining import with includes removed absolute path of the csound file --- instrumentdefinition.h | 4 ++-- parameter.h | 6 +++--- patternEvent.h | 2 +- soundengine.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/instrumentdefinition.h b/instrumentdefinition.h index 3906ed7..db75b34 100644 --- a/instrumentdefinition.h +++ b/instrumentdefinition.h @@ -18,8 +18,8 @@ #ifndef INSTRUMENTDEFINITION_H #define INSTRUMENTDEFINITION_H -#import -#import "parameter.h" +#include +#include "parameter.h" class InstrumentDefinition { diff --git a/parameter.h b/parameter.h index 05563f1..2a2cb07 100644 --- a/parameter.h +++ b/parameter.h @@ -19,9 +19,9 @@ #ifndef PARAMETER_H #define PARAMETER_H -#import -#import -#import +#include +#include +#include typedef enum { SINGLE, diff --git a/patternEvent.h b/patternEvent.h index 6b11aa7..9b60855 100644 --- a/patternEvent.h +++ b/patternEvent.h @@ -20,7 +20,7 @@ #define PATTERNEVENT_H #include "parameter.h" -#import +#include class PatternEvent { diff --git a/soundengine.cpp b/soundengine.cpp index 57f3390..6351af5 100644 --- a/soundengine.cpp +++ b/soundengine.cpp @@ -57,7 +57,7 @@ void SoundEngine::process(void) } // start Csound thread Csound *csound = new Csound(); - QString csd = "/Users/herrsteiner/Projects/gravel/csoundIntruments.csd"; + QString csd = "csoundIntruments.csd"; //QString csd = "csoundIntruments.csd"; emit parseCsound(csd); int result = csound->CompileCsd(qPrintable(csd));