waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

bar.vala (212B)


      1 class Bar : Object
      2 {
      3 	public signal bool an_event();
      4 
      5 	public Bar(MainLoop loop)
      6 	{
      7 		var time = new TimeoutSource(8000);
      8 		time.set_callback(() => {return an_event();});
      9 		time.attach(loop.get_context());
     10 	}
     11 }
     12