]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/applet/plugin.h
Renderer should only be used for GTK+ 2
[wxWidgets.git] / contrib / include / wx / applet / plugin.h
index 1aff089a25761a3dcb877c70b09cf7394574e4d4..dbbecb0e710757584715d76919cd2919c528cff5 100644 (file)
 // Forward declaration
 class wxHtmlAppletWindow;
 
+#include "wx/event.h"
+
 /*--------------------------- Class Definitions ---------------------------*/
 
 /****************************************************************************
 REMARKS:
-Defines the abstract base class for wxQlet objects.
+Defines the abstract base class for wxPlugIn objects.
 ****************************************************************************/
-class wxPlugIn : public wxObject {
+class wxPlugIn : public wxEvtHandler {
 private:
+    wxHtmlAppletWindow *m_parent;
     DECLARE_ABSTRACT_CLASS(wxPlugIn);
 
-    wxHtmlAppletWindow *m_parent;
 public:
             // Constructor (called during dynamic creation)
             wxPlugIn() { m_parent = NULL; };
@@ -50,8 +52,12 @@ public:
             // Psuedo virtual constructor
     virtual bool Create(wxHtmlAppletWindow *parent);
 
+            // Function that actually executes the main plugin code
+    virtual void Run(const wxString& cmdLine);
+
             // Virtual destructor
     virtual ~wxPlugIn();
     };
+
 #endif // __WX_PLUGIN_H