|
Revision 327:b0d7eb5bd76c, 0.7 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsIPrefLocalizedString; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
|
|---|
| 7 |
const char[] NS_IPREFLOCALIZEDSTRING_IID_STR = "ae419e24-1dd1-11b2-b39a-d3e5e7073802"; |
|---|
| 8 |
|
|---|
| 9 |
const nsIID NS_IPREFLOCALIZEDSTRING_IID= |
|---|
| 10 |
{0xae419e24, 0x1dd1, 0x11b2, |
|---|
| 11 |
[ 0xb3, 0x9a, 0xd3, 0xe5, 0xe7, 0x07, 0x38, 0x02 ]}; |
|---|
| 12 |
|
|---|
| 13 |
interface nsIPrefLocalizedString : nsISupports { |
|---|
| 14 |
|
|---|
| 15 |
static const char[] IID_STR = NS_IPREFLOCALIZEDSTRING_IID_STR; |
|---|
| 16 |
static const nsIID IID = NS_IPREFLOCALIZEDSTRING_IID; |
|---|
| 17 |
|
|---|
| 18 |
extern(System): |
|---|
| 19 |
nsresult GetData(PRUnichar * *aData); |
|---|
| 20 |
nsresult SetData(PRUnichar * aData); |
|---|
| 21 |
nsresult ToString(PRUnichar **_retval); |
|---|
| 22 |
nsresult SetDataWithLength(PRUint32 length, PRUnichar *data); |
|---|
| 23 |
|
|---|
| 24 |
} |
|---|