public bool Init(string id) { if (!inited) { /* This isn't necessary now that we get the received-im-msg signal */ //core_uiops.ui_init = new UI_Init(ui_init); //UiOps = core_uiops; PurpleEventLoop.Init(); int ret = purple_core_init(id); PurpleConnection.Init(); PurpleConversation.Init(); if (ret == 1) { return(true); } else { return(false); } } return(true); }
public PurpleServer(PurpleConnection connection) { this.connection = connection; }