1 // Written by Christopher E. Miller 2 // See the included license.txt for copyright and license details. 3 4 5 /// Imports all of DFL's public interface. 6 module dfl; 7 8 9 version(bud) 10 version = build; 11 version(DFL_NO_BUD_DEF) 12 version = DFL_NO_BUILD_DEF; 13 14 15 version(build) 16 { 17 version(WINE) 18 { 19 } 20 else 21 { 22 version(DFL_NO_LIB) 23 { 24 } 25 else 26 { 27 pragma(link, "dfl_build"); 28 29 pragma(link, "ws2_32"); 30 pragma(link, "gdi32"); 31 pragma(link, "comctl32"); 32 pragma(link, "advapi32"); 33 pragma(link, "comdlg32"); 34 pragma(link, "ole32"); 35 pragma(link, "uuid"); 36 } 37 38 version(DFL_NO_BUILD_DEF) 39 { 40 } 41 else 42 { 43 pragma(build_def, "EXETYPE NT"); 44 version(gui) 45 { 46 pragma(build_def, "SUBSYSTEM WINDOWS,4.0"); 47 } 48 else 49 { 50 pragma(build_def, "SUBSYSTEM CONSOLE,4.0"); 51 } 52 } 53 } 54 } 55 56 57 public import dfl.base, dfl.menu, dfl.control, dfl.usercontrol, 58 dfl.form, dfl.drawing, dfl.panel, dfl.event, 59 dfl.application, dfl.button, dfl.socket, 60 dfl.timer, dfl.environment, dfl.label, dfl.textbox, 61 dfl.listbox, dfl.splitter, dfl.groupbox, dfl.messagebox, 62 dfl.registry, dfl.notifyicon, dfl.collections, dfl.data, 63 dfl.clipboard, dfl.commondialog, dfl.richtextbox, dfl.tooltip, 64 dfl.combobox, dfl.treeview, dfl.picturebox, dfl.tabcontrol, 65 dfl.listview, dfl.statusbar, dfl.progressbar, dfl.resources, 66 dfl.imagelist, dfl.toolbar; 67