| Index: bin/eventhandler_win.h
|
| ===================================================================
|
| --- bin/eventhandler_win.h (revision 380)
|
| +++ bin/eventhandler_win.h (working copy)
|
| @@ -139,6 +139,11 @@
|
|
|
| virtual ~Handle();
|
|
|
| + // Socket interface exposing normal socket operations.
|
| + int Available();
|
| + int Read(void* buffer, int num_bytes);
|
| + int Write(const void* buffer, int num_bytes);
|
| +
|
| // Internal interface used by the event handler.
|
| virtual bool IssueRead();
|
| virtual bool IssueWrite();
|
| @@ -202,6 +207,12 @@
|
| : Handle(reinterpret_cast<HANDLE>(handle)) { type_ = kFile; }
|
| FileHandle(HANDLE handle, Dart_Port port)
|
| : Handle(reinterpret_cast<HANDLE>(handle), port) { type_ = kFile; }
|
| +
|
| + virtual void EnsureInitialized(EventHandlerImplementation* event_handler);
|
| + virtual bool IsClosed();
|
| +
|
| + private:
|
| + virtual void AfterClose();
|
| };
|
|
|
|
|
| @@ -277,11 +288,6 @@
|
| ASSERT(next_ == NULL);
|
| };
|
|
|
| - // Socket interface exposing normal socket operations.
|
| - int Available();
|
| - int Read(void* buffer, int num_bytes);
|
| - int Write(const void* buffer, int num_bytes);
|
| -
|
| // Internal interface used by the event handler.
|
| virtual bool IssueRead();
|
| virtual bool IssueWrite();
|
|
|