From 3dbf9adf38bf8a204d1fd4dfb4345f542b486933 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 14 Nov 2004 03:34:32 +0000 Subject: a bit of code for OS X editor-less Mac version svn path=/trunk/; revision=2267 --- externals/grill/vst/src/EditorMac.cpp | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 externals/grill/vst/src/EditorMac.cpp (limited to 'externals/grill/vst/src/EditorMac.cpp') diff --git a/externals/grill/vst/src/EditorMac.cpp b/externals/grill/vst/src/EditorMac.cpp new file mode 100644 index 00000000..f5316105 --- /dev/null +++ b/externals/grill/vst/src/EditorMac.cpp @@ -0,0 +1,55 @@ +/* +vst~ - VST plugin object for PD +based on the work of Jarno Seppänen and Mark Williamson + +Copyright (c)2003-2004 Thomas Grill (xovo@gmx.net) +For information on usage and redistribution, and for a DISCLAIMER OF ALL +WARRANTIES, see the file, "license.txt," in this distribution. +*/ + +#include "Editor.h" +#include "VstHost.h" +#include + + +#if FLEXT_OS == FLEXT_OS_MAC +// only Mac OSX code is situated in this file + +void SetupEditor() +{ +} + +void StartEditor(VSTPlugin *p) +{ +} + +void StopEditor(VSTPlugin *p) +{ +} + +void ShowEditor(VSTPlugin *p,bool show) +{ +} + +void MoveEditor(VSTPlugin *p,int x,int y) +{ +} + +void SizeEditor(VSTPlugin *p,int x,int y) +{ +} + +void CaptionEditor(VSTPlugin *plug,bool c) +{ +} + +void TitleEditor(VSTPlugin *p,const char *t) +{ +} + +bool IsEditorShown(const VSTPlugin *p) +{ + return false; +} + +#endif // FLEXT_OS_MAC -- cgit v1.2.1