Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
PluginWindowEvent Class Reference

PLEvent handling code. More...

Inheritance diagram for PluginWindowEvent:
Inheritance graph
[legend]
Collaboration diagram for PluginWindowEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PluginWindowEvent ()
void Init (HWND hWnd, ULONG msg, MPARAM mp1, MPARAM mp2)
void Clear ()
HWND GetWnd ()
ULONG GetMsg ()
MPARAM GetWParam ()
MPARAM GetLParam ()
PRBool GetIsAlloced ()
void SetIsAlloced (PRBool aIsAlloced)
PRBool InUse ()
 PluginWindowEvent ()
void Init (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
void Clear ()
HWND GetWnd ()
UINT GetMsg ()
WPARAM GetWParam ()
LPARAM GetLParam ()
PRBool GetIsAlloced ()
void SetIsAlloced (PRBool aIsAlloced)
PRBool InUse ()

Public Attributes

PRCList link
PLHandleEventProc handler
PLDestroyEventProc destructor
voidowner
voidsynchronousResult
PRLocklock
PRCondVarcondVar
PRBool handled

Protected Attributes

HWND mWnd
ULONG mMsg
MPARAM mWParam
MPARAM mLParam
PRBool mIsAlloced
UINT mMsg
WPARAM mWParam
LPARAM mLParam

Detailed Description

PLEvent handling code.

Definition at line 69 of file nsPluginNativeWindowOS2.cpp.


Constructor & Destructor Documentation

Definition at line 90 of file nsPluginNativeWindowOS2.cpp.

{
  Clear();
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 95 of file nsPluginNativeWindowOS2.cpp.

{
  mWnd    = NULL;
  mMsg    = 0;
  mWParam = 0;
  mLParam = 0;
}

Here is the caller graph for this function:

Definition at line 78 of file nsPluginNativeWindowWin.cpp.

{ return mIsAlloced; };

Definition at line 78 of file nsPluginNativeWindowOS2.cpp.

{ return mIsAlloced; };
MPARAM PluginWindowEvent::GetLParam ( ) [inline]

Definition at line 77 of file nsPluginNativeWindowOS2.cpp.

{ return mLParam; };

Definition at line 77 of file nsPluginNativeWindowWin.cpp.

{ return mLParam; };

Definition at line 75 of file nsPluginNativeWindowOS2.cpp.

{ return mMsg; };

Definition at line 75 of file nsPluginNativeWindowWin.cpp.

{ return mMsg; };

Definition at line 74 of file nsPluginNativeWindowOS2.cpp.

{ return mWnd; };

Definition at line 74 of file nsPluginNativeWindowWin.cpp.

{ return mWnd; };
MPARAM PluginWindowEvent::GetWParam ( ) [inline]

Definition at line 76 of file nsPluginNativeWindowOS2.cpp.

{ return mWParam; };

Definition at line 76 of file nsPluginNativeWindowWin.cpp.

{ return mWParam; };
void PluginWindowEvent::Init ( HWND  hWnd,
ULONG  msg,
MPARAM  mp1,
MPARAM  mp2 
)

Definition at line 103 of file nsPluginNativeWindowOS2.cpp.

{
  NS_ASSERTION(aWnd!=NULL && aMsg!=0, "invalid plugin event value");
  NS_ASSERTION(mWnd==NULL && mMsg==0 && mWParam==0 && mLParam==0,"event already in use");
  mWnd    = aWnd;
  mMsg    = aMsg;
  mWParam = mp1;
  mLParam = mp2;
}

Here is the caller graph for this function:

void PluginWindowEvent::Init ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 103 of file nsPluginNativeWindowWin.cpp.

{
  NS_ASSERTION(aWnd!=NULL && aMsg!=0, "invalid plugin event value");
  NS_ASSERTION(mWnd==NULL && mMsg==0 && mWParam==0 && mLParam==0,"event already in use");
  mWnd    = aWnd;
  mMsg    = aMsg;
  mWParam = aWParam;
  mLParam = aLParam;
}

Definition at line 80 of file nsPluginNativeWindowOS2.cpp.

{ return (mWnd!=NULL || mMsg!=0); };

Here is the caller graph for this function:

Definition at line 80 of file nsPluginNativeWindowWin.cpp.

{ return (mWnd!=NULL || mMsg!=0); };
void PluginWindowEvent::SetIsAlloced ( PRBool  aIsAlloced) [inline]

Definition at line 79 of file nsPluginNativeWindowOS2.cpp.

{ mIsAlloced = aIsAlloced; };

Here is the caller graph for this function:

void PluginWindowEvent::SetIsAlloced ( PRBool  aIsAlloced) [inline]

Definition at line 79 of file nsPluginNativeWindowWin.cpp.

{ mIsAlloced = aIsAlloced; };

Member Data Documentation

PRCondVar * PLEvent::condVar [inherited]

Definition at line 514 of file nsIEventQueueService.idl.

Definition at line 510 of file nsIEventQueueService.idl.

PRBool PLEvent::handled [inherited]

Definition at line 515 of file nsIEventQueueService.idl.

Definition at line 509 of file nsIEventQueueService.idl.

PRCList PLEvent::link [inherited]

Definition at line 508 of file nsIEventQueueService.idl.

PRLock * PLEvent::lock [inherited]

Definition at line 513 of file nsIEventQueueService.idl.

Definition at line 87 of file nsPluginNativeWindowOS2.cpp.

MPARAM PluginWindowEvent::mLParam [protected]

Definition at line 86 of file nsPluginNativeWindowOS2.cpp.

Definition at line 86 of file nsPluginNativeWindowWin.cpp.

Definition at line 84 of file nsPluginNativeWindowOS2.cpp.

Definition at line 84 of file nsPluginNativeWindowWin.cpp.

Definition at line 80 of file nsPluginNativeWindowOS2.cpp.

Definition at line 85 of file nsPluginNativeWindowWin.cpp.

MPARAM PluginWindowEvent::mWParam [protected]

Definition at line 85 of file nsPluginNativeWindowOS2.cpp.

void * PLEvent::owner [inherited]

Definition at line 511 of file nsIEventQueueService.idl.

Definition at line 512 of file nsIEventQueueService.idl.


The documentation for this class was generated from the following files: