Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / embed / mozilla / .svn / text-base / EphyPromptService.h.svn-base
blob2416e5318d8ada6e7049c1f9391f4a674d9dffcf
1 /*
2  *  Copyright © 2005, 2006 Christian Persch
3  *
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)
7  *  any later version.
8  *
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.
13  *
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.
17  *
18  *  $Id$
19  */
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>
28 #endif
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
40 #endif
42 public:
43         NS_DECL_ISUPPORTS
44         NS_DECL_NSIPROMPTSERVICE
45 #if HAVE_NSINONBLOCKINGALERTSERVICE_H
46         NS_DECL_NSINONBLOCKINGALERTSERVICE
47 #endif
49         EphyPromptService();
50         virtual ~EphyPromptService();
53 #endif /* EPHY_PROMPT_SERVICE_H */