Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIWebNavigationInfo.d @ 272:dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
271:d472fae79005 | 272:dd63eb078d7a |
---|---|
1 module dwt.internal.mozilla.nsIWebNavigationInfo; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIWebNavigation; | |
7 import dwt.internal.mozilla.nsStringAPI; | |
8 | |
9 const char[] NS_IWEBNAVIGATIONINFO_IID_STR = "62a93afb-93a1-465c-84c8-0432264229de"; | |
10 | |
11 const nsIID NS_IWEBNAVIGATIONINFO_IID= | |
12 {0x62a93afb, 0x93a1, 0x465c, | |
13 [ 0x84, 0xc8, 0x04, 0x32, 0x26, 0x42, 0x29, 0xde ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIWebNavigationInfo : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IWEBNAVIGATIONINFO_IID_STR; | |
20 static const nsIID IID = NS_IWEBNAVIGATIONINFO_IID; | |
21 | |
22 enum { UNSUPPORTED = 0U }; | |
23 enum { IMAGE = 1U }; | |
24 enum { PLUGIN = 2U }; | |
25 enum { OTHER = 32768U }; | |
26 | |
27 nsresult IsTypeSupported(nsACString * aType, nsIWebNavigation aWebNav, PRUint32 *_retval); | |
28 | |
29 } | |
30 |