diff options
author | Christian Persch <chpe@src.gnome.org> | 2007-09-16 20:46:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-09-16 20:46:49 +0800 |
commit | ec183c883b340ae82f5ba22689e5d1a3b9dfa511 (patch) | |
tree | f899960936a476450ebe287e57f2a44274f8bb6b /embed/xulrunner/components/GeckoPromptService.h | |
parent | bd9419b2f2ef5a17763f740fedb94d27e10281a8 (diff) | |
download | gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar.gz gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar.bz2 gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar.lz gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar.xz gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.tar.zst gsoc2013-epiphany-ec183c883b340ae82f5ba22689e5d1a3b9dfa511.zip |
Make PromptService QI to nsIPromptService2 (not implemented yet, though).
svn path=/trunk/; revision=7454
Diffstat (limited to 'embed/xulrunner/components/GeckoPromptService.h')
-rw-r--r-- | embed/xulrunner/components/GeckoPromptService.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/embed/xulrunner/components/GeckoPromptService.h b/embed/xulrunner/components/GeckoPromptService.h index b2ef610b8..ce48aded9 100644 --- a/embed/xulrunner/components/GeckoPromptService.h +++ b/embed/xulrunner/components/GeckoPromptService.h @@ -22,10 +22,8 @@ #define GECKO_PROMPT_SERVICE_H #include <nsIPromptService.h> - -#if HAVE_NSINONBLOCKINGALERTSERVICE_H +#include <nsIPromptService2.h> #include <nsINonBlockingAlertService.h> -#endif #define GECKO_PROMPT_SERVICE_CID \ { /* cadc6035-7c53-4039-823b-004a289d5eb2 */ \ @@ -34,17 +32,14 @@ #define GECKO_PROMPT_SERVICE_CLASSNAME "Gecko Prompt Service" -class GeckoPromptService : public nsIPromptService -#if HAVE_NSINONBLOCKINGALERTSERVICE_H - , public nsINonBlockingAlertService -#endif +class GeckoPromptService : public nsIPromptService2, + public nsINonBlockingAlertService { public: NS_DECL_ISUPPORTS NS_DECL_NSIPROMPTSERVICE -#if HAVE_NSINONBLOCKINGALERTSERVICE_H + NS_DECL_NSIPROMPTSERVICE2 NS_DECL_NSINONBLOCKINGALERTSERVICE -#endif GeckoPromptService(); virtual ~GeckoPromptService(); |