include nsMacRepository.h

This commit is contained in:
pierre%netscape.com 1998-08-05 08:22:38 +00:00
parent 2adea32855
commit 727af6158b
3 changed files with 20 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include "nsParserCIID.h"
#ifdef XP_PC
#define WIDGET_DLL "raptorwidget.dll"
#define GFXWIN_DLL "raptorgfxwin.dll"
@ -46,6 +47,9 @@
#define PREF_DLL "xppref32.dll"
#define PARSER_DLL "raptorhtmlpars.dll"
#else
#ifdef XP_MAC
#include "nsMacRepository.h"
#else
#define WIDGET_DLL "libwidgetunix.so"
#define GFXWIN_DLL "libgfxunix.so"
#define VIEW_DLL "libraptorview.so"
@ -54,6 +58,7 @@
#define PREF_DLL "libpref.so"
#define PARSER_DLL "libraptorhtmlpars.so"
#endif
#endif
// Class ID's
static NS_DEFINE_IID(kCFileWidgetCID, NS_FILEWIDGET_CID);
@ -84,6 +89,7 @@ static NS_DEFINE_IID(kThrobberCID, NS_THROBBER_CID);
static NS_DEFINE_IID(kCPluginHostCID, NS_PLUGIN_HOST_CID);
static NS_DEFINE_IID(kCParserCID, NS_PARSER_IID);
extern "C" void
NS_SetupRegistry()
{

View File

@ -30,6 +30,13 @@
#include "NSReg.h"
#endif
#ifdef XP_MAC
#ifdef MOZ_NGLAYOUT
#define IMPL_MAC_REPOSITORY
#include "nsMacRepository.h"
#endif
#endif
nsHashtable *NSRepository::factories = NULL;
PRMonitor *NSRepository::monitor = NULL;

View File

@ -30,6 +30,13 @@
#include "NSReg.h"
#endif
#ifdef XP_MAC
#ifdef MOZ_NGLAYOUT
#define IMPL_MAC_REPOSITORY
#include "nsMacRepository.h"
#endif
#endif
nsHashtable *NSRepository::factories = NULL;
PRMonitor *NSRepository::monitor = NULL;