| OLD | NEW |
| 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 #ifndef SRC_SHARED_FLETCH_H_ | 5 #ifndef SRC_SHARED_DARTINO_H_ |
| 6 #define SRC_SHARED_FLETCH_H_ | 6 #define SRC_SHARED_DARTINO_H_ |
| 7 | 7 |
| 8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
| 9 | 9 |
| 10 namespace fletch { | 10 namespace dartino { |
| 11 | 11 |
| 12 // Fletch is a helper class used to call system wide functions such as | 12 // Dartino is a helper class used to call system wide functions such as |
| 13 // initialization. The definition of the class is shared between the | 13 // initialization. The definition of the class is shared between the |
| 14 // compiler and the VM, but both of these have their own implementation. | 14 // compiler and the VM, but both of these have their own implementation. |
| 15 class Fletch { | 15 class Dartino { |
| 16 public: | 16 public: |
| 17 // Initialize Fletch and all its subsystems. | 17 // Initialize Dartino and all its subsystems. |
| 18 static void Setup(); | 18 static void Setup(); |
| 19 | 19 |
| 20 static void TearDown(); | 20 static void TearDown(); |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 // Make sure that this class can not ever be instantiated. All its methods | 23 // Make sure that this class can not ever be instantiated. All its methods |
| 24 // should be static class methods. | 24 // should be static class methods. |
| 25 DISALLOW_ALLOCATION(); | 25 DISALLOW_ALLOCATION(); |
| 26 DISALLOW_IMPLICIT_CONSTRUCTORS(Fletch); | 26 DISALLOW_IMPLICIT_CONSTRUCTORS(Dartino); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace fletch | 29 } // namespace dartino |
| 30 | 30 |
| 31 #endif // SRC_SHARED_FLETCH_H_ | 31 #endif // SRC_SHARED_DARTINO_H_ |
| OLD | NEW |