one more file for bug 163736 - add gfx2 objects to factory, r=pavlov, sr=rbs

This commit is contained in:
alecf%netscape.com 2002-09-12 04:47:09 +00:00
Родитель 8fcc4d711d
Коммит 5e02f3f9a1
1 изменённых файлов: 8 добавлений и 3 удалений

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

@ -63,6 +63,7 @@
#include "nsNativeThemeGTK.h"
#endif
#include "nsPrintSession.h"
#include "gfxImageFrame.h"
// objects that just require generic constructors
@ -83,7 +84,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsPrinterEnumeratorGTK)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsNativeThemeGTK)
#endif
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPrintSession, Init)
NS_GENERIC_FACTory_CONSTRUCTOR(gfxImageFrame)
// our custom constructors
static NS_IMETHODIMP nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult)
@ -198,12 +199,16 @@ static const nsModuleComponentInfo components[] =
// "@mozilla.org/gfx/printer_enumerator/gtk;1",
"@mozilla.org/gfx/printerenumerator;1",
nsPrinterEnumeratorGTKConstructor },
{ "windows image frame",
GFX_IMAGEFRAME_CID,
"@mozilla.org/gfx/image/frame;2",
gfxImageFrameConstructor, },
{ "Print Session",
NS_PRINTSESSION_CID,
"@mozilla.org/gfx/printsession;1",
nsPrintSessionConstructor }
nsPrintSessionConstructor },
#ifdef NATIVE_THEME_SUPPORT
,{ "Native Theme Renderer",
{ "Native Theme Renderer",
NS_THEMERENDERER_CID,
"@mozilla.org/chrome/chrome-native-theme;1",
nsNativeThemeGTKConstructor }