Sat, 24 Mar 2007 06:27:57 +0000
Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
compiles, but other than that, I haven't tested anything.
| 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 | } |