| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _DirectoryEntryWrappingImplementation extends _EntryWrappingImplementation
implements DirectoryEntry { | 7 class _DirectoryEntryWrappingImplementation extends _EntryWrappingImplementation
implements DirectoryEntry { |
| 8 _DirectoryEntryWrappingImplementation() : super() {} | 8 _DirectoryEntryWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DirectoryEntryWrappingImplementation() native { | 10 static create__DirectoryEntryWrappingImplementation() native { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 throw "Incorrect number or type of arguments"; | 74 throw "Incorrect number or type of arguments"; |
| 75 } | 75 } |
| 76 static void _getFile(receiver, path) native; | 76 static void _getFile(receiver, path) native; |
| 77 static void _getFile_2(receiver, path, flags) native; | 77 static void _getFile_2(receiver, path, flags) native; |
| 78 static void _getFile_3(receiver, path, flags, successCallback) native; | 78 static void _getFile_3(receiver, path, flags, successCallback) native; |
| 79 static void _getFile_4(receiver, path, flags, successCallback, errorCallback)
native; | 79 static void _getFile_4(receiver, path, flags, successCallback, errorCallback)
native; |
| 80 | 80 |
| 81 void removeRecursively([VoidCallback successCallback = null, ErrorCallback err
orCallback = null]) { | 81 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack = null]) { |
| 82 if (successCallback === null) { | 82 if (errorCallback === null) { |
| 83 if (errorCallback === null) { | 83 _removeRecursively(this, successCallback); |
| 84 _removeRecursively(this); | 84 return; |
| 85 return; | |
| 86 } | |
| 87 } else { | 85 } else { |
| 88 if (errorCallback === null) { | 86 _removeRecursively_2(this, successCallback, errorCallback); |
| 89 _removeRecursively_2(this, successCallback); | 87 return; |
| 90 return; | |
| 91 } else { | |
| 92 _removeRecursively_3(this, successCallback, errorCallback); | |
| 93 return; | |
| 94 } | |
| 95 } | 88 } |
| 96 throw "Incorrect number or type of arguments"; | |
| 97 } | 89 } |
| 98 static void _removeRecursively(receiver) native; | 90 static void _removeRecursively(receiver, successCallback) native; |
| 99 static void _removeRecursively_2(receiver, successCallback) native; | 91 static void _removeRecursively_2(receiver, successCallback, errorCallback) nat
ive; |
| 100 static void _removeRecursively_3(receiver, successCallback, errorCallback) nat
ive; | |
| 101 | 92 |
| 102 String get typeName() { return "DirectoryEntry"; } | 93 String get typeName() { return "DirectoryEntry"; } |
| 103 } | 94 } |
| OLD | NEW |