| OLD | NEW |
| 1 // Copyright (c) 2011, 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_) |
| 9 #error Do not include eventhandler_win.h directly; use eventhandler.h instead. |
| 10 #endif |
| 11 |
| 8 #include <winsock2.h> | 12 #include <winsock2.h> |
| 9 #include <mswsock.h> | 13 #include <mswsock.h> |
| 10 | 14 |
| 11 #include "bin/builtin.h" | 15 #include "bin/builtin.h" |
| 12 | 16 |
| 13 | 17 |
| 14 // Forward declarations. | 18 // Forward declarations. |
| 15 class EventHandlerImplementation; | 19 class EventHandlerImplementation; |
| 16 class Handle; | 20 class Handle; |
| 17 class FileHandle; | 21 class FileHandle; |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 private: | 359 private: |
| 356 ClientSocket* client_sockets_head_; | 360 ClientSocket* client_sockets_head_; |
| 357 | 361 |
| 358 int64_t timeout_; // Time for next timeout. | 362 int64_t timeout_; // Time for next timeout. |
| 359 Dart_Port timeout_port_; | 363 Dart_Port timeout_port_; |
| 360 HANDLE completion_port_; | 364 HANDLE completion_port_; |
| 361 }; | 365 }; |
| 362 | 366 |
| 363 | 367 |
| 364 #endif // BIN_EVENTHANDLER_WIN_H_ | 368 #endif // BIN_EVENTHANDLER_WIN_H_ |
| OLD | NEW |