main.cpp :

1. Updates due to module dependency changes in cwPianoScore.h.
2. Updates due to change of kLabelNotFoundRC to kEleNotFoundRC.
This commit is contained in:
kevin 2024-02-08 11:28:19 -05:00
parent 866bc70236
commit 34c9ff27b9

View File

@ -28,21 +28,25 @@
#include "cwAudioTransforms.h" #include "cwAudioTransforms.h"
#include "cwAudioFileProc.h" #include "cwAudioFileProc.h"
#include "cwPvAudioFileProc.h" #include "cwPvAudioFileProc.h"
#include "cwFlowDecl.h"
#include "cwFlow.h" #include "cwFlow.h"
#include "cwMidi.h"
#include "cwDynRefTbl.h"
#include "cwScoreParse.h"
#include "cwSfScore.h"
#include "cwPerfMeas.h"
#include "cwPianoScore.h" #include "cwPianoScore.h"
#include "cwIoPresetSelApp.h" #include "cwIoPresetSelApp.h"
#include "cwTime.h" #include "cwTime.h"
#include "cwMidi.h"
#include "cwMidiFile.h" #include "cwMidiFile.h"
#include "cwAudioDevice.h" #include "cwAudioDevice.h"
#include "cwPresetSel.h" #include "cwPresetSel.h"
#include "cwDynRefTbl.h"
#include "cwScoreParse.h"
#include "cwSfScore.h"
#include "cwSfMatch.h" #include "cwSfMatch.h"
#include "cwScoreTest.h" #include "cwScoreTest.h"
#include "cwSfTrack.h" #include "cwSfTrack.h"
@ -99,7 +103,6 @@
#include <iostream> #include <iostream>
unsigned calc( unsigned n ) unsigned calc( unsigned n )
{ return n; } { return n; }
@ -187,7 +190,7 @@ char* instantiatePathVariable( const cw::object_t* args, const char* label, unsi
{ {
if( !cwIsFlag(flags,kVarOptionalFl) ) if( !cwIsFlag(flags,kVarOptionalFl) )
{ {
rc = cwLogError(cw::kLabelNotFoundRC,"The mandatory file '%s' was not found.",cwStringNullGuard(label)); rc = cwLogError(cw::kEleNotFoundRC,"The mandatory file '%s' was not found.",cwStringNullGuard(label));
goto errLabel; goto errLabel;
} }
@ -729,7 +732,7 @@ const cw::object_t* _locateArgsRecd( const cw::object_t* cfg, const char*& cfgLa
} }
if((o = cfg->find_child(cfgLabel)) == nullptr ) if((o = cfg->find_child(cfgLabel)) == nullptr )
cwLogError(cw::kLabelNotFoundRC,"The test selector: '%s' was not found in the configuration file.", cwStringNullGuard(cfgLabel)); cwLogError(cw::kEleNotFoundRC,"The test selector: '%s' was not found in the configuration file.", cwStringNullGuard(cfgLabel));
else else
{ {