Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIFilePicker.d @ 348:9a4d7706df52
Test Update to fix linux XPCOM interface issues
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:46:44 -0700 |
parents | 8198e6052012 |
children |
comparison
equal
deleted
inserted
replaced
347:ff6dd48f5248 | 348:9a4d7706df52 |
---|---|
12 const char[] NS_IFILEPICKER_IID_STR = "c47de916-1dd1-11b2-8141-82507fa02b21"; | 12 const char[] NS_IFILEPICKER_IID_STR = "c47de916-1dd1-11b2-8141-82507fa02b21"; |
13 | 13 |
14 const nsIID NS_IFILEPICKER_IID= | 14 const nsIID NS_IFILEPICKER_IID= |
15 {0xc47de916, 0x1dd1, 0x11b2, | 15 {0xc47de916, 0x1dd1, 0x11b2, |
16 [ 0x81, 0x41, 0x82, 0x50, 0x7f, 0xa0, 0x2b, 0x21 ]}; | 16 [ 0x81, 0x41, 0x82, 0x50, 0x7f, 0xa0, 0x2b, 0x21 ]}; |
17 | |
18 //extern(System) | |
19 | 17 |
20 interface nsIFilePicker : nsISupports { | 18 interface nsIFilePicker : nsISupports { |
21 | 19 |
22 static const char[] IID_STR = NS_IFILEPICKER_IID_STR; | 20 static const char[] IID_STR = NS_IFILEPICKER_IID_STR; |
23 static const nsIID IID = NS_IFILEPICKER_IID; | 21 static const nsIID IID = NS_IFILEPICKER_IID; |
35 enum { filterImages = 8 }; | 33 enum { filterImages = 8 }; |
36 enum { filterXML = 16 }; | 34 enum { filterXML = 16 }; |
37 enum { filterXUL = 32 }; | 35 enum { filterXUL = 32 }; |
38 enum { filterApps = 64 }; | 36 enum { filterApps = 64 }; |
39 | 37 |
38 extern(System): | |
40 nsresult Init(nsIDOMWindow parent, nsAString * title, PRInt16 mode); | 39 nsresult Init(nsIDOMWindow parent, nsAString * title, PRInt16 mode); |
41 nsresult AppendFilters(PRInt32 filterMask); | 40 nsresult AppendFilters(PRInt32 filterMask); |
42 nsresult AppendFilter(nsAString * title, nsAString * filter); | 41 nsresult AppendFilter(nsAString * title, nsAString * filter); |
43 nsresult GetDefaultString(nsAString * aDefaultString); | 42 nsresult GetDefaultString(nsAString * aDefaultString); |
44 nsresult SetDefaultString(nsAString * aDefaultString); | 43 nsresult SetDefaultString(nsAString * aDefaultString); |