| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 part of dart.fletch.os; | 5 part of dart.fletch.os; |
| 6 | 6 |
| 7 // The event source is ready for reading. | 7 // The event source is ready for reading. |
| 8 const int READ_EVENT = 1 << 0; | 8 const int READ_EVENT = 1 << 0; |
| 9 // The event source is ready for writing. | 9 // The event source is ready for writing. |
| 10 const int WRITE_EVENT = 1 << 1; | 10 const int WRITE_EVENT = 1 << 1; |
| 11 // The event source has been closed. | 11 // The event source has been closed. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 case fletch.illegalState: | 56 case fletch.illegalState: |
| 57 // We get an illegal state when the flags were not supported. | 57 // We get an illegal state when the flags were not supported. |
| 58 throw new StateError("Operation not supported."); | 58 throw new StateError("Operation not supported."); |
| 59 default: | 59 default: |
| 60 throw fletch.nativeError; | 60 throw fletch.nativeError; |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 | 64 |
| 65 final EventHandler eventHandler = new EventHandler._internal(); | 65 final EventHandler eventHandler = new EventHandler._internal(); |
| OLD | NEW |