Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsGTKRemoteService.cpp File Reference
#include "nsGTKRemoteService.h"
#include <X11/Xatom.h>
#include <stdlib.h>
#include <gtk/gtkinvisible.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include "nsIBaseWindow.h"
#include "nsIDocShell.h"
#include "nsIDOMWindow.h"
#include "nsIGenericFactory.h"
#include "nsILocalFile.h"
#include "nsIObserverService.h"
#include "nsIScriptGlobalObject.h"
#include "nsIServiceManager.h"
#include "nsIWeakReference.h"
#include "nsIWidget.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#include "prprf.h"
#include "prenv.h"
#include "nsCRT.h"
#include "nsISuiteRemoteService.h"

Go to the source code of this file.

Defines

#define MOZILLA_VERSION_PROP   "_MOZILLA_VERSION"
#define MOZILLA_LOCK_PROP   "_MOZILLA_LOCK"
#define MOZILLA_COMMAND_PROP   "_MOZILLA_COMMAND"
#define MOZILLA_RESPONSE_PROP   "_MOZILLA_RESPONSE"
#define MOZILLA_USER_PROP   "_MOZILLA_USER"
#define MOZILLA_PROFILE_PROP   "_MOZILLA_PROFILE"
#define MOZILLA_PROGRAM_PROP   "_MOZILLA_PROGRAM"
#define MOZILLA_COMMANDLINE_PROP   "_MOZILLA_COMMANDLINE"
#define TO_LITTLE_ENDIAN32(x)   (x)
#define ARRAY_LENGTH(array_)   (sizeof(array_)/sizeof(array_[0]))
#define CMP_GATOM_XATOM(gatom, xatom)   (gatom == xatom)
#define NS_REMOTESERVICE_CID   { 0xc0773e90, 0x5799, 0x4eff, { 0xad, 0x3, 0x3e, 0xbc, 0xd8, 0x56, 0x24, 0xac } }

Functions

 NS_IMPL_QUERY_INTERFACE2 (nsGTKRemoteService, nsIRemoteService, nsIObserver) nsGTKRemoteService

Variables

const unsigned char kRemoteVersion [] = "5.0"
static char * XAtomNames []
static Atom XAtoms [ARRAY_LENGTH(XAtomNames)]
static const nsModuleComponentInfo components []

Define Documentation

#define ARRAY_LENGTH (   array_)    (sizeof(array_)/sizeof(array_[0]))

Definition at line 227 of file nsGTKRemoteService.cpp.

#define CMP_GATOM_XATOM (   gatom,
  xatom 
)    (gatom == xatom)

Definition at line 441 of file nsGTKRemoteService.cpp.

#define MOZILLA_COMMAND_PROP   "_MOZILLA_COMMAND"

Definition at line 77 of file nsGTKRemoteService.cpp.

#define MOZILLA_COMMANDLINE_PROP   "_MOZILLA_COMMANDLINE"

Definition at line 82 of file nsGTKRemoteService.cpp.

#define MOZILLA_LOCK_PROP   "_MOZILLA_LOCK"

Definition at line 76 of file nsGTKRemoteService.cpp.

#define MOZILLA_PROFILE_PROP   "_MOZILLA_PROFILE"

Definition at line 80 of file nsGTKRemoteService.cpp.

#define MOZILLA_PROGRAM_PROP   "_MOZILLA_PROGRAM"

Definition at line 81 of file nsGTKRemoteService.cpp.

#define MOZILLA_RESPONSE_PROP   "_MOZILLA_RESPONSE"

Definition at line 78 of file nsGTKRemoteService.cpp.

#define MOZILLA_USER_PROP   "_MOZILLA_USER"

Definition at line 79 of file nsGTKRemoteService.cpp.

#define MOZILLA_VERSION_PROP   "_MOZILLA_VERSION"

Definition at line 75 of file nsGTKRemoteService.cpp.

#define NS_REMOTESERVICE_CID   { 0xc0773e90, 0x5799, 0x4eff, { 0xad, 0x3, 0x3e, 0xbc, 0xd8, 0x56, 0x24, 0xac } }

Definition at line 570 of file nsGTKRemoteService.cpp.

#define TO_LITTLE_ENDIAN32 (   x)    (x)

Definition at line 89 of file nsGTKRemoteService.cpp.


Function Documentation

Definition at line 98 of file nsGTKRemoteService.cpp.

{
  return 1;
}

Variable Documentation

Initial value:
{
  { "Remote Service",
    NS_REMOTESERVICE_CID,
    "@mozilla.org/toolkit/remote-service;1",
    nsGTKRemoteServiceConstructor
  }
}

Definition at line 575 of file nsGTKRemoteService.cpp.

const unsigned char kRemoteVersion[] = "5.0"

Definition at line 95 of file nsGTKRemoteService.cpp.

char* XAtomNames[] [static]
Atom XAtoms[ARRAY_LENGTH(XAtomNames)] [static]

Definition at line 240 of file nsGTKRemoteService.cpp.