view libpurple/plugins/mono/api/Signal.cs @ 29579:bddc2c8e8b98

Current versions of ICQ will happily scale down large icons to 100x100 (and in some places will scale up small icons). So we should stop scaling-on-send. Any icon between 0x0 and 100x100 is allowed, just like with AIM. Max file size still seems to be 7168.
author Mark Doliner <mark@kingant.net>
date Thu, 11 Mar 2010 06:58:33 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;
using System.Runtime.CompilerServices;

namespace Purple
{
	public class Signal
	{
		[MethodImplAttribute(MethodImplOptions.InternalCall)]
		extern private static int _connect(IntPtr handle, object plugin, string signal, object evnt);
		
		public delegate void Handler(object[] args);
		
		public static int connect(IntPtr handle, object plugin, string signal, object evnt)
		{
			return _connect(handle, plugin, signal, evnt);
		}
	}
}