]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/applet/plugin.h
More details about the internal module name changes
[wxWidgets.git] / contrib / include / wx / applet / plugin.h
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: Header file for the wxQlet class
26 *
27 ****************************************************************************/
28
29 #ifndef __WX_PLUGIN_H
30 #define __WX_PLUGIN_H
31
32 // Forward declaration
33 class wxHtmlAppletWindow;
34
35 #include "wx/event.h"
36
37 /*--------------------------- Class Definitions ---------------------------*/
38
39 /****************************************************************************
40 REMARKS:
41 Defines the abstract base class for wxPlugIn objects.
42 ****************************************************************************/
43 class wxPlugIn : public wxEvtHandler {
44 private:
45 wxHtmlAppletWindow *m_parent;
46 DECLARE_ABSTRACT_CLASS(wxPlugIn);
47
48 public:
49 // Constructor (called during dynamic creation)
50 wxPlugIn() { m_parent = NULL; };
51
52 // Psuedo virtual constructor
53 virtual bool Create(wxHtmlAppletWindow *parent);
54
55 // Function that actually executes the main plugin code
56 virtual void Run(const wxString& cmdLine);
57
58 // Virtual destructor
59 virtual ~wxPlugIn();
60 };
61
62 #endif // __WX_PLUGIN_H
63