1998-07-19 04:06:14 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "License"); you may not use this file except in
|
|
|
|
* compliance with the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS"
|
|
|
|
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
|
|
* the License for the specific language governing rights and limitations
|
|
|
|
* under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is Mozilla Communicator client code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape Communications
|
|
|
|
* Corporation. Portions created by Netscape are Copyright (C) 1998
|
|
|
|
* Netscape Communications Corporation. All Rights Reserved.
|
|
|
|
*/
|
1998-07-29 23:37:15 +00:00
|
|
|
#define NS_IMPL_IDS
|
|
|
|
#include "nsIPref.h"
|
1999-03-09 09:44:27 +00:00
|
|
|
#include "nsIComponentManager.h"
|
1998-07-19 04:06:14 +00:00
|
|
|
#include "nsWidgetsCID.h"
|
|
|
|
#include "nsGfxCIID.h"
|
|
|
|
#include "nsViewsCID.h"
|
1998-07-23 20:36:06 +00:00
|
|
|
#include "nsPluginsCID.h"
|
1998-12-02 00:28:58 +00:00
|
|
|
#include "nsRDFCID.h"
|
1998-07-23 20:36:06 +00:00
|
|
|
|
1998-07-19 04:06:14 +00:00
|
|
|
#include "nsIBrowserWindow.h"
|
|
|
|
#include "nsIWebShell.h"
|
|
|
|
#include "nsIDocumentLoader.h"
|
|
|
|
#include "nsIThrobber.h"
|
|
|
|
|
1999-01-05 05:51:30 +00:00
|
|
|
#include "nsXPComCIID.h"
|
1998-07-30 22:42:27 +00:00
|
|
|
#include "nsParserCIID.h"
|
1998-09-04 23:03:16 +00:00
|
|
|
#include "nsDOMCID.h"
|
1998-09-17 01:53:52 +00:00
|
|
|
#include "nsLayoutCID.h"
|
1998-09-17 00:55:35 +00:00
|
|
|
#include "nsINetService.h"
|
1999-04-07 05:54:35 +00:00
|
|
|
#ifdef OJI
|
1999-01-25 08:05:00 +00:00
|
|
|
#include "nsICapsManager.h"
|
|
|
|
#include "nsILiveconnect.h"
|
|
|
|
#include "nsIJVMManager.h"
|
1999-04-07 05:54:35 +00:00
|
|
|
#endif
|
1999-01-25 11:39:48 +00:00
|
|
|
#include "nsIPluginManager.h"
|
1999-01-30 17:00:54 +00:00
|
|
|
#include "nsICharsetConverterManager.h"
|
1999-03-09 01:50:03 +00:00
|
|
|
#include "nsICharsetAlias.h"
|
1999-02-23 16:25:25 +00:00
|
|
|
#include "nsIPlatformCharset.h"
|
1999-01-30 17:00:54 +00:00
|
|
|
#include "nsUCvLatinCID.h"
|
|
|
|
#include "nsUCVJACID.h"
|
|
|
|
// #include "nsUCVJA2CID.h"
|
1999-01-25 11:39:48 +00:00
|
|
|
|
1999-02-04 15:55:58 +00:00
|
|
|
#include "nsIStringBundle.h"
|
|
|
|
#include "nsUnicharUtilCIID.h"
|
|
|
|
#include "nsIProperties.h"
|
|
|
|
#include "nsCollationCID.h"
|
|
|
|
#include "nsDateTimeFormatCID.h"
|
|
|
|
#include "nsLocaleCID.h"
|
1999-02-17 15:30:26 +00:00
|
|
|
#include "nsLWBrkCIID.h"
|
1998-08-05 08:22:38 +00:00
|
|
|
|
1999-04-06 20:48:08 +00:00
|
|
|
#ifdef XP_PC
|
|
|
|
#include "nsIObserverService.h"
|
|
|
|
#include "nsIObserver.h"
|
1999-04-11 09:41:53 +00:00
|
|
|
#include "nsIProfile.h"
|
1999-04-06 20:48:08 +00:00
|
|
|
#endif
|
|
|
|
|
1999-02-25 04:30:45 +00:00
|
|
|
#include "nsIAllocator.h"
|
1999-03-01 18:09:13 +00:00
|
|
|
#include "nsIGenericFactory.h"
|
1998-11-29 22:13:27 +00:00
|
|
|
|
1999-03-12 00:04:39 +00:00
|
|
|
#include "nsSpecialSystemDirectory.h" // For exe dir
|
1999-03-12 08:51:37 +00:00
|
|
|
#include "prprf.h"
|
|
|
|
#include "prmem.h"
|
1999-03-12 00:04:39 +00:00
|
|
|
|
1998-07-19 04:06:14 +00:00
|
|
|
#ifdef XP_PC
|
1999-01-05 05:51:30 +00:00
|
|
|
#define XPCOM_DLL "xpcom32.dll"
|
1998-07-19 04:06:14 +00:00
|
|
|
#define WIDGET_DLL "raptorwidget.dll"
|
|
|
|
#define GFXWIN_DLL "raptorgfxwin.dll"
|
|
|
|
#define VIEW_DLL "raptorview.dll"
|
|
|
|
#define WEB_DLL "raptorweb.dll"
|
|
|
|
#define PLUGIN_DLL "raptorplugin.dll"
|
|
|
|
#define PREF_DLL "xppref32.dll"
|
1998-07-30 22:42:27 +00:00
|
|
|
#define PARSER_DLL "raptorhtmlpars.dll"
|
1998-09-04 23:03:16 +00:00
|
|
|
#define DOM_DLL "jsdom.dll"
|
1998-09-17 01:53:52 +00:00
|
|
|
#define LAYOUT_DLL "raptorhtml.dll"
|
1998-09-17 00:55:35 +00:00
|
|
|
#define NETLIB_DLL "netlib.dll"
|
1998-11-29 22:13:27 +00:00
|
|
|
#define EDITOR_DLL "ender.dll"
|
1998-12-02 00:28:58 +00:00
|
|
|
#define RDF_DLL "rdf.dll"
|
1999-01-25 08:05:00 +00:00
|
|
|
#define CAPS_DLL "caps.dll"
|
|
|
|
#define LIVECONNECT_DLL "jsj3250.dll"
|
|
|
|
#define OJI_DLL "oji.dll"
|
1999-01-30 17:00:54 +00:00
|
|
|
#define UCONV_DLL "uconv.dll"
|
|
|
|
#define UCVLATIN_DLL "ucvlatin.dll"
|
|
|
|
#define UCVJA_DLL "ucvja.dll"
|
|
|
|
#define UCVJA2_DLL "ucvja2.dll"
|
1999-02-04 15:55:58 +00:00
|
|
|
#define STRRES_DLL "strres.dll"
|
|
|
|
#define UNICHARUTIL_DLL "unicharutil.dll"
|
|
|
|
#define BASE_DLL "raptorbase.dll"
|
|
|
|
#define NSLOCALE_DLL "nslocale.dll"
|
1999-02-17 15:30:26 +00:00
|
|
|
#define LWBRK_DLL "lwbrk.dll"
|
1999-04-11 09:41:53 +00:00
|
|
|
#define PROFILE_DLL "xpprofile32.dll"
|
1998-07-19 04:06:14 +00:00
|
|
|
#else
|
1998-08-05 08:22:38 +00:00
|
|
|
#ifdef XP_MAC
|
1999-01-06 20:32:11 +00:00
|
|
|
#define XPCOM_DLL "XPCOM_DLL"
|
|
|
|
#define WIDGET_DLL "WIDGET_DLL"
|
|
|
|
#define GFXWIN_DLL "GFXWIN_DLL"
|
1998-12-03 01:06:00 +00:00
|
|
|
#define VIEW_DLL "VIEW_DLL"
|
|
|
|
#define WEB_DLL "WEB_DLL"
|
1999-01-06 20:32:11 +00:00
|
|
|
#define PLUGIN_DLL "PLUGIN_DLL"
|
1999-02-04 00:19:13 +00:00
|
|
|
#define CAPS_DLL "CAPS_DLL"
|
|
|
|
#define LIVECONNECT_DLL "LIVECONNECT_DLL"
|
|
|
|
#define OJI_DLL "OJI_DLL"
|
1998-12-03 01:06:00 +00:00
|
|
|
#define PREF_DLL "PREF_DLL"
|
1999-01-06 20:32:11 +00:00
|
|
|
#define PARSER_DLL "PARSER_DLL"
|
|
|
|
#define DOM_DLL "DOM_DLL"
|
|
|
|
#define LAYOUT_DLL "LAYOUT_DLL"
|
|
|
|
#define NETLIB_DLL "NETLIB_DLL"
|
|
|
|
#define EDITOR_DLL "ENDER_DLL"
|
1998-12-04 08:58:26 +00:00
|
|
|
#define RDF_DLL "RDF_DLL"
|
1999-01-30 17:00:54 +00:00
|
|
|
#define UCONV_DLL "UCONV_DLL"
|
|
|
|
#define UCVLATIN_DLL "UCVLATIN_DLL"
|
|
|
|
#define UCVJA_DLL "UCVJA_DLL"
|
|
|
|
#define UCVJA2_DLL "UCVJA2_DLL"
|
1999-02-04 15:55:58 +00:00
|
|
|
#define STRRES_DLL "STRRES_DLL"
|
|
|
|
#define UNICHARUTIL_DLL "UNICHARUTIL_DLL"
|
|
|
|
#define BASE_DLL "base.shlb"
|
|
|
|
#define NSLOCALE_DLL "NSLOCALE_DLL"
|
1999-02-17 15:30:26 +00:00
|
|
|
#define LWBRK_DLL "LWBRK_DLL"
|
1998-08-05 08:22:38 +00:00
|
|
|
#else
|
1999-01-05 05:51:30 +00:00
|
|
|
#define XPCOM_DLL "libxpcom.so"
|
1999-01-08 20:14:49 +00:00
|
|
|
/** Currently CFLAGS defines WIDGET_DLL and GFXWIN_DLL. If, for some
|
|
|
|
* reason, the cflags value doesn't get defined, use gtk,
|
|
|
|
* since that is the default.
|
|
|
|
**/
|
1998-11-01 20:01:08 +00:00
|
|
|
#ifndef WIDGET_DLL
|
1999-01-08 20:14:49 +00:00
|
|
|
#define WIDGET_DLL "libwidgetgtk.so"
|
1998-11-01 20:01:08 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GFXWIN_DLL
|
1999-01-08 20:14:49 +00:00
|
|
|
#define GFXWIN_DLL "libgfxgtk.so"
|
1998-11-01 20:01:08 +00:00
|
|
|
#endif
|
1998-07-19 04:06:14 +00:00
|
|
|
#define VIEW_DLL "libraptorview.so"
|
|
|
|
#define WEB_DLL "libraptorwebwidget.so"
|
1999-04-01 18:22:32 +00:00
|
|
|
#define PLUGIN_DLL "libraptorplugin.so"
|
1999-04-07 05:16:45 +00:00
|
|
|
#define CAPS_DLL "libcaps.so"
|
|
|
|
#define LIVECONNECT_DLL "libliveconnect.so"
|
|
|
|
#define OJI_DLL "liboji.so"
|
1998-07-19 04:06:14 +00:00
|
|
|
#define PREF_DLL "libpref.so"
|
1998-07-30 22:42:27 +00:00
|
|
|
#define PARSER_DLL "libraptorhtmlpars.so"
|
1998-09-04 23:03:16 +00:00
|
|
|
#define DOM_DLL "libjsdom.so"
|
1998-09-17 01:53:52 +00:00
|
|
|
#define LAYOUT_DLL "libraptorhtml.so"
|
1998-10-07 22:54:48 +00:00
|
|
|
#define NETLIB_DLL "libnetlib.so"
|
1998-11-29 22:13:27 +00:00
|
|
|
#define EDITOR_DLL "libender.so"
|
1998-12-02 00:28:58 +00:00
|
|
|
#define RDF_DLL "librdf.so"
|
1999-01-30 17:00:54 +00:00
|
|
|
#define UCONV_DLL "libuconv.so"
|
|
|
|
#define UCVLATIN_DLL "libucvlatin.so"
|
|
|
|
#define UCVJA_DLL "libucvja.so"
|
|
|
|
#define UCVJA2_DLL "libucvja2.so"
|
1999-02-04 15:55:58 +00:00
|
|
|
#define STRRES_DLL "libstrres.so"
|
|
|
|
#define UNICHARUTIL_DLL "libunicharutil.so"
|
|
|
|
#define BASE_DLL "libraptorbase.so"
|
|
|
|
#define NSLOCALE_DLL "libnslocale.so"
|
1999-02-17 15:30:26 +00:00
|
|
|
#define LWBRK_DLL "liblwbrk.so"
|
1998-07-19 04:06:14 +00:00
|
|
|
#endif
|
1998-08-05 08:22:38 +00:00
|
|
|
#endif
|
1998-07-19 04:06:14 +00:00
|
|
|
|
|
|
|
// Class ID's
|
1999-01-05 05:51:30 +00:00
|
|
|
static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
1999-02-25 04:30:45 +00:00
|
|
|
static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID);
|
1999-03-01 18:09:13 +00:00
|
|
|
static NS_DEFINE_IID(kGenericFactoryCID, NS_GENERICFACTORY_CID);
|
1998-07-19 04:06:14 +00:00
|
|
|
static NS_DEFINE_IID(kCFileWidgetCID, NS_FILEWIDGET_CID);
|
|
|
|
static NS_DEFINE_IID(kCWindowCID, NS_WINDOW_CID);
|
1998-08-28 16:13:56 +00:00
|
|
|
static NS_DEFINE_IID(kCDialogCID, NS_DIALOG_CID);
|
|
|
|
static NS_DEFINE_IID(kCLabelCID, NS_LABEL_CID);
|
1998-07-19 04:06:14 +00:00
|
|
|
static NS_DEFINE_IID(kCAppShellCID, NS_APPSHELL_CID);
|
1998-09-23 19:16:59 +00:00
|
|
|
static NS_DEFINE_IID(kCToolkitCID, NS_TOOLKIT_CID);
|
1998-07-19 04:06:14 +00:00
|
|
|
static NS_DEFINE_IID(kCWindowIID, NS_WINDOW_CID);
|
|
|
|
static NS_DEFINE_IID(kCScrollbarIID, NS_VERTSCROLLBAR_CID);
|
|
|
|
static NS_DEFINE_IID(kCHScrollbarIID, NS_HORZSCROLLBAR_CID);
|
|
|
|
static NS_DEFINE_IID(kCButtonCID, NS_BUTTON_CID);
|
|
|
|
static NS_DEFINE_IID(kCComboBoxCID, NS_COMBOBOX_CID);
|
|
|
|
static NS_DEFINE_IID(kCListBoxCID, NS_LISTBOX_CID);
|
|
|
|
static NS_DEFINE_IID(kCRadioButtonCID, NS_RADIOBUTTON_CID);
|
|
|
|
static NS_DEFINE_IID(kCTextAreaCID, NS_TEXTAREA_CID);
|
|
|
|
static NS_DEFINE_IID(kCTextFieldCID, NS_TEXTFIELD_CID);
|
|
|
|
static NS_DEFINE_IID(kCCheckButtonIID, NS_CHECKBUTTON_CID);
|
|
|
|
static NS_DEFINE_IID(kCChildIID, NS_CHILD_CID);
|
|
|
|
static NS_DEFINE_IID(kCRenderingContextIID, NS_RENDERING_CONTEXT_CID);
|
|
|
|
static NS_DEFINE_IID(kCDeviceContextIID, NS_DEVICE_CONTEXT_CID);
|
|
|
|
static NS_DEFINE_IID(kCFontMetricsIID, NS_FONT_METRICS_CID);
|
|
|
|
static NS_DEFINE_IID(kCImageIID, NS_IMAGE_CID);
|
|
|
|
static NS_DEFINE_IID(kCRegionIID, NS_REGION_CID);
|
1998-10-23 17:56:49 +00:00
|
|
|
static NS_DEFINE_IID(kCBlenderIID, NS_BLENDER_CID);
|
1998-11-14 01:58:34 +00:00
|
|
|
static NS_DEFINE_IID(kCDeviceContextSpecCID, NS_DEVICE_CONTEXT_SPEC_CID);
|
|
|
|
static NS_DEFINE_IID(kCDeviceContextSpecFactoryCID, NS_DEVICE_CONTEXT_SPEC_FACTORY_CID);
|
1998-07-19 04:06:14 +00:00
|
|
|
static NS_DEFINE_IID(kCViewManagerCID, NS_VIEW_MANAGER_CID);
|
|
|
|
static NS_DEFINE_IID(kCViewCID, NS_VIEW_CID);
|
|
|
|
static NS_DEFINE_IID(kCScrollingViewCID, NS_SCROLLING_VIEW_CID);
|
|
|
|
static NS_DEFINE_IID(kWebShellCID, NS_WEB_SHELL_CID);
|
1999-01-17 11:49:41 +00:00
|
|
|
static NS_DEFINE_IID(kCDocLoaderServiceCID, NS_DOCUMENTLOADER_SERVICE_CID);
|
1998-07-19 04:06:14 +00:00
|
|
|
static NS_DEFINE_IID(kThrobberCID, NS_THROBBER_CID);
|
1999-03-10 20:33:14 +00:00
|
|
|
static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
1999-02-25 04:30:45 +00:00
|
|
|
static NS_DEFINE_IID(kCPluginHostCID, NS_PLUGIN_HOST_CID);
|
1998-07-30 22:42:27 +00:00
|
|
|
static NS_DEFINE_IID(kCParserCID, NS_PARSER_IID);
|
1998-12-04 10:01:42 +00:00
|
|
|
static NS_DEFINE_CID(kWellFormedDTDCID, NS_WELLFORMEDDTD_CID);
|
1998-09-01 21:08:32 +00:00
|
|
|
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
|
1998-09-04 23:03:16 +00:00
|
|
|
static NS_DEFINE_IID(kCDOMScriptObjectFactory, NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
1998-12-22 22:03:20 +00:00
|
|
|
static NS_DEFINE_IID(kCScriptNameSetRegistry, NS_SCRIPT_NAMESET_REGISTRY_CID);
|
1998-09-17 01:53:52 +00:00
|
|
|
static NS_DEFINE_IID(kCHTMLDocument, NS_HTMLDOCUMENT_CID);
|
1998-11-11 22:07:03 +00:00
|
|
|
static NS_DEFINE_IID(kCXMLDocument, NS_XMLDOCUMENT_CID);
|
1998-09-17 01:53:52 +00:00
|
|
|
static NS_DEFINE_IID(kCImageDocument, NS_IMAGEDOCUMENT_CID);
|
1998-12-22 22:03:20 +00:00
|
|
|
static NS_DEFINE_IID(kCHTMLImageElement, NS_HTMLIMAGEELEMENT_CID);
|
1998-12-14 19:50:57 +00:00
|
|
|
static NS_DEFINE_CID(kNameSpaceManagerCID, NS_NAMESPACEMANAGER_CID);
|
1998-09-17 00:55:35 +00:00
|
|
|
static NS_DEFINE_IID(kNetServiceCID, NS_NETSERVICE_CID);
|
1999-04-01 02:02:40 +00:00
|
|
|
|
1999-04-06 20:48:08 +00:00
|
|
|
#ifdef XP_PC
|
|
|
|
static NS_DEFINE_IID(kObserverServiceCID, NS_OBSERVERSERVICE_CID);
|
|
|
|
static NS_DEFINE_IID(kObserverCID, NS_OBSERVER_CID);
|
1999-04-11 09:41:53 +00:00
|
|
|
static NS_DEFINE_IID(kProfileCID, NS_PROFILE_CID);
|
1999-04-06 20:48:08 +00:00
|
|
|
#endif
|
|
|
|
|
1999-04-01 14:25:30 +00:00
|
|
|
//#define NEW_CLIPBOARD_SUPPORT
|
|
|
|
|
1999-04-01 02:02:40 +00:00
|
|
|
#ifdef NEW_CLIPBOARD_SUPPORT
|
|
|
|
static NS_DEFINE_IID(kClipboardCID, NS_CLIPBOARD_CID);
|
|
|
|
static NS_DEFINE_IID(kTransferableCID, NS_TRANSFERABLE_CID);
|
|
|
|
static NS_DEFINE_IID(kDataFlavorCID, NS_DATAFLAVOR_CID);
|
|
|
|
static NS_DEFINE_IID(kXIFFormatConverterCID, NS_XIFFORMATCONVERTER_CID);
|
1999-04-01 14:25:30 +00:00
|
|
|
static NS_DEFINE_IID(kCDragServiceCID, NS_DRAGSERVICE_CID);
|
|
|
|
static NS_DEFINE_IID(kCDragSourceCID, NS_DRAGSOURCE_CID);
|
|
|
|
static NS_DEFINE_IID(kCDragTargetCID, NS_DRAGTARGET_CID);
|
|
|
|
static NS_DEFINE_IID(kCDraggedObjectCID, NS_DRAGGEDOBJECT_CID);
|
1999-04-01 02:02:40 +00:00
|
|
|
#endif
|
|
|
|
|
1999-03-13 00:06:29 +00:00
|
|
|
#if 0 // autoregistration now works on all platforms, and RDF self-registers, so commenting out
|
|
|
|
#if defined(XP_MAC) || defined (XP_UNIX)
|
1999-02-17 20:05:07 +00:00
|
|
|
static NS_DEFINE_CID(kRDFBookMarkDataSourceCID, NS_RDFBOOKMARKDATASOURCE_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFCompositeDataSourceCID, NS_RDFCOMPOSITEDATASOURCE_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFHTMLBuilderCID, NS_RDFHTMLBUILDER_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFInMemoryDataSourceCID, NS_RDFINMEMORYDATASOURCE_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFTreeBuilderCID, NS_RDFTREEBUILDER_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFContentSinkCID, NS_RDFCONTENTSINK_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFXMLDataSourceCID, NS_RDFXMLDATASOURCE_CID);
|
|
|
|
static NS_DEFINE_CID(kRDFXULBuilderCID, NS_RDFXULBUILDER_CID);
|
|
|
|
static NS_DEFINE_CID(kXULDataSourceCID, NS_XULDATASOURCE_CID);
|
|
|
|
static NS_DEFINE_CID(kXULDocumentCID, NS_XULDOCUMENT_CID);
|
|
|
|
static NS_DEFINE_CID(kXULContentSinkCID, NS_XULCONTENTSINK_CID);
|
|
|
|
#endif
|
1999-03-13 00:06:29 +00:00
|
|
|
#endif
|
1999-02-17 20:05:07 +00:00
|
|
|
|
1998-12-02 00:28:58 +00:00
|
|
|
static NS_DEFINE_CID(kCSSParserCID, NS_CSSPARSER_CID);
|
1998-12-04 10:01:42 +00:00
|
|
|
static NS_DEFINE_CID(kPresShellCID, NS_PRESSHELL_CID);
|
|
|
|
static NS_DEFINE_CID(kHTMLStyleSheetCID, NS_HTMLSTYLESHEET_CID);
|
1999-03-05 00:04:04 +00:00
|
|
|
static NS_DEFINE_CID(kHTMLCSSStyleSheetCID, NS_HTML_CSS_STYLESHEET_CID);
|
1998-12-04 10:01:42 +00:00
|
|
|
static NS_DEFINE_CID(kTextNodeCID, NS_TEXTNODE_CID);
|
|
|
|
static NS_DEFINE_CID(kSelectionCID, NS_SELECTION_CID);
|
1998-12-31 02:32:28 +00:00
|
|
|
static NS_DEFINE_CID(kRangeCID, NS_RANGE_CID);
|
1998-12-09 19:56:30 +00:00
|
|
|
static NS_DEFINE_CID(kRangeListCID, NS_RANGELIST_CID);
|
1999-02-16 15:47:54 +00:00
|
|
|
static NS_DEFINE_IID(kContentIteratorCID, NS_CONTENTITERATOR_CID);
|
|
|
|
static NS_DEFINE_IID(kSubtreeIteratorCID, NS_SUBTREEITERATOR_CID);
|
1998-12-10 18:05:06 +00:00
|
|
|
static NS_DEFINE_CID(kFrameUtilCID, NS_FRAME_UTIL_CID);
|
1999-02-20 02:00:12 +00:00
|
|
|
static NS_DEFINE_CID(kCEventListenerManagerCID, NS_EVENTLISTENERMANAGER_CID);
|
1998-12-02 00:28:58 +00:00
|
|
|
|
1999-01-25 08:05:00 +00:00
|
|
|
static NS_DEFINE_CID(kCPluginManagerCID, NS_PLUGINMANAGER_CID);
|
1999-04-07 05:54:35 +00:00
|
|
|
#ifdef OJI
|
1999-01-25 08:05:00 +00:00
|
|
|
static NS_DEFINE_CID(kCapsManagerCID, NS_CCAPSMANAGER_CID);
|
|
|
|
static NS_DEFINE_CID(kLiveconnectCID, NS_CLIVECONNECT_CID);
|
|
|
|
static NS_DEFINE_CID(kJVMManagerCID, NS_JVMMANAGER_CID);
|
1999-04-07 05:54:35 +00:00
|
|
|
#endif
|
1999-01-25 08:05:00 +00:00
|
|
|
|
1999-01-27 07:51:20 +00:00
|
|
|
static NS_DEFINE_IID(kCMenuBarCID, NS_MENUBAR_CID);
|
|
|
|
static NS_DEFINE_IID(kCMenuCID, NS_MENU_CID);
|
|
|
|
static NS_DEFINE_IID(kCMenuItemCID, NS_MENUITEM_CID);
|
1999-02-11 16:14:43 +00:00
|
|
|
//static NS_DEFINE_IID(kCXULCommandCID, NS_XULCOMMAND_CID);
|
1999-01-27 07:51:20 +00:00
|
|
|
|
1999-02-04 15:55:58 +00:00
|
|
|
|
1999-02-05 21:11:25 +00:00
|
|
|
static NS_DEFINE_IID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
1999-02-04 15:55:58 +00:00
|
|
|
|
|
|
|
static NS_DEFINE_IID(kUnicharUtilCID, NS_UNICHARUTIL_CID);
|
|
|
|
|
|
|
|
static NS_DEFINE_IID(kCollationCID, NS_COLLATION_CID);
|
|
|
|
static NS_DEFINE_IID(kCollationFactoryCID, NS_COLLATIONFACTORY_CID); // do we need this ???
|
|
|
|
static NS_DEFINE_IID(kDateTimeFormatCID, NS_DATETIMEFORMAT_CID);
|
|
|
|
static NS_DEFINE_IID(kLocaleCID, NS_LOCALE_CID);
|
|
|
|
static NS_DEFINE_IID(kLocaleFactoryCID, NS_LOCALEFACTORY_CID); // do we need this ???
|
|
|
|
|
1999-02-17 15:30:26 +00:00
|
|
|
static NS_DEFINE_IID(kLWBrkCID, NS_LWBRK_CID);
|
|
|
|
|
1998-07-19 04:06:14 +00:00
|
|
|
extern "C" void
|
|
|
|
NS_SetupRegistry()
|
|
|
|
{
|
1999-03-12 00:04:39 +00:00
|
|
|
// Autoregistration happens here. The rest of RegisterComponent() calls should happen
|
|
|
|
// only for dlls not in the components directory.
|
1999-03-24 19:55:38 +00:00
|
|
|
|
1999-03-12 08:51:37 +00:00
|
|
|
// Create exeDir/"components"
|
1999-03-12 00:04:39 +00:00
|
|
|
nsSpecialSystemDirectory sysdir(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
|
1999-03-12 08:51:37 +00:00
|
|
|
sysdir += "components";
|
1999-03-20 01:09:10 +00:00
|
|
|
const char *componentsDir = sysdir.GetCString(); // native path
|
1999-03-12 00:04:39 +00:00
|
|
|
if (componentsDir != NULL)
|
1999-03-12 08:51:37 +00:00
|
|
|
{
|
|
|
|
#ifdef XP_PC
|
|
|
|
/* The PC version of the directory from filePath is of the form
|
|
|
|
* /y|/moz/mozilla/dist/bin/components
|
|
|
|
* We need to remove the initial / and change the | to :
|
1999-03-20 01:06:19 +00:00
|
|
|
* for all this to work with NSPR.
|
1999-03-12 08:51:37 +00:00
|
|
|
*/
|
|
|
|
#endif /* XP_PC */
|
|
|
|
printf("nsComponentManager: Using components dir: %s\n", componentsDir);
|
1999-03-24 19:55:38 +00:00
|
|
|
|
|
|
|
#ifdef XP_MAC
|
|
|
|
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, nsnull);
|
|
|
|
#else
|
1999-03-12 08:51:37 +00:00
|
|
|
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, componentsDir);
|
1999-03-24 19:55:38 +00:00
|
|
|
#endif /* XP_MAC */
|
1999-03-12 08:51:37 +00:00
|
|
|
// XXX Look for user specific components
|
|
|
|
// XXX UNIX: ~/.mozilla/components
|
|
|
|
}
|
1999-03-12 00:04:39 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kEventQueueServiceCID, NULL, NULL, XPCOM_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kAllocatorCID, NULL, NULL, XPCOM_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kGenericFactoryCID, NULL, NULL, XPCOM_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kLookAndFeelCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCWindowIID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCScrollbarIID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCHScrollbarIID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDialogCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCLabelCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCButtonCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCComboBoxCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCFileWidgetCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCListBoxCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCRadioButtonCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCTextAreaCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCTextFieldCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCCheckButtonIID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCChildIID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCAppShellCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCToolkitCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCRenderingContextIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDeviceContextIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCFontMetricsIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCImageIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCRegionIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCBlenderIID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDeviceContextSpecCID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDeviceContextSpecFactoryCID, NULL, NULL, GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCViewManagerCID, NULL, NULL, VIEW_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCViewCID, NULL, NULL, VIEW_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCScrollingViewCID, NULL, NULL, VIEW_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kWebShellCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDocLoaderServiceCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kThrobberCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kPrefCID, NULL, NULL, PREF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCPluginHostCID, NULL, NULL, PLUGIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCParserCID, NULL, NULL, PARSER_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kWellFormedDTDCID, NULL, NULL, PARSER_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDOMScriptObjectFactory, NULL, NULL, DOM_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCScriptNameSetRegistry, NULL, NULL, DOM_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCHTMLDocument, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCXMLDocument, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCImageDocument, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCHTMLImageElement, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kNameSpaceManagerCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kNetServiceCID, NULL, NULL, NETLIB_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCEventListenerManagerCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
1998-12-02 00:28:58 +00:00
|
|
|
|
1999-04-06 20:48:08 +00:00
|
|
|
#ifdef XP_PC
|
|
|
|
nsComponentManager::RegisterComponent(kObserverServiceCID, "ObserverService", NS_OBSERVERSERVICE_PROGID, BASE_DLL,PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kObserverCID, "Observer", NS_OBSERVER_PROGID, BASE_DLL,PR_FALSE, PR_FALSE);
|
1999-04-11 09:41:53 +00:00
|
|
|
nsComponentManager::RegisterComponent(kProfileCID, NULL, NULL, PROFILE_DLL, PR_FALSE, PR_FALSE);
|
1999-04-06 20:48:08 +00:00
|
|
|
#endif
|
|
|
|
|
1999-03-13 00:06:29 +00:00
|
|
|
#if 0 // autoregistration now works on all platforms, and RDF self-registers, so commenting out
|
|
|
|
#if defined(XP_MAC) || defined (XP_UNIX)
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kRDFBookMarkDataSourceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFCompositeDataSourceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFHTMLBuilderCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFInMemoryDataSourceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFServiceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFTreeBuilderCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFContentSinkCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFXMLDataSourceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRDFXULBuilderCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kXULDataSourceCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kXULDocumentCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kXULContentSinkCID, NULL, NULL, RDF_DLL, PR_FALSE, PR_FALSE);
|
1999-03-13 00:06:29 +00:00
|
|
|
#endif
|
1999-02-17 20:05:07 +00:00
|
|
|
#endif
|
|
|
|
|
1999-04-01 02:02:40 +00:00
|
|
|
#ifdef NEW_CLIPBOARD_SUPPORT
|
|
|
|
nsComponentManager::RegisterComponent(kClipboardCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kTransferableCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kDataFlavorCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kXIFFormatConverterCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
1999-04-01 14:25:30 +00:00
|
|
|
|
|
|
|
nsComponentManager::RegisterComponent(kCDragServiceCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDragSourceCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDragTargetCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCDraggedObjectCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
1999-04-01 02:02:40 +00:00
|
|
|
#endif
|
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCSSParserCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kPresShellCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kHTMLStyleSheetCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kHTMLCSSStyleSheetCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kTextNodeCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kSelectionCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRangeCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kRangeListCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kContentIteratorCID,NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kSubtreeIteratorCID,NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kFrameUtilCID, NULL, NULL, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
1999-01-25 08:05:00 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCharsetConverterManagerCID, NULL, NULL, UCONV_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCharsetAliasCID, NULL, NULL, UCONV_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kLatin1ToUnicodeCID, NULL, NULL, UCVLATIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kISO88597ToUnicodeCID, NULL, NULL, UCVLATIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCP1253ToUnicodeCID, NULL, NULL, UCVLATIN_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kSJIS2UnicodeCID, NULL, NULL, UCVJA_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
// nsComponentManager::RegisterComponent(kEUCJPToUnicodeCID, NULL, NULL, UCVJA2_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
// nsComponentManager::RegisterComponent(kISO2022JPToUnicodeCID, NULL, NULL, UCVJA2_DLL, PR_FALSE, PR_FALSE);
|
1999-01-30 17:00:54 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kPlatformCharsetCID, NULL, NULL, UCONV_DLL, PR_FALSE, PR_FALSE);
|
1999-02-23 16:25:25 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kStringBundleServiceCID, NULL, NULL, STRRES_DLL, PR_FALSE, PR_FALSE);
|
1999-02-04 15:55:58 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kUnicharUtilCID, NULL, NULL, UNICHARUTIL_DLL, PR_FALSE, PR_FALSE);
|
1999-02-04 15:55:58 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kPropertiesCID, NULL, NULL, BASE_DLL, PR_FALSE, PR_FALSE);
|
1999-02-04 15:55:58 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCollationCID, NULL, NULL, NSLOCALE_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCollationFactoryCID, NULL, NULL, NSLOCALE_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kDateTimeFormatCID, NULL, NULL, NSLOCALE_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kLocaleCID, NULL, NULL, NSLOCALE_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kLocaleFactoryCID, NULL, NULL, NSLOCALE_DLL, PR_FALSE, PR_FALSE);
|
1999-02-04 15:55:58 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kLWBrkCID, NULL, NULL, LWBRK_DLL, PR_FALSE, PR_FALSE);
|
1999-02-17 15:30:26 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCPluginManagerCID, NULL, NULL, PLUGIN_DLL, PR_FALSE, PR_FALSE);
|
1999-04-07 05:54:35 +00:00
|
|
|
#ifdef OJI
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCapsManagerCID, NULL, NULL, CAPS_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kLiveconnectCID, NULL, NULL, LIVECONNECT_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kJVMManagerCID, NULL, NULL, OJI_DLL, PR_FALSE, PR_FALSE);
|
1999-04-07 05:54:35 +00:00
|
|
|
#endif
|
1999-01-25 08:05:00 +00:00
|
|
|
|
1999-03-09 09:44:27 +00:00
|
|
|
nsComponentManager::RegisterComponent(kCMenuBarCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCMenuCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
nsComponentManager::RegisterComponent(kCMenuItemCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
|
|
|
//nsComponentManager::RegisterComponent(kCXULCommandCID, NULL, NULL, WIDGET_DLL, PR_FALSE, PR_FALSE);
|
1998-07-19 04:06:14 +00:00
|
|
|
}
|