1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIObserver extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 1; 33 34 public static final String NS_IOBSERVER_IID_STRING = 35 "DB242E01-E4D9-11d2-9DDE-000064657374"; 36 37 public static final nsID NS_IOBSERVER_IID = 38 new nsID(NS_IOBSERVER_IID_STRING); 39 40 public nsIObserver(int address) { 41 super(address); 42 } 43 44 public int Observe(int aSubject, byte[] aTopic, char[] aData) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aSubject, aTopic, aData); 46 } 47 } | Popular Tags |