]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/lseditor/plugin.cpp
code cleanup
[wxWidgets.git] / utils / wxPython / modules / lseditor / plugin.cpp
CommitLineData
4b123bb9
HH
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
27void wxsPluginManager::RegisterMenuCommand( const wxString& itemName,
28 const wxString& menuName,
29 int id,
30 wxsPluginBase* forPlugin )
31{
32 // TBD::
33}
34
35void wxsPluginManager::UnregisterPlugin( wxsPluginBase* plugin )
36{
37 // TBD::
38}
39
40/***** Implementation for class wxStudioPluginBase *****/
41
42wxsPluginBase::wxsPluginBase()
43{}
44
45wxsPluginBase::~wxsPluginBase()
46{}
47
48
49wxsPluginManager& wxsPluginBase::GetPluginManager()
50{
51 wxASSERT( mpPluginMgr );
52 return *mpPluginMgr;
53}
54
55void wxsPluginBase::SetPluginManager( wxsPluginManager* pMgr )
56{
57 mpPluginMgr = pMgr;
58}