Browse Source

Try to fix build warning on vst3sdk

Signed-off-by: falkTX <falktx@gmail.com>
tags/v2.1-alpha1-winvst
parent
commit
c930afde32
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      source/includes/vst3sdk/public.sdk/source/vst/vsteditcontroller.cpp
  2. +1
    -1
      source/includes/vst3sdk/public.sdk/source/vst/vsteditcontroller.h

+ 6
- 0
source/includes/vst3sdk/public.sdk/source/vst/vsteditcontroller.cpp View File

@@ -219,6 +219,12 @@ tresult PLUGIN_API EditController::setComponentHandler (IComponentHandler* newHa
return kResultTrue;
}

//------------------------------------------------------------------------
IPlugView* PLUGIN_API createView (FIDString /*name*/)
{
return 0;
}

//------------------------------------------------------------------------
tresult EditController::beginEdit (ParamID tag)
{


+ 1
- 1
source/includes/vst3sdk/public.sdk/source/vst/vsteditcontroller.h View File

@@ -79,7 +79,7 @@ public:
virtual ParamValue PLUGIN_API getParamNormalized (ParamID tag) SMTG_OVERRIDE;
virtual tresult PLUGIN_API setParamNormalized (ParamID tag, ParamValue value) SMTG_OVERRIDE;
virtual tresult PLUGIN_API setComponentHandler (IComponentHandler* handler) SMTG_OVERRIDE;
virtual IPlugView* PLUGIN_API createView (FIDString /*name*/) SMTG_OVERRIDE {return 0;}
virtual IPlugView* PLUGIN_API createView (FIDString name) SMTG_OVERRIDE;

//---from IEditController2-------
virtual tresult PLUGIN_API setKnobMode (KnobMode mode) SMTG_OVERRIDE { hostKnobMode = mode; return kResultTrue; }


Loading…
Cancel
Save