From cd9341604e926defef5fdf76eb74c176cf7d705f Mon Sep 17 00:00:00 2001 From: arsamus Date: Thu, 2 Jun 2022 11:24:07 -0300 Subject: [PATCH] Update minidexed.h --- src/minidexed.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/minidexed.h b/src/minidexed.h index 6945845..6846748 100644 --- a/src/minidexed.h +++ b/src/minidexed.h @@ -111,8 +111,8 @@ public: void SetActualPerformanceID(unsigned nID); bool SetNewPerformance(unsigned nID); bool SavePerformanceNewFile (); - unsigned GetMenuSelectedPerformanceID(); - void SetMenuSelectedPerformanceID(unsigned nID); + // unsigned GetMenuSelectedPerformanceID(); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + // void SetMenuSelectedPerformanceID(unsigned nID); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% bool DoSavePerformanceNewFile (void); bool DoSetNewPerformance (void); @@ -132,7 +132,13 @@ public: void SetParameter (TParameter Parameter, int nValue); int GetParameter (TParameter Parameter); - + //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + std::string GetNewPerformanceDefaultName(void); + void SetNewPerformanceName(std::string nName); + void SetVoiceName (std::string VoiceName, unsigned nTG); + bool DeletePerformance(unsigned nID); + bool DoDeletePerformance(void); + //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% enum TTGParameter { TGParameterVoiceBank, @@ -220,7 +226,10 @@ private: float32_t nMasterVolume; - + //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + bool m_bDeletePerformance; + unsigned m_nDeletePerformanceID; + //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CUserInterface m_UI; CSysExFileLoader m_SysExFileLoader;