]>
git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/applet/plugin.h
1 /****************************************************************************
3 * wxWindows HTML Applet Package
5 * Copyright (C) 1991-2001 SciTech Software, Inc.
8 * ========================================================================
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
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.
20 * ========================================================================
25 * Description: Header file for the wxQlet class
27 ****************************************************************************/
32 // Forward declaration
33 class wxHtmlAppletWindow
;
37 /*--------------------------- Class Definitions ---------------------------*/
39 /****************************************************************************
41 Defines the abstract base class for wxPlugIn objects.
42 ****************************************************************************/
43 class wxPlugIn
: public wxEvtHandler
{
45 wxHtmlAppletWindow
*m_parent
;
46 DECLARE_ABSTRACT_CLASS(wxPlugIn
);
49 // Constructor (called during dynamic creation)
50 wxPlugIn() { m_parent
= NULL
; };
52 // Psuedo virtual constructor
53 virtual bool Create(wxHtmlAppletWindow
*parent
);
55 // Function that actually executes the main plugin code
56 virtual void Run(const wxString
& cmdLine
);
62 #endif // __WX_PLUGIN_H