1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIDirectoryService extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 3; 33 34 public static final String NS_IDIRECTORYSERVICE_IID_STR = 35 "57a66a60-d43a-11d3-8cc2-00609792278c"; 36 37 public static final nsID NS_IDIRECTORYSERVICE_IID = 38 new nsID(NS_IDIRECTORYSERVICE_IID_STR); 39 40 public nsIDirectoryService(int address) { 41 super(address); 42 } 43 44 public int Init() { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress()); 46 } 47 48 public int RegisterProvider(int prov) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), prov); 50 } 51 52 public int UnregisterProvider(int prov) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), prov); 54 } 55 } | Popular Tags |