HelperAppLauncherDialog_1_9 () { createCOMInterfaces (); }
int Release () { refCount--; /* * Note. This instance lives as long as the download it is bound 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; }
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 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 (XPCOM.NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {helperAppLauncherDialog.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 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 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 (XPCOM.NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {helperAppLauncherDialog.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 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 bound 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_1_9 () { createCOMInterfaces (); }
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 (XPCOM.NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID)) { XPCOM.memmove (ppvObject, new int /*long*/[] {helperAppLauncherDialog.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 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; }
int Release () { refCount--; /* * Note. This instance lives as long as the download it is bound 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_1_9 () { createCOMInterfaces (); }
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 (XPCOM.NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID)) { XPCOM.memmove (ppvObject, new long /*int*/[] {helperAppLauncherDialog.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 (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 bound 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_1_9 () { createCOMInterfaces (); }
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 (nsISupports.NS_ISUPPORTS_IID)) { XPCOM.memmove (ppvObject, new long /*int*/[] {supports.getAddress ()}, C.PTR_SIZEOF); AddRef (); return XPCOM.NS_OK; } if (guid.Equals (XPCOM.NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID)) { XPCOM.memmove (ppvObject, new long /*int*/[] {helperAppLauncherDialog.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 Release () { refCount--; /* * Note. This instance lives as long as the download it is bound 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_1_9 () { createCOMInterfaces (); }