Changeset 4:bf9fe45b4422
- Timestamp:
- 01/25/08 07:01:53 (10 months ago)
- Files:
-
- dwt/DWT.d (modified) (2 diffs)
- dwt/DWTError.d (modified) (2 diffs)
- dwt/DWTException.d (modified) (1 diff)
- dwt/graphics/Point.d (added)
- dwt/graphics/Rectangle.d (added)
- dwt/internal/C.d (added)
- dwt/internal/Library.d (modified) (1 diff)
- dwt/internal/Platform.d (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWT.d
r0 r4 11 11 * Frank Benoit <benoit@tionex.de> 12 12 *******************************************************************************/ 13 package dwt.DWT;13 module dwt.DWT; 14 14 15 15 … … 3430 3430 */ 3431 3431 public static char[] getMessage(char[] key) { 3432 return Compatibility.getMessage(key); 3432 //return Compatibility.getMessage(key); 3433 return ""; 3433 3434 } 3434 3435 dwt/DWTError.d
r0 r4 75 75 * @param message the detail message for the exception 76 76 */ 77 public this ( Stringmessage) {77 public this (char[] message) { 78 78 this (DWT.ERROR_UNSPECIFIED, message); 79 79 } … … 154 154 155 155 } 156 } 157 158 159 dwt/DWTException.d
r0 r4 145 145 } 146 146 147 } 147 148 dwt/internal/Library.d
r2 r4 47 47 public static const int SWT_VERSION = .buildSWT_VERSION(MAJOR_VERSION, MINOR_VERSION); 48 48 49 version( linux){50 static const char[] SEPARATOR = "\ n";49 version( Windows ){ 50 static const char[] SEPARATOR = "\r\n"; 51 51 } 52 52 else { 53 static assert( false, "only linuxsupported for this port" );53 static assert( false, "only windows supported for this port" ); 54 54 } 55 55
