RAM2118 commited on
Commit
6c4aa19
·
verified ·
1 Parent(s): 8335f9f

Upload Source/Helper/HelperIPC.h

Browse files
Files changed (1) hide show
  1. Source/Helper/HelperIPC.h +4 -2
Source/Helper/HelperIPC.h CHANGED
@@ -1,9 +1,9 @@
1
  #pragma once
2
 
3
  #include <juce_core/juce_core.h>
 
4
  #include <thread>
5
  #include <atomic>
6
- #include <functional>
7
 
8
  class HelperPluginHost;
9
 
@@ -17,12 +17,14 @@ public:
17
  void disconnect();
18
 
19
  void sendReady();
 
 
20
  void sendParamChanged(int index, float value);
 
21
 
22
  private:
23
  void listenLoop();
24
  void handleMessage(const juce::String& message);
25
- void sendMessage(const juce::String& json);
26
 
27
  int parentPid;
28
  HelperPluginHost& host;
 
1
  #pragma once
2
 
3
  #include <juce_core/juce_core.h>
4
+ #include <string>
5
  #include <thread>
6
  #include <atomic>
 
7
 
8
  class HelperPluginHost;
9
 
 
17
  void disconnect();
18
 
19
  void sendReady();
20
+ void sendGuiReady(const juce::String& portName, int width, int height);
21
+ void sendGuiResized(int width, int height);
22
  void sendParamChanged(int index, float value);
23
+ void sendMessage(const juce::String& jsonStr);
24
 
25
  private:
26
  void listenLoop();
27
  void handleMessage(const juce::String& message);
 
28
 
29
  int parentPid;
30
  HelperPluginHost& host;