]>
Commit | Line | Data |
---|---|---|
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: 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 | ||
574c939e KB |
35 | #include "wx/event.h" |
36 | ||
505710ca KB |
37 | /*--------------------------- Class Definitions ---------------------------*/ |
38 | ||
39 | /**************************************************************************** | |
40 | REMARKS: | |
574c939e | 41 | Defines the abstract base class for wxPlugIn objects. |
505710ca | 42 | ****************************************************************************/ |
574c939e | 43 | class wxPlugIn : public wxEvtHandler { |
505710ca | 44 | private: |
574c939e | 45 | wxHtmlAppletWindow *m_parent; |
505710ca KB |
46 | DECLARE_ABSTRACT_CLASS(wxPlugIn); |
47 | ||
505710ca KB |
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 | ||
574c939e KB |
55 | // Function that actually executes the main plugin code |
56 | virtual void Run(const wxString& cmdLine); | |
57 | ||
505710ca KB |
58 | // Virtual destructor |
59 | virtual ~wxPlugIn(); | |
60 | }; | |
574c939e | 61 | |
505710ca KB |
62 | #endif // __WX_PLUGIN_H |
63 |