Use of package.d for cleaner import lines in applications.

This commit is contained in:
knommad 2015-02-22 09:13:53 +10:30
parent 5e59151661
commit 0d81aafee6
7 changed files with 12 additions and 12 deletions

View File

@ -217,7 +217,7 @@ Hello World
--------------------------------------------------------------
// myproject.d
import dlangui.all;
import dlangui;
mixin APP_ENTRY_POINT;
/// entry point for dlangui based application

View File

@ -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;

View File

@ -1,6 +1,6 @@
module app;
import dlangui.all;
import dlangui;
import std.stdio;
import std.conv;

View File

@ -2,7 +2,7 @@ module gui;
import model;
import dlangui.all;
import dlangui;
/// game action codes
enum TetrisAction : int {

View File

@ -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

View File

@ -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;