Sun, 15 Apr 2007 03:43:17 +0000
propagate from branch 'im.pidgin.pidgin' (head 88b7040408c88e4516c008f4eac579f98ef53e85)
to branch 'im.pidgin.rlaager.merging.msnp13-and-pidgin' (head 198222e01a7dc9f8795f68ec618a48c3478e04a8)
| 11660 | 1 | using System; |
| 2 | ||
|
15940
53d1e0af8279
Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
Richard Laager <rlaager@pidgin.im>
parents:
15435
diff
changeset
|
3 | namespace Purple |
| 11660 | 4 | { |
| 5 | public class Event | |
| 6 | { | |
| 7 | private IntPtr handle; | |
| 8 | private string signal; | |
| 9 | ||
| 10 | public Event(IntPtr h, string s) | |
| 11 | { | |
| 12 | handle = h; | |
| 13 | signal = s; | |
| 14 | } | |
| 15 | ||
| 16 | public void connect(object plugin, Signal.Handler handler) | |
| 17 | { | |
| 18 | Signal.connect(handle, plugin, signal, handler); | |
| 19 | } | |
| 20 | } | |
| 21 | } |