mirror of https://github.com/buggins/dlangui.git
Use of package.d for cleaner import lines in applications.
This commit is contained in:
parent
5e59151661
commit
0d81aafee6
|
@ -217,7 +217,7 @@ Hello World
|
|||
--------------------------------------------------------------
|
||||
|
||||
// myproject.d
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
mixin APP_ENTRY_POINT;
|
||||
|
||||
/// entry point for dlangui based application
|
||||
|
|
|
@ -15,7 +15,7 @@ Authors: Vadim Lopatin, coolreader.org@gmail.com
|
|||
*/
|
||||
module main;
|
||||
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
import dlangui.dialogs.dialog;
|
||||
import dlangui.dialogs.filedlg;
|
||||
import dlangui.dialogs.msgbox;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module app;
|
||||
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
import std.stdio;
|
||||
import std.conv;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ module gui;
|
|||
|
||||
import model;
|
||||
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
|
||||
/// game action codes
|
||||
enum TetrisAction : int {
|
||||
|
|
|
@ -15,7 +15,7 @@ Authors: Vadim Lopatin, coolreader.org@gmail.com
|
|||
*/
|
||||
module main;
|
||||
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
import model;
|
||||
import gui;
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ Synopsis:
|
|||
|
||||
----
|
||||
// helloworld
|
||||
import dlangui.all;
|
||||
import dlangui;
|
||||
// required in one of modules
|
||||
mixin APP_ENTRY_POINT;
|
||||
|
||||
|
@ -44,7 +44,7 @@ Copyright: Vadim Lopatin, 2014
|
|||
License: Boost License 1.0
|
||||
Authors: Vadim Lopatin, coolreader.org@gmail.com
|
||||
*/
|
||||
module dlangui.all;
|
||||
module dlangui;
|
||||
|
||||
public import dlangui.core.logger;
|
||||
public import dlangui.core.types;
|
Loading…
Reference in New Issue