Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Static Public Attributes | Static Private Attributes
nsATSUIUtils Class Reference

#include <nsATSUIUtils.h>

Collaboration diagram for nsATSUIUtils:
Collaboration graph

List of all members.

Static Public Member Functions

static void Initialize ()
static PRBool IsAvailable ()

Static Public Attributes

static ATSUILayoutCachegTxLayoutCache = nsnull

Static Private Attributes

static PRBool gIsAvailable = PR_FALSE
static PRBool gInitialized = PR_FALSE

Detailed Description

Definition at line 54 of file nsATSUIUtils.h.

Member Function Documentation

Definition at line 210 of file nsATSUIUtils.cpp.

  if (!gInitialized)
    long version;
    gIsAvailable = (::Gestalt(gestaltATSUVersion, &version) == noErr);

    gTxLayoutCache = new ATSUILayoutCache();
    if (!gTxLayoutCache)
      gIsAvailable = PR_FALSE;

    gInitialized = PR_TRUE;

Definition at line 230 of file nsATSUIUtils.cpp.

       return gIsAvailable;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 64 of file nsATSUIUtils.h.

Definition at line 63 of file nsATSUIUtils.h.

Definition at line 60 of file nsATSUIUtils.h.

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