Mercurial > pidgin
view libpurple/plugins/mono/api/Event.cs @ 29341:a52831eada67
Add pidgin-2 and purple-2 .pc variants
Instead of adding ${includedir}/libpurple to the include path, purple-2 adds
${includedir}. This allows projects to #include <libpurple/debug.h> rather than
#include <debug.h>, which prevents libpurple's headers colliding with the
project's own, and is more conventional.
media/codec.h needed tweaking to compile.
| author | Will Thompson <will.thompson@collabora.co.uk> |
|---|---|
| date | Sun, 20 Dec 2009 18:03:58 +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); } } }
