Mercurial > pidgin
view libgaim/plugins/mono/api/Signal.cs @ 15104:cb7eef7bf550
[gaim-migrate @ 17890]
Fix up some of the example perl plugins. They still could use some work, but these will at least load now.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Mon, 04 Dec 2006 04:52:46 +0000 |
| parents | 60b1bc8dbf37 |
| children |
line wrap: on
line source
using System; using System.Runtime.CompilerServices; namespace Gaim { 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); } } }
