Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsDeviceContextSpecPh.cpp File Reference
#include "nsDeviceContextSpecPh.h"
#include "nsPrintOptionsPh.h"
#include "prmem.h"
#include "plstr.h"
#include "nsPhGfxLog.h"
#include "nsGfxCIID.h"
#include "nsIPrintOptions.h"
#include "nsIDOMWindow.h"
#include "nsIDialogParamBlock.h"
#include "nsISupportsPrimitives.h"
#include "nsIWindowWatcher.h"
#include "nsIDOMWindowInternal.h"
#include "nsVoidArray.h"
#include "nsSupportsArray.h"
#include "nsString.h"
#include "nsIServiceManager.h"
#include "nsReadableUtils.h"
#include "nsIPref.h"

Go to the source code of this file.

Defines

#define Pp_COLOR_CMYK   4
#define Pp_COLOR_BW   1

Functions

static NS_DEFINE_CID (kPrefCID, NS_PREF_CID)
static void CleanupArray (PRUnichar **&aArray, PRInt32 &aCount)

Define Documentation

Definition at line 75 of file nsDeviceContextSpecPh.cpp.

Definition at line 74 of file nsDeviceContextSpecPh.cpp.


Function Documentation

static void CleanupArray ( PRUnichar **&  aArray,
PRInt32 aCount 
) [static]

Definition at line 283 of file nsDeviceContextSpecPh.cpp.

{
       for (PRInt32 i = aCount - 1; i >= 0; i--) 
       {
              nsMemory::Free(aArray[i]);
       }
       nsMemory::Free(aArray);
       aArray = NULL;
       aCount = 0;
}

Here is the caller graph for this function:

static NS_DEFINE_CID ( kPrefCID  ,
NS_PREF_CID   
) [static]