This commit is contained in:
kipp%netscape.com 1998-07-18 21:49:03 +00:00
Родитель e36dce9baa
Коммит 795c7ad0ba
1 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -19,7 +19,7 @@
#define nsILinkHandler_h___
#include "nsweb.h"
#include "nsIWebWidget.h"
#include "nsISupports.h"
class nsIFrame;
class nsString;
class nsIPostData;
@ -43,9 +43,7 @@ enum nsLinkState {
*/
class nsILinkHandler : public nsISupports {
public:
NS_IMETHOD Init(nsIWebWidget* aWidget) = 0;
NS_IMETHOD GetWebWidget(nsIWebWidget** aResult) = 0;
NS_IMETHOD Init() = 0;
/**
* Process a click on a link. aFrame is the frame that contains the
@ -74,7 +72,4 @@ public:
NS_IMETHOD GetLinkState(const nsString& aURLSpec, nsLinkState& aState) = 0;
};
// Standard link handler that does what you would expect (XXX doc...)
extern NS_WEB nsresult NS_NewLinkHandler(nsILinkHandler** aInstancePtrResult);
#endif /* nsILinkHandler_h___ */