| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #ifndef BIN_EVENTHANDLER_H_ | 5 #ifndef BIN_EVENTHANDLER_H_ |
| 6 #define BIN_EVENTHANDLER_H_ | 6 #define BIN_EVENTHANDLER_H_ |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "bin/isolate_data.h" | 9 #include "bin/isolate_data.h" |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 * Start the event-handler. | 112 * Start the event-handler. |
| 113 */ | 113 */ |
| 114 static void Start(); | 114 static void Start(); |
| 115 | 115 |
| 116 /** | 116 /** |
| 117 * Stop the event-handler. It's expected that there will be no further calls | 117 * Stop the event-handler. It's expected that there will be no further calls |
| 118 * to SendData after a call to Stop. | 118 * to SendData after a call to Stop. |
| 119 */ | 119 */ |
| 120 static void Stop(); | 120 static void Stop(); |
| 121 | 121 |
| 122 static EventHandlerImplementation* delegate(); |
| 123 |
| 122 private: | 124 private: |
| 123 friend class EventHandlerImplementation; | 125 friend class EventHandlerImplementation; |
| 124 EventHandlerImplementation delegate_; | 126 EventHandlerImplementation delegate_; |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 } // namespace bin | 129 } // namespace bin |
| 128 } // namespace dart | 130 } // namespace dart |
| 129 | 131 |
| 130 #endif // BIN_EVENTHANDLER_H_ | 132 #endif // BIN_EVENTHANDLER_H_ |
| OLD | NEW |