public CkernelGateway() { m_isLocal=true; edonkeyCore=new CKernel(); krnGateway=CKernel.InterfaceGateway[0]; Initialize(); }
public HathiGTK(string[] args) { Application.Init(); gxml = new Glade.XML (null, "elephant.glade", "mainwindow", null); gxml.Autoconnect (this); HathiKernel=new CKernel(); //creates and starts the kernel krnGateway=CKernel.InterfaceGateway[0]; //gateway to talk with the kernel InitInterface(); //preferences = new Config(CKernel.DllDirectory, "configInterface.xml", "0.01", "HathiInterface"); //m_Preferences=krnGateway.GetConfig(); //do I need it? mainwindow.Title = "HathiGTK " + CKernel.Version.ToString(); mainwindow.Show(); Application.Run(); }