Artifact 05082d0f328d756c5d247f587257123778ee7fa7
- File
src/gui_main.d
- 2012-07-14 16:39:50 - part of checkin [fec7ddc502] on branch trunk - Refactoring for ease of changine main solver. (user: kinaba) [annotate]
- 2012-07-15 12:01:04 - part of checkin [a03584f1c6] on branch trunk - Refactored. (user: kinaba) [annotate]
import gui; import output; import driver; import solver; import std.stdio; pragma(lib, "dfl.lib"); void main(string[] args) { Driver d = new Driver(stdin); d.addObserver!(GuardedOutput)(); auto g = d.addObserver!(GUI!MainSolver)(); g.set_fn(&d.command); g.run(); }