aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyPromptService.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-03 01:56:28 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-03 01:56:28 +0800
commitb311ff4ba10c572412ff812806a9e53c8928500c (patch)
tree1531366f72dbe745e96861f65465476e95936d7f /embed/mozilla/EphyPromptService.h
parent02459287792457cac98e02641a7d2aaad303b88d (diff)
downloadgsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar.gz
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar.bz2
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar.lz
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar.xz
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.tar.zst
gsoc2013-epiphany-b311ff4ba10c572412ff812806a9e53c8928500c.zip
Add GECKO_CHECK_HEADERS, wrapping AC_CHECK_HEADERS.
2006-02-02 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add GECKO_CHECK_HEADERS, wrapping AC_CHECK_HEADERS. * configure.ac: Simplify some header checks with GECKO_CHECK_HEADERS. Check for nsINonBlockingAlertService.h. * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/EphyPromptService.h: * embed/mozilla/MozRegisterComponents.cpp: Implement nsINonBlockingAlertService.
Diffstat (limited to 'embed/mozilla/EphyPromptService.h')
-rw-r--r--embed/mozilla/EphyPromptService.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/embed/mozilla/EphyPromptService.h b/embed/mozilla/EphyPromptService.h
index 0eb100d76..915ecf947 100644
--- a/embed/mozilla/EphyPromptService.h
+++ b/embed/mozilla/EphyPromptService.h
@@ -23,6 +23,10 @@
#include <nsIPromptService.h>
+#if HAVE_NSINONBLOCKINGALERTSERVICE_H
+#include <nsINonBlockingAlertService.h>
+#endif
+
#define EPHY_PROMPT_SERVICE_IID \
{ /* 6e8b90d4-78a6-41c5-98da-b1559a40d30d */ \
0x6e8b90d4, 0x78a6, 0x41c5, \
@@ -31,11 +35,17 @@
#define EPHY_PROMPT_SERVICE_CLASSNAME "Epiphany Prompt Service"
class EphyPromptService : public nsIPromptService
+#if HAVE_NSINONBLOCKINGALERTSERVICE_H
+ , public nsINonBlockingAlertService
+#endif
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPROMPTSERVICE
-
+#if HAVE_NSINONBLOCKINGALERTSERVICE_H
+ NS_DECL_NSINONBLOCKINALERTSERVICE
+#endif
+
EphyPromptService();
virtual ~EphyPromptService();
};