@Override int Show (int /*long*/ aLauncher, int /*long*/ aContext, int aReason) { nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); return helperAppLauncher.SaveToDisk (0, 0); }
public int GetTimeDownloadStarted(long /*int*/ aTimeDownloadStarted) { return XPCOM.VtblCall(nsICancelable.LAST_METHOD_ID + 9, getAddress(), aTimeDownloadStarted); } }
public int SaveToDisk(int /*long*/ aNewFileLocation, int aRememberThisPreference) { return XPCOM.VtblCall(this.getMethodIndex("saveToDisk"), getAddress(), aNewFileLocation, aRememberThisPreference); }
int Show (long /*int*/ aLauncher, long /*int*/ aContext, int aReason) { /* * The interface for nsIHelperAppLauncher changed as of mozilla 1.8. Query the received * nsIHelperAppLauncher for the new interface, and if it is not found then fall back to * the old interface. */ nsISupports supports = new nsISupports (aLauncher); long /*int*/[] result = new long /*int*/[1]; int rc = supports.QueryInterface (nsIHelperAppLauncher_1_8.NS_IHELPERAPPLAUNCHER_IID, result); if (rc == XPCOM.NS_OK) { /* >= 1.8 */ nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); rc = helperAppLauncher.SaveToDisk (0, 0); helperAppLauncher.Release (); return rc; } nsIHelperAppLauncher helperAppLauncher = new nsIHelperAppLauncher (aLauncher); /* < 1.8 */ return helperAppLauncher.SaveToDisk (0, 0); }
shell.close (); if (name == null) { nsIHelperAppLauncher_1_8 launcher = new nsIHelperAppLauncher_1_8 (aLauncher); int rc = launcher.Cancel (XPCOM.NS_BINDING_ABORTED); if (rc != XPCOM.NS_OK) Mozilla.error (rc); return XPCOM.NS_ERROR_FAILURE;
int Show (long /*int*/ aLauncher, long /*int*/ aContext, int aReason) { /* * The interface for nsIHelperAppLauncher changed as of mozilla 1.8. Query the received * nsIHelperAppLauncher for the new interface, and if it is not found then fall back to * the old interface. */ nsISupports supports = new nsISupports (aLauncher); long /*int*/[] result = new long /*int*/[1]; int rc = supports.QueryInterface (IIDStore.GetIID (nsIHelperAppLauncher_1_8.class), result); if (rc == XPCOM.NS_OK) { /* >= 1.8 */ nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); rc = helperAppLauncher.SaveToDisk (0, 0); helperAppLauncher.Release (); return rc; } nsIHelperAppLauncher helperAppLauncher = new nsIHelperAppLauncher (aLauncher); /* < 1.8 */ return helperAppLauncher.SaveToDisk (0, 0); }
shell.close (); if (name == null) { nsIHelperAppLauncher_1_8 launcher = new nsIHelperAppLauncher_1_8 (aLauncher); int rc = launcher.Cancel (XPCOM.NS_BINDING_ABORTED); if (rc != XPCOM.NS_OK) Mozilla.error (rc); return XPCOM.NS_ERROR_FAILURE;
int Show (int /*long*/ aLauncher, int /*long*/ aContext, int aReason) { /* * The interface for nsIHelperAppLauncher changed as of mozilla 1.8. Query the received * nsIHelperAppLauncher for the new interface, and if it is not found then fall back to * the old interface. */ nsISupports supports = new nsISupports (aLauncher); int /*long*/[] result = new int /*long*/[1]; int rc = supports.QueryInterface (IIDStore.GetIID (nsIHelperAppLauncher_1_8.class), result); if (rc == XPCOM.NS_OK) { /* >= 1.8 */ nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); rc = helperAppLauncher.SaveToDisk (0, 0); helperAppLauncher.Release (); return rc; } nsIHelperAppLauncher helperAppLauncher = new nsIHelperAppLauncher (aLauncher); /* < 1.8 */ return helperAppLauncher.SaveToDisk (0, 0); }
shell.close (); if (name == null) { nsIHelperAppLauncher_1_8 launcher = new nsIHelperAppLauncher_1_8 (aLauncher); int rc = launcher.Cancel (XPCOM.NS_BINDING_ABORTED); if (rc != XPCOM.NS_OK) Mozilla.error (rc); return XPCOM.NS_ERROR_FAILURE;
@Override int Show (int /*long*/ aLauncher, int /*long*/ aContext, int aReason) { nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); return helperAppLauncher.SaveToDisk (0, 0); }
public int GetMIMEInfo(long /*int*/[] aMIMEInfo) { return XPCOM.VtblCall(nsICancelable.LAST_METHOD_ID + 1, getAddress(), aMIMEInfo); }
public int SaveToDisk(int /*long*/ aNewFileLocation, int aRememberThisPreference) { return XPCOM.VtblCall(this.getMethodIndex("saveToDisk"), getAddress(), aNewFileLocation, aRememberThisPreference); }
int Show (int /*long*/ aLauncher, int /*long*/ aContext, int aReason) { /* * The interface for nsIHelperAppLauncher changed as of mozilla 1.8. Query the received * nsIHelperAppLauncher for the new interface, and if it is not found then fall back to * the old interface. */ nsISupports supports = new nsISupports (aLauncher); int /*long*/[] result = new int /*long*/[1]; int rc = supports.QueryInterface (IIDStore.GetIID (nsIHelperAppLauncher_1_8.class), result); if (rc == XPCOM.NS_OK) { /* >= 1.8 */ nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); rc = helperAppLauncher.SaveToDisk (0, 0); helperAppLauncher.Release (); return rc; } nsIHelperAppLauncher helperAppLauncher = new nsIHelperAppLauncher (aLauncher); /* < 1.8 */ return helperAppLauncher.SaveToDisk (0, 0); }
shell.close (); if (name == null) { nsIHelperAppLauncher_1_8 launcher = new nsIHelperAppLauncher_1_8 (aLauncher); int rc = launcher.Cancel (XPCOM.NS_BINDING_ABORTED); if (rc != XPCOM.NS_OK) Mozilla.error (rc); return XPCOM.NS_ERROR_FAILURE;
int Show (long /*int*/ aLauncher, long /*int*/ aContext, int aReason) { nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); return helperAppLauncher.SaveToDisk (0, 0); }
public int GetTargetFile(long /*int*/[] aTargetFile) { return XPCOM.VtblCall(nsICancelable.LAST_METHOD_ID + 8, getAddress(), aTargetFile); }
public int SaveToDisk(int /*long*/ aNewFileLocation, int aRememberThisPreference) { return XPCOM.VtblCall(this.getMethodIndex("saveToDisk"), getAddress(), aNewFileLocation, aRememberThisPreference); }
int Show (int /*long*/ aLauncher, int /*long*/ aContext, int aReason) { /* * The interface for nsIHelperAppLauncher changed as of mozilla 1.8. Query the received * nsIHelperAppLauncher for the new interface, and if it is not found then fall back to * the old interface. */ nsISupports supports = new nsISupports (aLauncher); int /*long*/[] result = new int /*long*/[1]; int rc = supports.QueryInterface (IIDStore.GetIID (nsIHelperAppLauncher_1_8.class), result); if (rc == XPCOM.NS_OK) { /* >= 1.8 */ nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); rc = helperAppLauncher.SaveToDisk (0, 0); helperAppLauncher.Release (); return rc; } nsIHelperAppLauncher helperAppLauncher = new nsIHelperAppLauncher (aLauncher); /* < 1.8 */ return helperAppLauncher.SaveToDisk (0, 0); }
if (hasLauncher) { if (using_1_8) { nsIHelperAppLauncher_1_8 launcher = new nsIHelperAppLauncher_1_8 (arg0); rc = launcher.Cancel (XPCOM.NS_BINDING_ABORTED); } else { nsIHelperAppLauncher launcher = new nsIHelperAppLauncher (arg0);
@Override int Show (long /*int*/ aLauncher, long /*int*/ aContext, int aReason) { nsIHelperAppLauncher_1_8 helperAppLauncher = new nsIHelperAppLauncher_1_8 (aLauncher); return helperAppLauncher.SaveToDisk (0, 0); }