示例#1
0
        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);
        }
示例#2
0
 public PurpleServer(PurpleConnection connection)
 {
     this.connection = connection;
 }
示例#3
0
 public PurpleServer(PurpleConnection connection)
 {
     this.connection = connection;
 }