]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/applet/plugin.cpp
Don't compile socket table if wxUSE_SOCKET is 0.
[wxWidgets.git] / contrib / src / applet / plugin.cpp
CommitLineData
505710ca
KB
1/****************************************************************************
2*
3* wxWindows HTML Applet Package
4*
5* Copyright (C) 1991-2001 SciTech Software, Inc.
6* All rights reserved.
7*
8* ========================================================================
9*
10* The contents of this file are subject to the wxWindows License
11* Version 3.0 (the "License"); you may not use this file except in
12* compliance with the License. You may obtain a copy of the License at
13* http://www.wxwindows.org/licence3.txt
14*
15* Software distributed under the License is distributed on an
16* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
17* implied. See the License for the specific language governing
18* rights and limitations under the License.
19*
20* ========================================================================
21*
22* Language: ANSI C++
23* Environment: Any
24*
25* Description: Main wxPlugIn class implementation
26*
27****************************************************************************/
28
505710ca
KB
29// Include private headers
30#include "wx/applet/plugin.h"
31#include "wx/applet/window.h"
32
33/*------------------------- Implementation --------------------------------*/
34
35// Implement the abstract class functions
574c939e 36IMPLEMENT_ABSTRACT_CLASS(wxPlugIn, wxEvtHandler);
505710ca
KB
37
38/****************************************************************************
39REMARKS:
40Psuedo virtual constructor for the wxPlugIn class.
41****************************************************************************/
42bool wxPlugIn::Create(
43 wxHtmlAppletWindow *parent)
44{
45 m_parent = parent;
46 return true;
47}
48
49/****************************************************************************
50REMARKS:
51Destructor for the wxPlugIn class.
52****************************************************************************/
53wxPlugIn::~wxPlugIn()
54{
55}
56
574c939e
KB
57/****************************************************************************
58REMARKS:
59Destructor for the wxPlugIn class.
60****************************************************************************/
61void wxPlugIn::Run(
62 const wxString& WXUNUSED(cmdLine))
63{
64}
505710ca 65