OLD | NEW |
1 // Copyright (c) 2015, the Dartino 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 import fletch.FletchApi; | 5 import dartino.DartinoApi; |
6 | 6 |
7 public class SnapshotRunner implements Runnable { | 7 public class SnapshotRunner implements Runnable { |
8 SnapshotRunner(byte[] s) { snapshot = s; } | 8 SnapshotRunner(byte[] s) { snapshot = s; } |
9 public void run() { FletchApi.RunSnapshot(snapshot); } | 9 public void run() { DartinoApi.RunSnapshot(snapshot); } |
10 private byte[] snapshot; | 10 private byte[] snapshot; |
11 } | 11 } |
OLD | NEW |