2015-04-09 20:25:05 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2009-05-18 22:15:05 +04:00
|
|
|
#ifndef mozilla_XPCOM_h
|
|
|
|
#define mozilla_XPCOM_h
|
|
|
|
|
|
|
|
// NOTE: the following headers are sorted topologically, not alphabetically.
|
|
|
|
// Do not reorder them without review from bsmedberg.
|
|
|
|
|
|
|
|
// system headers required by XPCOM headers
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
2017-07-04 09:04:51 +03:00
|
|
|
#ifndef MOZILLA_INTERNAL_API
|
|
|
|
#error "MOZILLA_INTERNAL_API must be defined"
|
|
|
|
#endif
|
|
|
|
|
2009-05-18 22:15:05 +04:00
|
|
|
// core headers required by pretty much everything else
|
|
|
|
|
|
|
|
#include "nscore.h"
|
|
|
|
|
|
|
|
#include "nsXPCOMCID.h"
|
|
|
|
#include "nsXPCOM.h"
|
|
|
|
|
|
|
|
#include "nsError.h"
|
|
|
|
#include "nsDebug.h"
|
|
|
|
#include "nsMemory.h"
|
|
|
|
|
|
|
|
#include "nsID.h"
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
|
|
|
|
#include "nsTArray.h"
|
|
|
|
#include "nsTWeakRef.h"
|
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsCOMArray.h"
|
|
|
|
|
|
|
|
#include "nsString.h"
|
|
|
|
#include "nsReadableUtils.h"
|
|
|
|
#include "nsNativeCharsetUtils.h"
|
|
|
|
|
|
|
|
#include "nsISupportsUtils.h"
|
|
|
|
#include "nsISupportsImpl.h"
|
|
|
|
|
|
|
|
// core data structures
|
|
|
|
|
|
|
|
#include "nsTHashtable.h"
|
|
|
|
#include "nsHashKeys.h"
|
|
|
|
#include "nsBaseHashtable.h"
|
|
|
|
#include "nsDataHashtable.h"
|
|
|
|
#include "nsInterfaceHashtable.h"
|
|
|
|
#include "nsClassHashtable.h"
|
|
|
|
#include "nsRefPtrHashtable.h"
|
|
|
|
|
|
|
|
// interfaces that inherit directly from nsISupports
|
|
|
|
|
|
|
|
#include "nsIArray.h"
|
2017-10-03 01:05:19 +03:00
|
|
|
#include "nsAtom.h"
|
2009-05-18 22:15:05 +04:00
|
|
|
#include "nsICategoryManager.h"
|
|
|
|
#include "nsIClassInfo.h"
|
|
|
|
#include "nsIComponentManager.h"
|
|
|
|
#include "nsIConsoleListener.h"
|
|
|
|
#include "nsIConsoleMessage.h"
|
|
|
|
#include "nsIConsoleService.h"
|
2015-05-07 08:28:37 +03:00
|
|
|
#include "nsIDebug2.h"
|
2009-05-18 22:15:05 +04:00
|
|
|
#include "nsIDirectoryEnumerator.h"
|
|
|
|
#include "nsIEnvironment.h"
|
|
|
|
#include "nsIErrorService.h"
|
|
|
|
#include "nsIEventTarget.h"
|
|
|
|
#include "nsIException.h"
|
|
|
|
#include "nsIFactory.h"
|
|
|
|
#include "nsIFile.h"
|
|
|
|
#include "nsIHashable.h"
|
|
|
|
#include "nsIINIParser.h"
|
|
|
|
#include "nsIInputStream.h"
|
|
|
|
#include "nsIInterfaceRequestor.h"
|
|
|
|
#include "nsILineInputStream.h"
|
|
|
|
#include "nsIMemory.h"
|
|
|
|
#include "nsIMutable.h"
|
|
|
|
#include "nsIObserver.h"
|
|
|
|
#include "nsIObserverService.h"
|
|
|
|
#include "nsIOutputStream.h"
|
|
|
|
#include "nsIProcess.h"
|
|
|
|
#include "nsIProperties.h"
|
|
|
|
#include "nsIPropertyBag2.h"
|
|
|
|
#include "nsIRunnable.h"
|
|
|
|
#include "nsISeekableStream.h"
|
|
|
|
#include "nsISerializable.h"
|
|
|
|
#include "nsIServiceManager.h"
|
|
|
|
#include "nsIScriptableInputStream.h"
|
|
|
|
#include "nsISimpleEnumerator.h"
|
|
|
|
#include "nsIStreamBufferAccess.h"
|
|
|
|
#include "nsIStringEnumerator.h"
|
|
|
|
#include "nsIStorageStream.h"
|
|
|
|
#include "nsISupportsIterators.h"
|
|
|
|
#include "nsISupportsPrimitives.h"
|
|
|
|
#include "nsISupportsPriority.h"
|
|
|
|
#include "nsIThreadManager.h"
|
|
|
|
#include "nsITimer.h"
|
|
|
|
#include "nsIUUIDGenerator.h"
|
|
|
|
#include "nsIUnicharInputStream.h"
|
|
|
|
#include "nsIUnicharOutputStream.h"
|
|
|
|
#include "nsIUnicharLineInputStream.h"
|
|
|
|
#include "nsIVariant.h"
|
|
|
|
#include "nsIVersionComparator.h"
|
|
|
|
#include "nsIWritablePropertyBag2.h"
|
|
|
|
|
|
|
|
// interfaces that include something above
|
|
|
|
|
|
|
|
#include "nsIAsyncInputStream.h"
|
|
|
|
#include "nsIAsyncOutputStream.h"
|
|
|
|
#include "nsIBinaryInputStream.h"
|
|
|
|
#include "nsIBinaryOutputStream.h"
|
|
|
|
#include "nsIConverterInputStream.h"
|
|
|
|
#include "nsIConverterOutputStream.h"
|
|
|
|
#include "nsIInputStreamTee.h"
|
|
|
|
#include "nsIMultiplexInputStream.h"
|
|
|
|
#include "nsIMutableArray.h"
|
|
|
|
#include "nsIPersistentProperties2.h"
|
|
|
|
#include "nsIStringStream.h"
|
|
|
|
#include "nsIThread.h"
|
|
|
|
#include "nsIThreadPool.h"
|
|
|
|
|
|
|
|
// interfaces that include something above
|
|
|
|
|
|
|
|
#include "nsILocalFileWin.h"
|
|
|
|
#include "nsIObjectInputStream.h"
|
|
|
|
#include "nsIObjectOutputStream.h"
|
|
|
|
#include "nsIPipe.h"
|
|
|
|
|
2010-04-27 16:57:34 +04:00
|
|
|
#ifdef MOZ_WIDGET_COCOA
|
2009-05-18 22:15:05 +04:00
|
|
|
#include "nsILocalFileMac.h"
|
|
|
|
#include "nsIMacUtils.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// xpcom/glue utility headers
|
|
|
|
|
|
|
|
#include "nsComponentManagerUtils.h"
|
|
|
|
#include "nsServiceManagerUtils.h"
|
|
|
|
|
|
|
|
#include "nsIWeakReferenceUtils.h"
|
|
|
|
#include "nsWeakReference.h"
|
|
|
|
|
|
|
|
#include "nsArrayEnumerator.h"
|
|
|
|
#include "nsArrayUtils.h"
|
|
|
|
#include "nsCRTGlue.h"
|
|
|
|
#include "nsCycleCollectionParticipant.h"
|
|
|
|
#include "nsDeque.h"
|
|
|
|
#include "nsEnumeratorUtils.h"
|
|
|
|
#include "nsIClassInfoImpl.h"
|
2010-06-10 22:11:11 +04:00
|
|
|
#include "mozilla/ModuleUtils.h"
|
2009-05-18 22:15:05 +04:00
|
|
|
#include "nsIInterfaceRequestorUtils.h"
|
|
|
|
#include "nsINIParser.h"
|
|
|
|
#include "nsProxyRelease.h"
|
|
|
|
#include "nsTObserverArray.h"
|
|
|
|
#include "nsTextFormatter.h"
|
|
|
|
#include "nsThreadUtils.h"
|
|
|
|
#include "nsVersionComparator.h"
|
|
|
|
#include "nsXPTCUtils.h"
|
|
|
|
|
|
|
|
// xpcom/base utility headers
|
|
|
|
|
|
|
|
#include "nsAgg.h"
|
|
|
|
#include "nsAutoRef.h"
|
|
|
|
#include "nsInterfaceRequestorAgg.h"
|
|
|
|
|
|
|
|
// xpcom/io utility headers
|
|
|
|
|
|
|
|
#include "nsAppDirectoryServiceDefs.h"
|
|
|
|
#include "nsDirectoryServiceDefs.h"
|
|
|
|
#include "nsDirectoryServiceUtils.h"
|
|
|
|
|
|
|
|
#endif // mozilla_XPCOM_h
|