aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vst/src/EditorThread.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-01-25 03:50:23 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-01-25 03:50:23 +0000
commitc4e8b1028a49b19c8f8dcfdbec96a02d89d05cb1 (patch)
tree4fa6fd1ca89c20ab5b3b0794c4e12410adef79a8 /externals/grill/vst/src/EditorThread.cpp
parentc33a0852fc4da4c0739a089018411854719ec1e2 (diff)
""
svn path=/trunk/; revision=1291
Diffstat (limited to 'externals/grill/vst/src/EditorThread.cpp')
-rw-r--r--externals/grill/vst/src/EditorThread.cpp61
1 files changed, 0 insertions, 61 deletions
diff --git a/externals/grill/vst/src/EditorThread.cpp b/externals/grill/vst/src/EditorThread.cpp
deleted file mode 100644
index 1622d0ca..00000000
--- a/externals/grill/vst/src/EditorThread.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-// EditorThread.cpp : implementation file
-//
-
-#include "stdafx.h"
-#include "vst.h"
-#include "EditorThread.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CEditorThread
-
-IMPLEMENT_DYNCREATE(CEditorThread, CWinThread)
-
-CEditorThread::CEditorThread(): pop(NULL) {}
-
-CEditorThread::~CEditorThread() {}
-
-
-BOOL CEditorThread::InitInstance()
-{
- // SetThreadPriority(THREAD_PRIORITY_LOWEST);
-
- m_pMainWnd = pop = new CPopupWindow;
- pop->SetPlugin( plug); // window class, size etc. is set here!
- return TRUE;
-}
-
-int CEditorThread::ExitInstance()
-{
- // TODO: perform any per-thread cleanup here
- return CWinThread::ExitInstance();
-}
-
-BEGIN_MESSAGE_MAP(CEditorThread, CWinThread)
- //{{AFX_MSG_MAP(CEditorThread)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CEditorThread message handlers
-
-void CEditorThread::SetPlugin(VSTPlugin *p)
-{
- plug = p;
-}
-
-void CEditorThread::Close()
-{
- if(pop) pop->SendMessage(WM_CLOSE);
-}
-
-void CEditorThread::Show(bool show)
-{
- if(pop) pop->ShowWindow(show);
-} \ No newline at end of file