This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@180345 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -48,14 +48,18 @@
|
||||
#include "nsControllerCommandTable.h"
|
||||
#include "nsCommandParams.h"
|
||||
#include "nsCommandGroup.h"
|
||||
#ifndef WINCE
|
||||
#include "nsPrintingPromptService.h"
|
||||
#endif
|
||||
#include "nsBaseCommandController.h"
|
||||
#include "nsPrompt.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsEmbedCID.h"
|
||||
|
||||
#ifdef NS_PRINTING
|
||||
#ifndef WINCE
|
||||
#include "nsPrintingPromptService.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWindowWatcher, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAppStartupNotifier)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFind)
|
||||
@@ -119,10 +123,12 @@ nsDefaultAuthPromptConstructor(nsISupports *outer, const nsIID &iid, void **resu
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDialogParamBlock)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPromptService, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsJSConsoleService)
|
||||
#ifdef NS_PRINTING
|
||||
#ifndef WINCE
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPrintingPromptService, Init)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_PROFILESHARING
|
||||
#include "nsProfileSharingSetup.h"
|
||||
@@ -135,9 +141,11 @@ static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "Dialog ParamBlock", NS_DIALOGPARAMBLOCK_CID, NS_DIALOGPARAMBLOCK_CONTRACTID, nsDialogParamBlockConstructor },
|
||||
{ "Prompt Service", NS_PROMPTSERVICE_CID, NS_PROMPTSERVICE_CONTRACTID, nsPromptServiceConstructor },
|
||||
{ "JS Console Service", NS_JSCONSOLESERVICE_CID, NS_JSCONSOLESERVICE_CONTRACTID, nsJSConsoleServiceConstructor },
|
||||
#ifdef NS_PRINTING
|
||||
#ifndef WINCE
|
||||
{ "Printing Prompt Service", NS_PRINTINGPROMPTSERVICE_CID, NS_PRINTINGPROMPTSERVICE_CONTRACTID, nsPrintingPromptServiceConstructor },
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
{ "Window Watcher", NS_WINDOWWATCHER_CID, NS_WINDOWWATCHER_CONTRACTID, nsWindowWatcherConstructor },
|
||||
{ "Find", NS_FIND_CID, NS_FIND_CONTRACTID, nsFindConstructor },
|
||||
|
||||
Reference in New Issue
Block a user