added the HandleEvent method

This commit is contained in:
valeski%netscape.com 1999-06-04 15:02:27 +00:00
parent 9326b06773
commit d459a0bb4b
3 changed files with 10 additions and 1 deletions

View File

@ -133,6 +133,13 @@ nsEventQueueImpl::GetEvent(PLEvent** aResult)
return NS_OK;
}
NS_IMETHODIMP
nsEventQueueImpl::HandleEvent(PLEvent* aEvent)
{
PL_HandleEvent(aEvent);
return NS_OK;
}
NS_IMETHODIMP_(PRInt32)
nsEventQueueImpl::GetEventQueueSelectFD()
{

View File

@ -40,6 +40,7 @@ public:
NS_IMETHOD EventAvailable(PRBool& aResult);
NS_IMETHOD GetEvent(PLEvent** aResult);
NS_IMETHOD HandleEvent(PLEvent* aEvent);
NS_IMETHOD_(PRInt32) GetEventQueueSelectFD();

View File

@ -38,7 +38,7 @@
class nsIEventQueue : public nsISupports
{
public:
static const nsIID& GetIID() { static nsIID iid = NS_IEVENTQUEUE_IID; return iid;}
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IEVENTQUEUE_IID);
NS_IMETHOD_(PRStatus) PostEvent(PLEvent* aEvent) = 0;
NS_IMETHOD PostSynchronousEvent(PLEvent* aEvent, void** aResult) = 0;
@ -48,6 +48,7 @@ public:
NS_IMETHOD EventAvailable(PRBool& aResult) = 0;
NS_IMETHOD GetEvent(PLEvent** aResult) = 0;
NS_IMETHOD HandleEvent(PLEvent* aEvent) = 0;
NS_IMETHOD_(PRInt32) GetEventQueueSelectFD() = 0;