view libpurple/plugins/mono/api/Event.cs @ 21706:bc4afc8ea960

Do not reset the color if there's something already specified. This should make it possible to have multicolored text in the conversation log. I am really bad with colors. So I'll leave it to someone else, if any, to decide the colors for different types of messages.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 01 Dec 2007 05:46:49 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;

namespace Purple
{
	public class Event
	{
		private IntPtr handle;
		private string signal;
		
		public Event(IntPtr h, string s)
		{
			handle = h;
			signal = s;
		}
	
		public void connect(object plugin, Signal.Handler handler)
		{
			Signal.connect(handle, plugin, signal, handler);
		}
	}
}