This commit is contained in:
mjudge%netscape.com 1998-11-29 22:13:27 +00:00
Родитель d7593198d6
Коммит 217e888e50
3 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -77,7 +77,8 @@ INCLUDES += \
-I$(PUBLIC)/js \ -I$(PUBLIC)/js \
-I$(PUBLIC)/pref \ -I$(PUBLIC)/pref \
-I$(PUBLIC)/network \ -I$(PUBLIC)/network \
-I$(PUBLIC)/xp -I$(PUBLIC)/xp \
-I$(PUBLIC)/editor
OBJS = $(CPPSRCS:.cpp=.o) OBJS = $(CPPSRCS:.cpp=.o)

Просмотреть файл

@ -53,6 +53,7 @@ LINCS= \
-I$(PUBLIC)\java \ -I$(PUBLIC)\java \
-I$(PUBLIC)\plugin \ -I$(PUBLIC)\plugin \
-I$(PUBLIC)\pref \ -I$(PUBLIC)\pref \
-I$(PUBLIC)\editor \
!if defined(NGPREFS) !if defined(NGPREFS)
-I$(PUBLIC)\ngprefs \ -I$(PUBLIC)\ngprefs \
!endif !endif

Просмотреть файл

@ -40,6 +40,9 @@
#include "nsLayoutCID.h" #include "nsLayoutCID.h"
#include "nsINetService.h" #include "nsINetService.h"
#include "nsIEditor.h"
#ifdef XP_PC #ifdef XP_PC
#define WIDGET_DLL "raptorwidget.dll" #define WIDGET_DLL "raptorwidget.dll"
#define GFXWIN_DLL "raptorgfxwin.dll" #define GFXWIN_DLL "raptorgfxwin.dll"
@ -51,6 +54,7 @@
#define DOM_DLL "jsdom.dll" #define DOM_DLL "jsdom.dll"
#define LAYOUT_DLL "raptorhtml.dll" #define LAYOUT_DLL "raptorhtml.dll"
#define NETLIB_DLL "netlib.dll" #define NETLIB_DLL "netlib.dll"
#define EDITOR_DLL "ender.dll"
#else #else
#ifdef XP_MAC #ifdef XP_MAC
#include "nsMacRepository.h" #include "nsMacRepository.h"
@ -70,6 +74,7 @@
#define DOM_DLL "libjsdom.so" #define DOM_DLL "libjsdom.so"
#define LAYOUT_DLL "libraptorhtml.so" #define LAYOUT_DLL "libraptorhtml.so"
#define NETLIB_DLL "libnetlib.so" #define NETLIB_DLL "libnetlib.so"
#define EDITOR_DLL "libender.so"
#endif #endif
#endif #endif
@ -115,6 +120,7 @@ static NS_DEFINE_IID(kCXMLDocument, NS_XMLDOCUMENT_CID);
static NS_DEFINE_IID(kCImageDocument, NS_IMAGEDOCUMENT_CID); static NS_DEFINE_IID(kCImageDocument, NS_IMAGEDOCUMENT_CID);
static NS_DEFINE_IID(kCHTMLImageElementFactory, NS_HTMLIMAGEELEMENTFACTORY_CID); static NS_DEFINE_IID(kCHTMLImageElementFactory, NS_HTMLIMAGEELEMENTFACTORY_CID);
static NS_DEFINE_IID(kNetServiceCID, NS_NETSERVICE_CID); static NS_DEFINE_IID(kNetServiceCID, NS_NETSERVICE_CID);
static NS_DEFINE_IID(kIEditFactoryIID, NS_IEDITORFACTORY_IID);
extern "C" void extern "C" void
NS_SetupRegistry() NS_SetupRegistry()
@ -160,4 +166,5 @@ NS_SetupRegistry()
nsRepository::RegisterFactory(kCImageDocument, LAYOUT_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCImageDocument, LAYOUT_DLL, PR_FALSE, PR_FALSE);
nsRepository::RegisterFactory(kCHTMLImageElementFactory, LAYOUT_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCHTMLImageElementFactory, LAYOUT_DLL, PR_FALSE, PR_FALSE);
nsRepository::RegisterFactory(kNetServiceCID, NETLIB_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kNetServiceCID, NETLIB_DLL, PR_FALSE, PR_FALSE);
nsRepository::RegisterFactory(kIEditFactoryIID, EDITOR_DLL, PR_FALSE, PR_FALSE);
} }