Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsNativeAppSupportPh.cpp File Reference
#include "nsNativeAppSupport.h"
#include <photon/PxImage.h>
#include <Ph.h>
#include <Pt.h>

Go to the source code of this file.

Classes

class  nsSplashScreenPh

Defines

#define PX_IMAGE_MODULES
#define PX_BMP_SUPPORT

Functions

nsresult NS_CreateSplashScreen (nsISplashScreen **aResult)
PRBool NS_CanRun ()

Define Documentation

Definition at line 41 of file nsNativeAppSupportPh.cpp.

Definition at line 40 of file nsNativeAppSupportPh.cpp.


Function Documentation

Definition at line 207 of file nsNativeAppSupportPh.cpp.

{
       return PR_TRUE;
}

Definition at line 192 of file nsNativeAppSupportPh.cpp.

{
  if ( aResult ) {   
      *aResult = new nsSplashScreenPh;
      if ( *aResult ) {
          NS_ADDREF( *aResult );
          return NS_OK;
      } else {
          return NS_ERROR_OUT_OF_MEMORY;
      }
  } else {
      return NS_ERROR_NULL_POINTER;
  }
}

Here is the call graph for this function: