@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public long /*int*/ method1 (long /*int*/[] args) {return AddRef ();} @Override
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public long /*int*/ method1 (long /*int*/[] args) {return AddRef ();} @Override
public long /*int*/ method1 (long /*int*/[] args) {return AddRef ();} public long /*int*/ method2 (long /*int*/[] args) {return Release ();}
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
public long /*int*/ method1 (long /*int*/[] args) {return AddRef ();} public long /*int*/ method2 (long /*int*/[] args) {return Release ();}
int QueryInterface (int /*long*/ riid, int /*long*/ ppvObject) { if (riid == 0 || ppvObject == 0) return XPCOM.NS_ERROR_NO_INTERFACE; nsID guid = new nsID (); XPCOM.memmove (guid, riid, nsID.sizeof); if (guid.Equals (XPCOM.NS_ISUPPORTS_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {supports.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } if (guid.Equals (IIDStore.GetIID (nsIFilePicker.class))) { XPCOM.memmove(ppvObject, new int /*long*/[] {filePicker.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } XPCOM.memmove (ppvObject, new int /*long*/[] {0}, C.PTR_SIZEOF); return XPCOM.NS_ERROR_NO_INTERFACE; }
int QueryInterface (int /*long*/ riid, int /*long*/ ppvObject) { if (riid == 0 || ppvObject == 0) return XPCOM.NS_ERROR_NO_INTERFACE; nsID guid = new nsID (); XPCOM.memmove (guid, riid, nsID.sizeof); if (guid.Equals (XPCOM.NS_ISUPPORTS_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {supports.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } if (guid.Equals (IIDStore.GetIID (nsIFilePicker.class))) { XPCOM.memmove(ppvObject, new int /*long*/[] {filePicker.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } XPCOM.memmove (ppvObject, new int /*long*/[] {0}, C.PTR_SIZEOF); return XPCOM.NS_ERROR_NO_INTERFACE; }
int QueryInterface (int /*long*/ riid, int /*long*/ ppvObject) { if (riid == 0 || ppvObject == 0) return XPCOM.NS_ERROR_NO_INTERFACE; nsID guid = new nsID (); XPCOM.memmove (guid, riid, nsID.sizeof); if (guid.Equals (XPCOM.NS_ISUPPORTS_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {supports.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } if (guid.Equals (IIDStore.GetIID (nsIFilePicker.class))) { XPCOM.memmove(ppvObject, new int /*long*/[] {filePicker.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } XPCOM.memmove (ppvObject, new int /*long*/[] {0}, C.PTR_SIZEOF); return XPCOM.NS_ERROR_NO_INTERFACE; }
int QueryInterface (long /*int*/ riid, long /*int*/ ppvObject) { if (riid == 0 || ppvObject == 0) return XPCOM.NS_ERROR_NO_INTERFACE; nsID guid = new nsID (); XPCOM.memmove (guid, riid, nsID.sizeof); if (guid.Equals (XPCOM.NS_ISUPPORTS_IID)) { XPCOM.memmove (ppvObject, new long /*int*/[] {supports.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } if (guid.Equals (IIDStore.GetIID (nsIFilePicker.class))) { XPCOM.memmove(ppvObject, new long /*int*/[] {filePicker.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } XPCOM.memmove (ppvObject, new long /*int*/[] {0}, C.PTR_SIZEOF); return XPCOM.NS_ERROR_NO_INTERFACE; }
int CreateInstance (long /*int*/ aOuter, long /*int*/ iid, long /*int*/ result) { if (MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)) { FilePicker_10 picker = new FilePicker_10 (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsXULRunner) { FilePicker_1_8 picker = new FilePicker_1_8 (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else { FilePicker picker = new FilePicker (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int CreateInstance (int /*long*/ aOuter, int /*long*/ iid, int /*long*/ result) { if (MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)) { FilePicker_10 picker = new FilePicker_10 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsXULRunner) { FilePicker_1_8 picker = new FilePicker_1_8 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else { FilePicker picker = new FilePicker (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int CreateInstance (int /*long*/ aOuter, int /*long*/ iid, int /*long*/ result) { if (MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)) { FilePicker_10 picker = new FilePicker_10 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsXULRunner) { FilePicker_1_8 picker = new FilePicker_1_8 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else { FilePicker picker = new FilePicker (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int CreateInstance (int /*long*/ aOuter, int /*long*/ iid, int /*long*/ result) { if (MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)) { FilePicker_10 picker = new FilePicker_10 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsXULRunner) { FilePicker_1_8 picker = new FilePicker_1_8 (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else { FilePicker picker = new FilePicker (); picker.AddRef (); XPCOM.memmove (result, new int /*long*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int CreateInstance (long /*int*/ aOuter, long /*int*/ iid, long /*int*/ result) { if (!Mozilla.IsPre_17) { FilePicker_17 picker = new FilePicker_17 (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (!Mozilla.IsPre_4) { FilePicker_10 picker = new FilePicker_10 (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsXULRunner) { FilePicker_1_8 picker = new FilePicker_1_8 (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } else { FilePicker picker = new FilePicker (); picker.AddRef (); XPCOM.memmove (result, new long /*int*/[] {picker.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }