Audacity
3.2.0
src
effects
VST
VSTControl.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
VSTControl.h
6
7
Leland Lucius
8
9
**********************************************************************/
10
11
#ifndef AUDACITY_VSTCONTROL_H
12
#define AUDACITY_VSTCONTROL_H
13
14
#include <wx/control.h>
// to inherit
15
16
#include "
VSTWrapper.h
"
// for VSTLink
17
18
class
VSTControlBase
/* not final */
:
public
wxControl
19
{
20
public
:
21
VSTControlBase
()
22
{
23
mParent
= NULL;
24
mLink
= NULL;
25
}
26
27
virtual
~VSTControlBase
()
28
{
29
}
30
31
virtual
bool
Create
(wxWindow *parent,
VSTLink
*link)
32
{
33
mParent
= parent;
34
mLink
= link;
35
36
if
(!wxControl::Create(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER | wxTAB_TRAVERSAL, wxDefaultValidator, wxEmptyString))
37
{
38
return
false
;
39
}
40
41
return
true
;
42
}
43
44
protected
:
45
wxWindow *
mParent
;
46
VSTLink
*
mLink
;
47
};
48
49
#endif
VSTWrapper.h
VSTControlBase
Definition:
VSTControl.h:19
VSTControlBase::~VSTControlBase
virtual ~VSTControlBase()
Definition:
VSTControl.h:27
VSTControlBase::mParent
wxWindow * mParent
Definition:
VSTControl.h:45
VSTControlBase::Create
virtual bool Create(wxWindow *parent, VSTLink *link)
Definition:
VSTControl.h:31
VSTControlBase::VSTControlBase
VSTControlBase()
Definition:
VSTControl.h:21
VSTControlBase::mLink
VSTLink * mLink
Definition:
VSTControl.h:46
VSTLink
Definition:
VSTWrapper.h:64
Generated by
1.9.3