diff options
Diffstat (limited to 'muse2/muse/widgets/vst_native_editor.h')
-rw-r--r-- | muse2/muse/widgets/vst_native_editor.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/muse2/muse/widgets/vst_native_editor.h b/muse2/muse/widgets/vst_native_editor.h index 1f591275..4f06a453 100644 --- a/muse2/muse/widgets/vst_native_editor.h +++ b/muse2/muse/widgets/vst_native_editor.h @@ -24,10 +24,10 @@ #ifndef __VST_NATIVE_EDITOR_H__ #define __VST_NATIVE_EDITOR_H__ -//#include "vst_native.h" -//#include <QtGlobal> #include <QWidget> +#ifdef VST_NATIVE_SUPPORT + #if defined(Q_WS_X11) #include <QX11Info> #include <X11/Xlib.h> @@ -50,12 +50,16 @@ namespace MusECore { class VstNativeSynthIF; } +#endif // VST_NATIVE_SUPPORT + namespace MusEGui { class VstNativeEditor : public QWidget { Q_OBJECT +#ifdef VST_NATIVE_SUPPORT + #if defined(Q_WS_X11) Display* _display; Window _vstEditor; @@ -84,6 +88,8 @@ public: #endif //MusECore::VstNativeSynthIF* sif() const { return _sif; } + +#endif // VST_NATIVE_SUPPORT }; } // namespace MusEGui |