Back to index

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

List of all members.

Static Public Member Functions

static GWorldPtr GetSingletonMoviePort ()

Private Member Functions

 nsMoviePortOwner ()
 ~nsMoviePortOwner ()
void EnsureMoviePort ()
GWorldPtr GetMoviePort ()

Static Private Attributes

static GWorldPtr sMoviePort = nsnull

Detailed Description

Definition at line 649 of file nsSound.cpp.


Constructor & Destructor Documentation

nsMoviePortOwner::nsMoviePortOwner ( ) [inline, private]

Definition at line 658 of file nsSound.cpp.

{}
nsMoviePortOwner::~nsMoviePortOwner ( ) [inline, private]

Definition at line 660 of file nsSound.cpp.

              {
                if (sMoviePort)
                {
                  ::DisposeGWorld(sMoviePort);
                  sMoviePort = nsnull;
                }
              }

Member Function Documentation

void nsMoviePortOwner::EnsureMoviePort ( ) [inline, private]

Definition at line 669 of file nsSound.cpp.

              {
                if (!sMoviePort)
                {
                  Rect        gWorldBounds = {0, 0, 12, 12};
                  (void)::NewGWorld(&sMoviePort, 8, &gWorldBounds, nil, nil, 0);
                }
              }

Here is the caller graph for this function:

GWorldPtr nsMoviePortOwner::GetMoviePort ( ) [inline, private]

Definition at line 678 of file nsSound.cpp.

              {
                EnsureMoviePort();
                return sMoviePort;
              }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 692 of file nsSound.cpp.

{
  static nsMoviePortOwner   sMoviePortOwner;
  return sMoviePortOwner.GetMoviePort();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

GWorldPtr nsMoviePortOwner::sMoviePort = nsnull [static, private]

Definition at line 686 of file nsSound.cpp.


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