Beispiel #1
0
 protected void addEvent(String name, ref int hookid, CamelEventFunc hook, Delegate value)
 {
     if (hookid == -1)
         hookid = camel_object_hook_event(cobject, name, hook, (IntPtr)0);
     events.AddHandler(name, value);
 }
Beispiel #2
0
 public static extern int camel_object_hook_event(IntPtr raw, string name, CamelEventFunc func, IntPtr data);