Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsXPInstallManager.cpp File Reference
#include "nscore.h"
#include "pratom.h"
#include "prmem.h"
#include "prprf.h"
#include "nsInt64.h"
#include "nsISupports.h"
#include "nsIServiceManager.h"
#include "nsIURL.h"
#include "nsIFileURL.h"
#include "nsITransport.h"
#include "nsIOutputStream.h"
#include "nsNetUtil.h"
#include "nsIInputStream.h"
#include "nsIFileStreams.h"
#include "nsIStreamListener.h"
#include "nsICryptoHash.h"
#include "nsISoftwareUpdate.h"
#include "nsSoftwareUpdateIIDs.h"
#include "nsXPITriggerInfo.h"
#include "nsXPInstallManager.h"
#include "nsInstallTrigger.h"
#include "nsInstallResources.h"
#include "nsIProxyObjectManager.h"
#include "nsIWindowWatcher.h"
#include "nsIAuthPrompt.h"
#include "nsIWindowMediator.h"
#include "nsIDOMWindowInternal.h"
#include "nsDirectoryService.h"
#include "nsDirectoryServiceDefs.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsReadableUtils.h"
#include "nsProxiedService.h"
#include "nsIPromptService.h"
#include "nsIScriptGlobalObject.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsIObserverService.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "CertReader.h"
#include "nsEmbedCID.h"
#include "nsIEventQueueService.h"

Go to the source code of this file.

Defines

#define PREF_XPINSTALL_ENABLED   "xpinstall.enabled"
#define PREF_XPINSTALL_CONFIRM_DLG   "xpinstall.dialog.confirm"
#define PREF_XPINSTALL_STATUS_DLG_SKIN   "xpinstall.dialog.progress.skin"
#define PREF_XPINSTALL_STATUS_DLG_CHROME   "xpinstall.dialog.progress.chrome"
#define PREF_XPINSTALL_STATUS_DLG_TYPE_SKIN   "xpinstall.dialog.progress.type.skin"
#define PREF_XPINSTALL_STATUS_DLG_TYPE_CHROME   "xpinstall.dialog.progress.type.chrome"
#define UPDATE_DLG(x)   (((x) - mLastUpdate) > 250000)
#define XPI_ODA_BUFFER_SIZE   8*1024

Functions

static NS_DEFINE_IID (kProxyObjectManagerCID, NS_PROXYEVENT_MANAGER_CID)
static NS_DEFINE_IID (kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID)
 NS_IMPL_THREADSAFE_ISUPPORTS9 (nsXPInstallManager, nsIXPIListener, nsIXPIDialogService, nsIXPInstallManager, nsIObserver, nsIStreamListener, nsIProgressEventSink, nsIInterfaceRequestor, nsPICertNotification, nsISupportsWeakReference) NS_IMETHODIMP nsXPInstallManager

Define Documentation

#define PREF_XPINSTALL_CONFIRM_DLG   "xpinstall.dialog.confirm"

Definition at line 96 of file nsXPInstallManager.cpp.

#define PREF_XPINSTALL_ENABLED   "xpinstall.enabled"

Definition at line 95 of file nsXPInstallManager.cpp.

#define PREF_XPINSTALL_STATUS_DLG_CHROME   "xpinstall.dialog.progress.chrome"

Definition at line 98 of file nsXPInstallManager.cpp.

#define PREF_XPINSTALL_STATUS_DLG_SKIN   "xpinstall.dialog.progress.skin"

Definition at line 97 of file nsXPInstallManager.cpp.

#define PREF_XPINSTALL_STATUS_DLG_TYPE_CHROME   "xpinstall.dialog.progress.type.chrome"

Definition at line 100 of file nsXPInstallManager.cpp.

#define PREF_XPINSTALL_STATUS_DLG_TYPE_SKIN   "xpinstall.dialog.progress.type.skin"

Definition at line 99 of file nsXPInstallManager.cpp.

#define UPDATE_DLG (   x)    (((x) - mLastUpdate) > 250000)

Definition at line 102 of file nsXPInstallManager.cpp.


Function Documentation

static NS_DEFINE_IID ( kProxyObjectManagerCID  ,
NS_PROXYEVENT_MANAGER_CID   
) [static]
static NS_DEFINE_IID ( kStringBundleServiceCID  ,
NS_STRINGBUNDLESERVICE_CID   
) [static]

Definition at line 133 of file nsXPInstallManager.cpp.

{
    return InitManagerWithHashes(aURLs, nsnull, aURLCount, aListener);
}