| 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 // The dart:fletch.service library is a low-level communication library that | 5 // The dart:fletch.service library is a low-level communication library that |
| 6 // allows dart code to register services that are accessible through | 6 // allows dart code to register services that are accessible through |
| 7 // the C API. | 7 // the C API. |
| 8 library dart.fletch.service; | 8 library dart.fletch.service; |
| 9 | 9 |
| 10 import 'dart:fletch._system' as fletch; | 10 import 'dart:fletch._system' as fletch; |
| 11 import 'dart:fletch'; | 11 import 'dart:fletch'; |
| 12 | 12 |
| 13 // TODO(ajohnsen): Rename file. | 13 // TODO(ajohnsen): Rename file. |
| 14 | 14 |
| 15 @fletch.native void register(String service, Port servicePort) { | 15 @fletch.native void register(String service, Port servicePort) { |
| 16 throw new UnsupportedError("Was not able to register service '$service'"); | 16 throw new UnsupportedError("Was not able to register service '$service'"); |
| 17 } | 17 } |
| OLD | NEW |