plugins/mono/BooPlugin.boo

Mon, 12 Dec 2005 06:53:27 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Mon, 12 Dec 2005 06:53:27 +0000
changeset 12459
fa06941b27e1
parent 11660
a7cf8f7d43b3
permissions
-rw-r--r--

[gaim-migrate @ 14769]
This plugin is cipher_test, not ciper_test.

import Gaim

class BooPlugin(GaimPlugin):

	def handle(*args as (object)):
		b as Buddy
		b = args[0]
		Debug.debug(Debug.INFO, "booplugin",  "Boo Plugin knows that " + b.Alias + " is away\n")
		
	override def Load():
		Debug.debug(Debug.INFO, "booplugin", "loading...\n")
		BuddyList.OnBuddyAway.connect(self, handle)
		
	override def Unload():
		Debug.debug(Debug.INFO, "booplugin", "unloading...\n")
		
	override def Destroy():
		Debug.debug(Debug.INFO, "booplugin", "destroying...\n")
		
	override def Info():
		return GaimPluginInfo("Boo Plugin", "0.1", "Test Boo Plugin", "Longer Description", "Eoin Coffey", "urled")
		

mercurial