| Index: native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node.h b/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| index 661a194bfe0390e581bba027b592d3acdd60aa95..37847c9bd57c7d861e4d54c79dc92592bd6ea225 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| @@ -26,7 +26,7 @@ typedef sdk_util::ScopedRef<MountNode> ScopedMountNode;
|
|
|
| // NOTE: The KernelProxy is the only class that should be setting errno. All
|
| // other classes should return Error (as defined by nacl_io/error.h).
|
| -class MountNode : public EventListener {
|
| +class MountNode : public sdk_util::RefObject {
|
| protected:
|
| explicit MountNode(Mount* mount);
|
| virtual ~MountNode();
|
| @@ -37,7 +37,9 @@ class MountNode : public EventListener {
|
| virtual void Destroy();
|
|
|
| public:
|
| - // Declared in EventEmitter. defaults to signalled.
|
| + // Returns the emitter for this Node if it has one, if not, assume this
|
| + // object can not block.
|
| + virtual EventEmitter* GetEventEmitter();
|
| virtual uint32_t GetEventStatus();
|
|
|
| // Normal OS operations on a node (file), can be called by the kernel
|
|
|