| 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 #include "bin/socket.h" |
| 10 | 11 |
| 11 namespace dart { | 12 namespace dart { |
| 12 namespace bin { | 13 namespace bin { |
| 13 | 14 |
| 14 // Flags used to provide information and actions to the eventhandler | 15 // Flags used to provide information and actions to the eventhandler |
| 15 // when sending a message about a file descriptor. These flags should | 16 // when sending a message about a file descriptor. These flags should |
| 16 // be kept in sync with the constants in socket_impl.dart. For more | 17 // be kept in sync with the constants in socket_impl.dart. For more |
| 17 // information see the comments in socket_impl.dart | 18 // information see the comments in socket_impl.dart |
| 18 enum MessageFlags { | 19 enum MessageFlags { |
| 19 kInEvent = 0, | 20 kInEvent = 0, |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 124 |
| 124 private: | 125 private: |
| 125 friend class EventHandlerImplementation; | 126 friend class EventHandlerImplementation; |
| 126 EventHandlerImplementation delegate_; | 127 EventHandlerImplementation delegate_; |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace bin | 130 } // namespace bin |
| 130 } // namespace dart | 131 } // namespace dart |
| 131 | 132 |
| 132 #endif // BIN_EVENTHANDLER_H_ | 133 #endif // BIN_EVENTHANDLER_H_ |
| OLD | NEW |