]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/applet/plugin.cpp
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / contrib / src / applet / plugin.cpp
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
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
36 IMPLEMENT_ABSTRACT_CLASS(wxPlugIn, wxEvtHandler);
37
38 /****************************************************************************
39 REMARKS:
40 Psuedo virtual constructor for the wxPlugIn class.
41 ****************************************************************************/
42 bool wxPlugIn::Create(
43 wxHtmlAppletWindow *parent)
44 {
45 m_parent = parent;
46 return true;
47 }
48
49 /****************************************************************************
50 REMARKS:
51 Destructor for the wxPlugIn class.
52 ****************************************************************************/
53 wxPlugIn::~wxPlugIn()
54 {
55 }
56
57 /****************************************************************************
58 REMARKS:
59 Destructor for the wxPlugIn class.
60 ****************************************************************************/
61 void wxPlugIn::Run(
62 const wxString& WXUNUSED(cmdLine))
63 {
64 }
65