FreeWRL / FreeX3D 4.3.0
nsPluginNativeWindow Class Reference

base class for native plugin window implementations More...

#include <nsPluginNativeWindow.h>

Inheritance diagram for nsPluginNativeWindow:
nsPluginWindow

Public Member Functions

nsresult GetPluginInstance (nsCOMPtr< nsIPluginInstance > &aPluginInstance)
 !!! CAUTION !!!
 
nsresult SetPluginInstance (nsIPluginInstance *aPluginInstance)
 
nsresult GetPluginWidget (nsIWidget **aWidget)
 
nsresult SetPluginWidget (nsIWidget *aWidget)
 
virtual nsresult CallSetWindow (nsCOMPtr< nsIPluginInstance > &aPluginInstance)
 

Protected Attributes

nsCOMPtr< nsIPluginInstancemPluginInstance
 
nsCOMPtr< nsIWidget > mWidget
 

Additional Inherited Members

- Data Fields inherited from nsPluginWindow
nsPluginPort * window
 
PRInt32 x
 
PRInt32 y
 
PRUint32 width
 
PRUint32 height
 
nsPluginRect clipRect
 
nsPluginWindowType type
 

Detailed Description

base class for native plugin window implementations

Definition at line 54 of file nsPluginNativeWindow.h.

Constructor & Destructor Documentation

◆ nsPluginNativeWindow()

nsPluginNativeWindow::nsPluginNativeWindow ( )
inline

Definition at line 57 of file nsPluginNativeWindow.h.

◆ ~nsPluginNativeWindow()

virtual nsPluginNativeWindow::~nsPluginNativeWindow ( )
inlinevirtual

Definition at line 61 of file nsPluginNativeWindow.h.

Member Function Documentation

◆ CallSetWindow()

virtual nsresult nsPluginNativeWindow::CallSetWindow ( nsCOMPtr< nsIPluginInstance > & aPluginInstance)
inlinevirtual

Definition at line 96 of file nsPluginNativeWindow.h.

◆ GetPluginInstance()

nsresult nsPluginNativeWindow::GetPluginInstance ( nsCOMPtr< nsIPluginInstance > & aPluginInstance)
inline

!!! CAUTION !!!

The base class |nsPluginWindow| is defined as a struct in nsplugindefs.h, thus it does not have a destructor of its own. One should never attempt to delete |nsPluginNativeWindow| object instance (or derivatives) using a pointer of |nsPluginWindow *| type. Should such necessity occur it must be properly casted first.

Definition at line 76 of file nsPluginNativeWindow.h.

◆ GetPluginWidget()

nsresult nsPluginNativeWindow::GetPluginWidget ( nsIWidget ** aWidget)
inline

Definition at line 86 of file nsPluginNativeWindow.h.

◆ SetPluginInstance()

nsresult nsPluginNativeWindow::SetPluginInstance ( nsIPluginInstance * aPluginInstance)
inline

Definition at line 80 of file nsPluginNativeWindow.h.

◆ SetPluginWidget()

nsresult nsPluginNativeWindow::SetPluginWidget ( nsIWidget * aWidget)
inline

Definition at line 90 of file nsPluginNativeWindow.h.

Field Documentation

◆ mPluginInstance

nsCOMPtr<nsIPluginInstance> nsPluginNativeWindow::mPluginInstance
protected

Definition at line 117 of file nsPluginNativeWindow.h.

◆ mWidget

nsCOMPtr<nsIWidget> nsPluginNativeWindow::mWidget
protected

Definition at line 118 of file nsPluginNativeWindow.h.


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