FreeWRL/FreeX3D  3.0.0
nsPluginNativeWindow Class Reference

base class for native plugin window implementations More...

import"nsIPluginHost.idl";

Inheritance diagram for nsPluginNativeWindow:
nsPluginWindow nsPluginWindow

Public Member Functions

nsresult GetPluginInstance (nsCOMPtr< nsIPluginInstance > &aPluginInstance)
 !!! CAUTION !!! More...
 
nsresult SetPluginInstance (nsIPluginInstance *aPluginInstance)
 
nsresult GetPluginWidget (nsIWidget **aWidget)
 
nsresult SetPluginWidget (nsIWidget *aWidget)
 
virtual nsresult CallSetWindow (nsCOMPtr< nsIPluginInstance > &aPluginInstance)
 
nsresult GetPluginInstance (nsCOMPtr< nsIPluginInstance > &aPluginInstance)
 !!! CAUTION !!! More...
 
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 nsIPluginHost.idl.

Member Function Documentation

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 nsIPluginHost.idl.

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.


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