Audacity 3.2.0
x11/PlugFrame.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file PlugFrame.h
6
7 @author Vitaly Sverchinsky
8
9 @brief Part of Audacity VST3 module
10
11**********************************************************************/
12
13#pragma once
14
15#include <wx/wx.h>
16#include <pluginterfaces/gui/iplugview.h>
17
18namespace internal
19{
20
21namespace x11
22{
23
24class PlugFrame final : public Steinberg::IPlugFrame
25{
26 wxWeakRef<wxWindow> mWindow;
27 bool mInitialized{false};
28
29 Steinberg::IPtr<Steinberg::Linux::IRunLoop> mRunLoop;
30public:
31
32 PlugFrame(Steinberg::Linux::IRunLoop* runLoop, wxWindow* window);
33 virtual ~PlugFrame();
34
35 void init(Steinberg::IPlugView* view, Steinberg::ViewRect* size);
36
37 Steinberg::tresult PLUGIN_API resizeView(Steinberg::IPlugView* view, Steinberg::ViewRect* newSize) override;
38
39 DECLARE_FUNKNOWN_METHODS
40};
41
42}
43
44}
45
void init(Steinberg::IPlugView *view, Steinberg::ViewRect *size)
Steinberg::IPtr< Steinberg::Linux::IRunLoop > mRunLoop
Definition: x11/PlugFrame.h:29
PlugFrame(Steinberg::Linux::IRunLoop *runLoop, wxWindow *window)
Steinberg::tresult PLUGIN_API resizeView(Steinberg::IPlugView *view, Steinberg::ViewRect *newSize) override
wxWeakRef< wxWindow > mWindow
Definition: x11/PlugFrame.h:26