Audacity 3.2.0
VSTControlOSX.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 VSTControlOSX.h
6
7 Leland Lucius
8
9**********************************************************************/
10
11#ifndef AUDACITY_VSTCONTROLOSX_H
12#define AUDACITY_VSTCONTROLOSX_H
13
14#if !defined(_LP64)
15#include <Carbon/Carbon.h>
16#endif
17
18#include <wx/osx/core/private.h>
19#include <wx/osx/cocoa/private.h>
20
21#include "VSTControl.h"
22
23class VSTControlImpl final : public wxWidgetCocoaImpl
24{
25public :
26 VSTControlImpl(wxWindowMac *peer, NSView *view);
28};
29
30class VSTControl : public VSTControlBase
31{
32public:
35
36 bool Create(wxWindow *parent, VSTLink *link);
37 void Close();
38
39private:
41
42#if !defined(_LP64)
44 void OnSize(wxSizeEvent & evt);
45#endif
46
47private:
48 NSView *mVSTView;
49 NSView *mView;
50
51#if !defined(_LP64)
52 WindowRef mWindowRef;
53 HIViewRef mHIView;
54#endif
55};
56
57#endif
bool Create(wxWindow *parent, VSTLink *link)
HIViewRef mHIView
Definition: VSTControlOSX.h:53
void CreateCarbon()
WindowRef mWindowRef
Definition: VSTControlOSX.h:52
NSView * mVSTView
Definition: VSTControlOSX.h:48
void CreateCocoa()
void Close()
NSView * mView
Definition: VSTControlOSX.h:49
void OnSize(wxSizeEvent &evt)
VSTControlImpl(wxWindowMac *peer, NSView *view)