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 //$(TOC pragmas, Pragmas) 16 // $(TOC_SUB pragmas,pragma_build, build) 17 // $(TOC_SUB pragmas,pragma_build_def, build def) 18 // $(TOC_SUB pragmas,pragma_export_version, export version) 19 // $(TOC_SUB pragmas,pragma_ignore, ignore) 20 // $(TOC_SUB pragmas,pragma_include, include) 21 // $(TOC_SUB pragmas,pragma_link, link) 22 23 version(build) 24 { 25 version(WINE) 26 { 27 } 28 else 29 { 30 version(DFL_NO_LIB) 31 { 32 } 33 else 34 { 35 pragma(link, "dfl_build"); 36 37 pragma(link, "ws2_32"); 38 pragma(link, "gdi32"); 39 pragma(link, "comctl32"); 40 pragma(link, "advapi32"); 41 pragma(link, "comdlg32"); 42 pragma(link, "ole32"); 43 pragma(link, "uuid"); 44 } 45 46 version(DFL_NO_BUILD_DEF) 47 { 48 } 49 else 50 { 51 pragma(build_def, "EXETYPE NT"); 52 version(gui) 53 { 54 pragma(build_def, "SUBSYSTEM WINDOWS,4.0"); 55 } 56 else 57 { 58 pragma(build_def, "SUBSYSTEM CONSOLE,4.0"); 59 } 60 } 61 } 62 } 63 // pragma(link, "SUBSYSTEM WINDOWS,4.0"); 64 65 66 67 68 public import dfl.base, dfl.menu, dfl.control, dfl.usercontrol, 69 dfl.form, dfl.drawing, dfl.panel, dfl.event, 70 dfl.application, dfl.button, dfl.socket, 71 dfl.timer, dfl.environment, dfl.label, dfl.textbox, 72 dfl.listbox, dfl.splitter, dfl.groupbox, dfl.messagebox, 73 dfl.registry, dfl.notifyicon, dfl.collections, dfl.data, 74 dfl.clipboard, dfl.commondialog, dfl.richtextbox, dfl.tooltip, 75 dfl.combobox, dfl.treeview, dfl.picturebox, dfl.tabcontrol, 76 dfl.listview, dfl.statusbar, dfl.progressbar, dfl.resources, 77 dfl.imagelist, dfl.toolbar, 78 dfl.internal.utf,dfl.internal.com,dfl.internal.winapi,dfl.internal.wincom; 79