From 2d1b671a26de563897e25dca78fa7c57d6b50876 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 5 Apr 2005 22:27:28 +0000 Subject: [PATCH] Add the new pluggable dialog work, in build, not used BUg 135441 r=dcone,pink sr=attinasi --- embedding/components/build/nsEmbeddingModule.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/embedding/components/build/nsEmbeddingModule.cpp b/embedding/components/build/nsEmbeddingModule.cpp index ffc39a86d0e..26498c62ea0 100644 --- a/embedding/components/build/nsEmbeddingModule.cpp +++ b/embedding/components/build/nsEmbeddingModule.cpp @@ -49,6 +49,7 @@ #include "nsControllerCommandManager.h" #include "nsCommandParams.h" #include "nsCommandGroup.h" +#include "nsPrintingPromptService.h" NS_GENERIC_FACTORY_CONSTRUCTOR(nsDialogParamBlock) NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPromptService, Init) @@ -62,6 +63,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsControllerCommandManager) NS_GENERIC_FACTORY_CONSTRUCTOR(nsCommandManager) NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsCommandParams, Init) NS_GENERIC_FACTORY_CONSTRUCTOR(nsControllerCommandGroup) +NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPrintingPromptService, Init) static const nsModuleComponentInfo gComponents[] = { @@ -76,7 +78,8 @@ static const nsModuleComponentInfo gComponents[] = { { "Controller Command Manager", NS_CONTROLLERCOMMANDMANAGER_CID, NS_CONTROLLERCOMMANDMANAGER_CONTRACTID, nsControllerCommandManagerConstructor }, { "Command Manager", NS_COMMAND_MANAGER_CID, NS_COMMAND_MANAGER_CONTRACTID, nsCommandManagerConstructor }, { "Command Params", NS_COMMAND_PARAMS_CID, NS_COMMAND_PARAMS_CONTRACTID, nsCommandParamsConstructor }, - { "Command Group", NS_CONTROLLER_COMMAND_GROUP_CID, NS_CONTROLLER_COMMAND_GROUP_CONTRACTID, nsControllerCommandGroupConstructor } + { "Command Group", NS_CONTROLLER_COMMAND_GROUP_CID, NS_CONTROLLER_COMMAND_GROUP_CONTRACTID, nsControllerCommandGroupConstructor }, + { "Printing Prompt Service", NS_PRINTINGPROMPTSERVICE_CID, NS_PRINTINGPROMPTSERVICE_CONTRACTID, nsPrintingPromptServiceConstructor } }; NS_IMPL_NSGETMODULE(embedcomponents, gComponents)