- // Load a new URL page
- bool LoadPage(const wxString& hRef);
-
- // Called when users clicked on hypertext link.
- void OnLinkClicked(const wxHtmlLinkInfo& link);
-
- // Handles forward navigation within the HTML stack
- bool HistoryForward();
-
- // Handles backwards navigation within the HTML stack
- bool HistoryBack();
-
- // Broadcast a message to all applets on the page
- void SendMessage(wxEvent& msg);
-
- // Register a cookie of data in the applet manager
- bool RegisterCookie(const wxString& name,wxObject *cookie);
-
- // UnRegister a cookie of data in the applet manager
- bool UnRegisterCookie(const wxString& name);
+ // Destructor
+ ~wxHtmlAppletWindow();
+
+ // Create an instance of an applet based on it's class name
+ wxApplet *CreateApplet(
+ const wxString& classId,
+ const wxString& iName,
+ const wxHtmlTag ¶ms,
+ const wxSize& size);
+
+ // Create an instance of an Qlet based on it's class name
+ bool CreatePlugIn(const wxString& classId,const wxString& cmdLine = "");
+
+ // Find an instance of an applet based on it's class name
+ wxApplet *FindApplet(const wxString& className);
+
+ // Remove an applet from the window. Called during applet destruction
+ bool RemoveApplet(const wxApplet *applet);
+
+ // Load a new URL page
+ virtual bool LoadPage(const wxString& location);
+
+ // Called when users clicked on hypertext link.
+ virtual void OnLinkClicked(const wxHtmlLinkInfo& link);
+
+ // Handles forward navigation within the HTML stack
+ bool HistoryForward();
+
+ // Handles backwards navigation within the HTML stack
+ bool HistoryBack();
+
+ // Disables Nav bars
+ void DisableNavBar();
+
+ // Enables Nav bars
+ void EnableNavBar();
+
+ void SetNavBar(wxToolBarBase *navBar);
+
+ // Broadcast a message to all applets on the page
+ void SendAppletMessage(wxAppletEvent& msg);
+
+ // Register a cookie of data in the applet manager
+ static bool RegisterCookie(const wxString& name,wxObject *cookie);
+
+ // UnRegister a cookie of data in the applet manager
+ static bool UnRegisterCookie(const wxString& name);
+
+ // Find a cookie of data given it's public name
+ static wxObject *FindCookie(const wxString& name);