From 027f2b356a1acbf6e834d35fd7f20c92bc3a9771 Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Thu, 11 Jan 2001 22:14:45 +0000 Subject: [PATCH] r=peterl sr=buster Set up for the printoptions --- webshell/tests/viewer/nsSetupRegistry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webshell/tests/viewer/nsSetupRegistry.cpp b/webshell/tests/viewer/nsSetupRegistry.cpp index 0e77be486e0a..21bb9de61967 100644 --- a/webshell/tests/viewer/nsSetupRegistry.cpp +++ b/webshell/tests/viewer/nsSetupRegistry.cpp @@ -128,6 +128,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); +static NS_DEFINE_CID(kPrintOptionsCID,NS_PRINTOPTIONS_CID); #endif // VIEW @@ -222,6 +223,7 @@ NS_SetupRegistry() nsComponentManager::RegisterComponentLib(kCDeviceContextSpecFactoryCID, "Device Context Spec Factory", "@mozilla.org/gfx/devicecontextspecfactory;1", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kImageManagerCID, "Image Manager", "@mozilla.org/gfx/imagemanager;1", GFXWIN_DLL, PR_FALSE, PR_FALSE); nsComponentManager::RegisterComponentLib(kScreenManagerCID, "Screen Manager", "@mozilla.org/gfx/screenmanager;1", GFXWIN_DLL, PR_FALSE, PR_FALSE); + nsComponentManager::RegisterComponentLib(kPrintOptionsCID, "PrintOptions", "@mozilla.org/gfx/printoptions;1", GFXWIN_DLL, PR_FALSE, PR_FALSE); #endif // VIEW