OLD | NEW |
1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:io'; | 6 import 'dart:io'; |
7 | 7 |
8 import 'package:power_management/power_management.dart' as power_management; | 8 import 'package:power_management/power_management.dart' as power_management; |
9 | 9 |
10 /// Provide general system functionality used in different platform specific | 10 /// Provide general system functionality used in different platform specific |
11 /// sdk scripts for getting and using extra resources. | 11 /// sdk scripts for getting and using extra resources. |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 | 134 |
135 OutputService(); | 135 OutputService(); |
136 | 136 |
137 OutputService.logToFile(this._logFile) { | 137 OutputService.logToFile(this._logFile) { |
138 if(_logFile.existsSync()) { | 138 if(_logFile.existsSync()) { |
139 _logFile.deleteSync(); | 139 _logFile.deleteSync(); |
140 } | 140 } |
141 } | 141 } |
142 } | 142 } |
OLD | NEW |