2 * Copyright © 2005, 2006 Christian Persch
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1, or (at your option)
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef EPHY_PROMPT_SERVICE_H
22 #define EPHY_PROMPT_SERVICE_H
24 #include <nsIPromptService.h>
26 #if HAVE_NSINONBLOCKINGALERTSERVICE_H
27 #include <nsINonBlockingAlertService.h>
30 #define EPHY_PROMPT_SERVICE_IID \
31 { /* 6e8b90d4-78a6-41c5-98da-b1559a40d30d */ \
32 0x6e8b90d4, 0x78a6, 0x41c5, \
33 { 0x98, 0xda, 0xb1, 0x55, 0x9a, 0x40, 0xd3, 0x0d } }
35 #define EPHY_PROMPT_SERVICE_CLASSNAME "Epiphany Prompt Service"
37 class EphyPromptService : public nsIPromptService
38 #if HAVE_NSINONBLOCKINGALERTSERVICE_H
39 , public nsINonBlockingAlertService
44 NS_DECL_NSIPROMPTSERVICE
45 #if HAVE_NSINONBLOCKINGALERTSERVICE_H
46 NS_DECL_NSINONBLOCKINGALERTSERVICE
50 virtual ~EphyPromptService();
53 #endif /* EPHY_PROMPT_SERVICE_H */