aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-13 07:21:14 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-13 07:21:14 +0800
commit3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c (patch)
treec9ab12582e159802432fb1ad70b65d6deb369302 /embed/mozilla/MozRegisterComponents.cpp
parentdaf109345e833a5e2e366e09162c83fe5a213cc6 (diff)
downloadgsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar.gz
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar.bz2
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar.lz
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar.xz
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.tar.zst
gsoc2013-epiphany-3d42f2eccf6cdc5b4c8645fcbc97f66b46d7c70c.zip
A embed/mozilla/EphyPromptService.cpp: A
2006-01-13 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/EphyPromptService.cpp: A embed/mozilla/EphyPromptService.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * po/POTFILES.in: Implement nsIPromptService ourself.
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 2e392f408..a7fe6d08b 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -31,6 +31,7 @@
#include "EphyContentPolicy.h"
#include "EphySidebar.h"
#include "EphyAboutModule.h"
+#include "EphyPromptService.h"
#ifdef ENABLE_FILEPICKER
#include "FilePicker.h"
@@ -62,6 +63,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GPrintingPromptService)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyContentPolicy)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphySidebar)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyAboutModule)
+NS_GENERIC_FACTORY_CONSTRUCTOR(EphyPromptService)
#ifdef ENABLE_FILEPICKER
NS_GENERIC_FACTORY_CONSTRUCTOR(GFilePicker)
@@ -221,6 +223,12 @@ static const nsModuleComponentInfo sAppComps[] = {
EphyAboutModuleConstructor
},
#endif
+ {
+ EPHY_PROMPT_SERVICE_CLASSNAME,
+ EPHY_PROMPT_SERVICE_IID,
+ "@mozilla.org/embedcomp/prompt-service;1",
+ EphyPromptServiceConstructor
+ },
};
#if defined(HAVE_MOZILLA_PSM) && !defined(HAVE_GECKO_1_8)