RAM2118 commited on
Commit
7e3323d
·
verified ·
1 Parent(s): 715eca0

fix: add setLayerPortName() public method (layerPortName is private)

Browse files
Files changed (1) hide show
  1. Source/Helper/HelperPluginHost.h +2 -3
Source/Helper/HelperPluginHost.h CHANGED
@@ -42,6 +42,8 @@ public:
42
  void hideGui();
43
  int getGuiWidth() const { return guiWidth; }
44
  int getGuiHeight() const { return guiHeight; }
 
 
45
 
46
  // Event injection (from host process)
47
  void injectMouseDown(float x, float y, int button);
@@ -57,9 +59,6 @@ public:
57
  bool setStateBase64(const juce::String& base64State);
58
  void configure(double sampleRate, int blockSize, int channels);
59
 
60
- // CARemoteLayerServer port name (set after GUI is created)
61
- juce::String getLayerPortName() const { return layerPortName; }
62
-
63
  // Callback for resize
64
  std::function<void(int w, int h)> onGuiResized;
65
 
 
42
  void hideGui();
43
  int getGuiWidth() const { return guiWidth; }
44
  int getGuiHeight() const { return guiHeight; }
45
+ void setLayerPortName(const juce::String& name) { layerPortName = name; }
46
+ juce::String getLayerPortName() const { return layerPortName; }
47
 
48
  // Event injection (from host process)
49
  void injectMouseDown(float x, float y, int button);
 
59
  bool setStateBase64(const juce::String& base64State);
60
  void configure(double sampleRate, int blockSize, int channels);
61
 
 
 
 
62
  // Callback for resize
63
  std::function<void(int w, int h)> onGuiResized;
64