2daedit/source/app.d
Crom (Thibaut CHARLES) 6ac4dc3468 Organized code
2015-03-12 23:56:27 +01:00

32 lines
484 B
D
Executable File

import std.stdio;
import std.file;
import std.string;
import std.conv : to;
import std.path;
import window;
import gtk.Main;
import gtk.Version;
void main(string[] args)
{
writeln("=================");
writeln("Using GTK version ",Version.getMajorVersion(),".",Version.getMinorVersion(),".",Version.getMicroVersion());
writeln("=================");
Main.init(args);
//Window
auto w = new Window((args.length>=2 && exists(args[1]))? args[1] : null);
Main.run();
}