@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
@Override public int /*long*/ method4 (int /*long*/[] args) {return PromptForSaveToFile (args[0], args[1], args[2], args[3], args[4]);} };
@Override public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} @Override
int CreateInstance (long /*int*/ aOuter, long /*int*/ iid, long /*int*/ result) { if (Mozilla.IsPre_1_9) { HelperAppLauncherDialog helperAppLauncherDialog = new HelperAppLauncherDialog (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else if (Mozilla.IsPre_4){ HelperAppLauncherDialog_1_9 helperAppLauncherDialog = new HelperAppLauncherDialog_1_9 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else { HelperAppLauncherDialog_10 helperAppLauncherDialog = new HelperAppLauncherDialog_10 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int Release () { refCount--; /* * Note. This instance lives as long as the download it is binded to. * Its reference count is expected to go down to 0 when the download * has completed or when it has been cancelled. E.g. when the user * cancels the File Dialog, cancels or closes the Download Dialog * and when the Download Dialog goes away after the download is completed. */ if (refCount == 0) disposeCOMInterfaces (); return refCount; }
HelperAppLauncherDialog () { createCOMInterfaces (); }
@Override public long /*int*/ method2 (long /*int*/[] args) {return Release ();} @Override
@Override public long /*int*/ method3 (long /*int*/[] args) {return Show (args[0], args[1], (int)/*64*/args[2]);} @Override
int CreateInstance (int /*long*/ aOuter, int /*long*/ iid, int /*long*/ result) { if (!MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR1_9)) { HelperAppLauncherDialog helperAppLauncherDialog = new HelperAppLauncherDialog (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new int /*long*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else if (!MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)){ HelperAppLauncherDialog_1_9 helperAppLauncherDialog = new HelperAppLauncherDialog_1_9 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new int /*long*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else { HelperAppLauncherDialog_10 helperAppLauncherDialog = new HelperAppLauncherDialog_10 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new int /*long*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
int Release () { refCount--; /* * Note. This instance lives as long as the download it is binded to. * Its reference count is expected to go down to 0 when the download * has completed or when it has been cancelled. E.g. when the user * cancels the File Dialog, cancels or closes the Download Dialog * and when the Download Dialog goes away after the download is completed. */ if (refCount == 0) disposeCOMInterfaces (); return refCount; }
HelperAppLauncherDialog () { createCOMInterfaces (); }
@Override public int /*long*/ method2 (int /*long*/[] args) {return Release ();} };
@Override public int /*long*/ method3 (int /*long*/[] args) {return Show (args[0], args[1], (int)/*64*/args[2]);} @Override
int CreateInstance (long /*int*/ aOuter, long /*int*/ iid, long /*int*/ result) { if (!MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR1_9)) { HelperAppLauncherDialog helperAppLauncherDialog = new HelperAppLauncherDialog (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else if (!MozillaVersion.CheckVersion (MozillaVersion.VERSION_XR10)){ HelperAppLauncherDialog_1_9 helperAppLauncherDialog = new HelperAppLauncherDialog_1_9 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } else { HelperAppLauncherDialog_10 helperAppLauncherDialog = new HelperAppLauncherDialog_10 (); helperAppLauncherDialog.AddRef (); XPCOM.memmove (result, new long /*int*/[] {helperAppLauncherDialog.getAddress ()}, C.PTR_SIZEOF); } return XPCOM.NS_OK; }
@Override public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} @Override
int Release () { refCount--; /* * Note. This instance lives as long as the download it is binded to. * Its reference count is expected to go down to 0 when the download * has completed or when it has been cancelled. E.g. when the user * cancels the File Dialog, cancels or closes the Download Dialog * and when the Download Dialog goes away after the download is completed. */ if (refCount == 0) disposeCOMInterfaces (); return refCount; }
HelperAppLauncherDialog () { createCOMInterfaces (); }
@Override public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} @Override
@Override public int /*long*/ method2 (int /*long*/[] args) {return Release ();} @Override
@Override public int /*long*/ method3 (int /*long*/[] args) {return Show (args[0], args[1], (int)/*64*/args[2]);} @Override