view plugins/mono/api/GaimPlugin.cs @ 12479:53e2dc07d9e2

[gaim-migrate @ 14790] SF Patch #1379776 from charkins "This is a small fix to the blist visibility stuff. When the blist is set hidden and there is no visibility manager, the blist gets minimized. However, if there was previously a visibility manager and the blist was already hidden, it doesn't get shown before it is iconified. This patch fixes that. In addition, I added two debug statements to track the count of visibility managers. This will be helpful for diagnosing visibility issues if users send in debug logs." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 13 Dec 2005 23:35:46 +0000
parents a3302d271199
children
line wrap: on
line source

namespace Gaim
{
	public class GaimPluginInfo
	{
		private string name;
		private string version;
		private string summary;
		private string description;
		private string author;
		private string homepage;
		
		public GaimPluginInfo(string name, string version, string summary, string description, string author, string homepage)
		{
			this.name = name;
			this.version = version;
			this.summary = summary;
			this.description = description;
			this.author = author;
			this.homepage = homepage;	
		}
		
		public string Name { get { return name; } }
		public string Version { get { return version; } }
		public string Summary { get { return summary; } }
		public string Description { get { return description; } }
		public string Author { get { return author; } }
		public string Homepage { get { return homepage; } }
	}
	
	abstract public class GaimPlugin
	{	
		public abstract void Load();
		public abstract void Unload();
		public abstract void Destroy();
		
		public abstract GaimPluginInfo Info();
	}
}