]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/lseditor/plugin.cpp
lots'o' wxpython modules files
[wxWidgets.git] / utils / wxPython / modules / lseditor / plugin.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wxsplbase.cpp
3 // Purpose: General interfaces for all plug-ins in wxStudio
4 // Author: Aleksandras Gluchovas
5 // Modified by:
6 // Created: 11/04/1999
7 // RCS-ID: $Id$
8 // Copyright: (c) Aleksandars Gluchovas
9 // Licence: GNU General Public License wxWindows licence v2.0
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx/wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #ifndef WX_PRECOMP
20 #include "wx/wx.h"
21 #endif
22
23 #include "plugin.h"
24
25 /***** Implementation for class wxStudioPluginManager *****/
26
27 void wxsPluginManager::RegisterMenuCommand( const wxString& itemName,
28 const wxString& menuName,
29 int id,
30 wxsPluginBase* forPlugin )
31 {
32 // TBD::
33 }
34
35 void wxsPluginManager::UnregisterPlugin( wxsPluginBase* plugin )
36 {
37 // TBD::
38 }
39
40 /***** Implementation for class wxStudioPluginBase *****/
41
42 wxsPluginBase::wxsPluginBase()
43 {}
44
45 wxsPluginBase::~wxsPluginBase()
46 {}
47
48
49 wxsPluginManager& wxsPluginBase::GetPluginManager()
50 {
51 wxASSERT( mpPluginMgr );
52 return *mpPluginMgr;
53 }
54
55 void wxsPluginBase::SetPluginManager( wxsPluginManager* pMgr )
56 {
57 mpPluginMgr = pMgr;
58 }