Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsPluginNativeWindow.h File Reference
#include "nscore.h"
#include "nsCOMPtr.h"
#include "nsIPluginInstance.h"
#include "nsplugindefs.h"
#include "nsIWidget.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsPluginNativeWindow
 base class for native plugin window implementations More...

Functions

nsresult PLUG_NewPluginNativeWindow (nsPluginNativeWindow **aPluginNativeWindow)
nsresult PLUG_DeletePluginNativeWindow (nsPluginNativeWindow *aPluginNativeWindow)

Function Documentation

Definition at line 82 of file nsPluginNativeWindow.cpp.

{
  NS_ENSURE_ARG_POINTER(aPluginNativeWindow);
  nsPluginNativeWindowPLATFORM *p = (nsPluginNativeWindowPLATFORM *)aPluginNativeWindow;
  delete p;
  return NS_OK;
}

Definition at line 75 of file nsPluginNativeWindow.cpp.

{
  NS_ENSURE_ARG_POINTER(aPluginNativeWindow);
  *aPluginNativeWindow = new nsPluginNativeWindowPLATFORM();
  return *aPluginNativeWindow ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}