From 3b6e26c2c5bcd1c6134b8f868f823aad7dbb208d Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Mon, 15 May 2000 21:58:48 +0000 Subject: [PATCH] gfx on unix is now a component git-svn-id: svn://10.0.0.236/trunk@69883 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/tests/viewer/nsSetupRegistry.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp b/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp index 991c284067e..213b5f81584 100644 --- a/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp +++ b/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp @@ -150,6 +150,7 @@ static NS_DEFINE_IID(kCTextAreaCID, NS_TEXTAREA_CID); #endif // GFXWIN +#ifndef XP_UNIX static NS_DEFINE_CID(kCRenderingContextCID, NS_RENDERING_CONTEXT_CID); static NS_DEFINE_CID(kCDeviceContextCID, NS_DEVICE_CONTEXT_CID); static NS_DEFINE_CID(kCFontMetricsCID, NS_FONT_METRICS_CID); @@ -162,6 +163,7 @@ static NS_DEFINE_CID(kCDeviceContextSpecCID, NS_DEVICE_CONTEXT_SPEC_CID); static NS_DEFINE_CID(kCDeviceContextSpecFactoryCID, NS_DEVICE_CONTEXT_SPEC_FACTORY_CID); static NS_DEFINE_CID(kImageManagerCID, NS_IMAGEMANAGER_CID); static NS_DEFINE_CID(kScreenManagerCID, NS_SCREENMANAGER_CID); +#endif // VIEW static NS_DEFINE_IID(kCViewManagerCID, NS_VIEW_MANAGER_CID); @@ -362,6 +364,7 @@ NS_SetupRegistry() #endif // GFXWIN +#ifndef XP_UNIX nsComponentManager::RegisterComponentLib(kCRenderingContextCID, "Rendering Context", "component://netscape/gfx/renderingcontext", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kCDeviceContextCID, "Device Context", "component://netscape/gfx/devicecontext", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kCFontMetricsCID, "Font Metrics", "component://netscape/gfx/fontmetrics", GFXWIN_DLL, PR_FALSE, PR_FALSE); @@ -374,6 +377,7 @@ NS_SetupRegistry() nsComponentManager::RegisterComponentLib(kCDeviceContextSpecFactoryCID, "Device Context Spec Factory", "component://netscape/gfx/devicecontextspecfactory", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kImageManagerCID, "Image Manager", "component://netscape/gfx/imagemanager", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kScreenManagerCID, "Screen Manager", "component://netscape/gfx/screenmanager", GFXWIN_DLL, PR_FALSE, PR_FALSE); +#endif // VIEW nsComponentManager::RegisterComponentLib(kCViewManagerCID, NULL, NULL, VIEW_DLL, PR_FALSE, PR_FALSE);