Posted by: | djuls | |
Data created: | 22 February 2012 |
Hi ! I'm trying to create a timeChangeCallback but I can't overriding the ITimeChangeCallback... i'm trying to do it that way:
public override ITimeChangeCallback TimeChangeCallback { get { return new CreateTimeCallback(global); } }
with this class:
public class CreateTimeCallback : TimeChangeCallback { internal IGlobal global;
public CreateTimeCallback(IGlobal global) { this.global = global; }
public override void TimeChanged(int t) { global.TheListener.EditStream.Printf("toto\n", null); } }
but I'm having an error... Thanks by advance.
|