| 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_WIN_H_ | 5 #ifndef BIN_EVENTHANDLER_WIN_H_ |
| 6 #define BIN_EVENTHANDLER_WIN_H_ | 6 #define BIN_EVENTHANDLER_WIN_H_ |
| 7 | 7 |
| 8 #if !defined(BIN_EVENTHANDLER_H_) | 8 #if !defined(BIN_EVENTHANDLER_H_) |
| 9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead. | 9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead. |
| 10 #endif | 10 #endif |
| 11 | 11 |
| 12 #include <winsock2.h> | 12 #include <winsock2.h> |
| 13 #include <ws2tcpip.h> | 13 #include <ws2tcpip.h> |
| 14 #include <mswsock.h> | 14 #include <mswsock.h> |
| 15 | 15 |
| 16 #include "bin/builtin.h" | 16 #include "bin/builtin.h" |
| 17 #include "platform/thread.h" | 17 #include "bin/thread.h" |
| 18 | 18 |
| 19 | 19 |
| 20 namespace dart { | 20 namespace dart { |
| 21 namespace bin { | 21 namespace bin { |
| 22 | 22 |
| 23 // Forward declarations. | 23 // Forward declarations. |
| 24 class EventHandlerImplementation; | 24 class EventHandlerImplementation; |
| 25 class Handle; | 25 class Handle; |
| 26 class FileHandle; | 26 class FileHandle; |
| 27 class SocketHandle; | 27 class SocketHandle; |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 | 541 |
| 542 TimeoutQueue timeout_queue_; // Time for next timeout. | 542 TimeoutQueue timeout_queue_; // Time for next timeout. |
| 543 bool shutdown_; | 543 bool shutdown_; |
| 544 HANDLE completion_port_; | 544 HANDLE completion_port_; |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 } // namespace bin | 547 } // namespace bin |
| 548 } // namespace dart | 548 } // namespace dart |
| 549 | 549 |
| 550 #endif // BIN_EVENTHANDLER_WIN_H_ | 550 #endif // BIN_EVENTHANDLER_WIN_H_ |
| OLD | NEW |