Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsAppShell.cpp File Reference
#include "nsAppShell.h"
#include "nsIEventQueueService.h"
#include "nsIServiceManager.h"
#include "nsIWidget.h"
#include "nsIAppShell.h"
#include "nsSwitchToUIThread.h"
#include "plevent.h"
#include "prprf.h"
#include "nsGUIEvent.h"
#include <Application.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  ThreadInterfaceData
struct  EventItem

Functions

static sem_id my_find_sem (const char *name)
 NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)

Variables

static int gBAppCount = 0

Class Documentation

struct ThreadInterfaceData

Definition at line 57 of file nsAppShell.cpp.

Class Members
void * data
thread_id waitingThread
struct EventItem

Definition at line 212 of file nsXFormsUtils.cpp.

Collaboration diagram for EventItem:
Class Members
int32 code
nsCOMArray
< nsIXFormsContextInfo > *
contextInfo
nsXFormsEvent event
nsCOMPtr< nsIDOMNode > eventTarget
ThreadInterfaceData ifdata
nsCOMPtr< nsIDOMElement > srcElement

Function Documentation

static sem_id my_find_sem ( const char *  name) [static]

Definition at line 69 of file nsAppShell.cpp.

{
  sem_id      ret = B_ERROR;

  /* Get the sem_info for every sempahore in this team. */
  sem_info info;
  int32 cookie = 0;

  while(get_next_sem_info(0, &cookie, &info) == B_OK)
  {
    if(strcmp(name, info.name) == 0)
    {
      ret = info.sem;
      break;
    }
  }
  return ret;
}

Here is the caller graph for this function:


Variable Documentation

int gBAppCount = 0 [static]

Definition at line 55 of file nsAppShell.cpp.