Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIDirectoryService.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIDirectoryService; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator; | |
6 import org.eclipse.swt.internal.mozilla.nsISupports; | |
7 import org.eclipse.swt.internal.mozilla.nsIFile; | |
8 | |
9 /****************************************************************************** | |
10 | |
11 ******************************************************************************/ | |
12 | |
13 const char[] NS_IDIRECTORYSERVICEPROVIDER_IID_STR = "bbf8cab0-d43a-11d3-8cc2-00609792278c"; | |
14 | |
15 const nsIID NS_IDIRECTORYSERVICEPROVIDER_IID= | |
16 {0xbbf8cab0, 0xd43a, 0x11d3, | |
17 [ 0x8c, 0xc2, 0x00, 0x60, 0x97, 0x92, 0x27, 0x8c ]}; | |
18 | |
19 interface nsIDirectoryServiceProvider : nsISupports { | |
20 | |
21 static const char[] IID_STR = NS_IDIRECTORYSERVICEPROVIDER_IID_STR; | |
22 static const nsIID IID = NS_IDIRECTORYSERVICEPROVIDER_IID; | |
23 | |
24 extern(System): | |
25 nsresult GetFile(char *prop, PRBool *persistent, nsIFile *_retval); | |
26 | |
27 } | |
28 | |
29 /****************************************************************************** | |
30 | |
31 ******************************************************************************/ | |
32 | |
33 const char[] NS_IDIRECTORYSERVICEPROVIDER2_IID_STR = "2f977d4b-5485-11d4-87e2-0010a4e75ef2"; | |
34 | |
35 const nsIID NS_IDIRECTORYSERVICEPROVIDER2_IID= | |
36 {0x2f977d4b, 0x5485, 0x11d4, | |
37 [ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 ]}; | |
38 | |
39 interface nsIDirectoryServiceProvider2 : nsIDirectoryServiceProvider { | |
40 | |
41 static const char[] IID_STR = NS_IDIRECTORYSERVICEPROVIDER2_IID_STR; | |
42 static const nsIID IID = NS_IDIRECTORYSERVICEPROVIDER2_IID; | |
43 | |
44 extern(System): | |
45 nsresult GetFiles(char *prop, nsISimpleEnumerator *_retval); | |
46 | |
47 } | |
48 | |
49 /****************************************************************************** | |
50 | |
51 ******************************************************************************/ | |
52 | |
53 const char[] NS_IDIRECTORYSERVICE_IID_STR = "57a66a60-d43a-11d3-8cc2-00609792278c"; | |
54 | |
55 const nsIID NS_IDIRECTORYSERVICE_IID= | |
56 {0x57a66a60, 0xd43a, 0x11d3, | |
57 [ 0x8c, 0xc2, 0x00, 0x60, 0x97, 0x92, 0x27, 0x8c ]}; | |
58 | |
59 interface nsIDirectoryService : nsISupports { | |
60 | |
61 static const char[] IID_STR = NS_IDIRECTORYSERVICE_IID_STR; | |
62 static const nsIID IID = NS_IDIRECTORYSERVICE_IID; | |
63 | |
64 extern(System): | |
65 nsresult Init(); | |
66 nsresult RegisterProvider(nsIDirectoryServiceProvider prov); | |
67 nsresult UnregisterProvider(nsIDirectoryServiceProvider prov); | |
68 } | |
69 |