Mercurial > pidgin
view libgaim/plugins/mono/api/Event.cs @ 15039:9a69964d8c18
[gaim-migrate @ 17822]
found this while setting up a unit testing framework (we're already reaping the benefits)
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sun, 26 Nov 2006 20:45:29 +0000 |
| parents | 60b1bc8dbf37 |
| children |
line wrap: on
line source
using System; namespace Gaim { 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); } } }
