Mercurial > projects > dwt-addons
changeset 94:dadb23ea55a6
Add version TANGOSVN
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 09 Jul 2008 23:23:56 +0200 |
parents | eb3ef3b7e244 |
children | 1088ca33d3e0 |
files | dwtx/core/runtime/Path.d dwtx/jface/preference/PathEditor.d dwtx/ui/internal/forms/MessageManager.d dwtx/ui/internal/forms/widgets/Paragraph.d |
diffstat | 4 files changed, 28 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtx/core/runtime/Path.d Wed Jul 09 18:01:43 2008 +0200 +++ b/dwtx/core/runtime/Path.d Wed Jul 09 23:23:56 2008 +0200 @@ -18,7 +18,13 @@ import dwt.dwthelper.utils; -import tango.io.model.IFile; +version(TANGOSVN) { + import tango.io.model.IFile; +} +else{ + import tango.io.FileConst; +} + static import tango.text.Text; alias tango.text.Text.Text!(char) StringBuffer;
--- a/dwtx/jface/preference/PathEditor.d Wed Jul 09 18:01:43 2008 +0200 +++ b/dwtx/jface/preference/PathEditor.d Wed Jul 09 23:23:56 2008 +0200 @@ -15,7 +15,13 @@ import dwtx.jface.preference.ListEditor; import tango.io.FilePath; -import tango.io.model.IFile; +version(TANGOSVN) { + import tango.io.model.IFile; +} +else{ + import tango.io.FileConst; +} + // import java.util.ArrayList; // import java.util.StringTokenizer;
--- a/dwtx/ui/internal/forms/MessageManager.d Wed Jul 09 18:01:43 2008 +0200 +++ b/dwtx/ui/internal/forms/MessageManager.d Wed Jul 09 23:23:56 2008 +0200 @@ -36,7 +36,13 @@ import tango.util.collection.HashMap; import tango.util.Convert; import tango.text.Text; -import tango.io.model.IFile; +version(TANGOSVN) { + import tango.io.model.IFile; +} +else{ + import tango.io.FileConst; +} + /** * @see IMessageManager */
--- a/dwtx/ui/internal/forms/widgets/Paragraph.d Wed Jul 09 18:01:43 2008 +0200 +++ b/dwtx/ui/internal/forms/widgets/Paragraph.d Wed Jul 09 23:23:56 2008 +0200 @@ -26,7 +26,13 @@ import dwt.dwthelper.utils; import tango.util.collection.ArraySeq; import tango.util.collection.HashMap; -import tango.io.model.IFile; +version(TANGOSVN) { + import tango.io.model.IFile; +} +else{ + import tango.io.FileConst; +} + import tango.text.Text; /**