1 module org.eclipse.swt.internal.mozilla.nsIPrefLocalizedString;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 
9 const char[] NS_IPREFLOCALIZEDSTRING_IID_STR = "ae419e24-1dd1-11b2-b39a-d3e5e7073802";
10 
11 const nsIID NS_IPREFLOCALIZEDSTRING_IID= 
12   {0xae419e24, 0x1dd1, 0x11b2, 
13     [ 0xb3, 0x9a, 0xd3, 0xe5, 0xe7, 0x07, 0x38, 0x02 ]};
14 
15 interface nsIPrefLocalizedString : nsISupports {
16 
17   static const char[] IID_STR = NS_IPREFLOCALIZEDSTRING_IID_STR;
18   static const nsIID IID = NS_IPREFLOCALIZEDSTRING_IID;
19 
20 extern(System):
21   nsresult GetData(PRUnichar * *aData);
22   nsresult SetData(PRUnichar * aData);
23   nsresult ToString(PRUnichar **_retval);
24   nsresult SetDataWithLength(PRUint32 length, PRUnichar *data);
25 
26 }
27