view libpurple/plugins/mono/loader/mono-glue.h @ 27168:463ed40d4031

Deal with buddies on MSN more gracefully. Look ahead to see if we have information about the protocol of the buddy, because by the time we process the protocol, we may have done too many other things, e.g. update status, set idleness etc., which means the real buddy doesn't get updated properly.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 24 Jun 2009 08:17:33 +0000
parents 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_MONO_LOADER_GLUE_H_
#define _PURPLE_MONO_LOADER_GLUE_H_

#include <mono/jit/jit.h>
#include <mono/metadata/object.h>
#include <mono/metadata/environment.h>
#include <mono/metadata/assembly.h>

void purple_debug_glue(int type, MonoString *cat, MonoString *str);

int purple_signal_connect_glue(MonoObject *h, MonoObject *plugin, MonoString *signal, MonoObject *func);

MonoObject* purple_blist_get_handle_glue(void);

MonoObject* purple_blist_build_buddy_object(void* buddy);

MonoObject* purple_status_build_status_object(void* data);

#endif