Ignore:
Timestamp:
01/02/13 07:47:31 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Moved releaseHandle to Overlappable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/win32/Overlappable.h

    r21 r25  
    8686    bool hasWaiter() const;
    8787
     88    /**
     89     * Get the handle and clear it.
     90     */
     91    HANDLE releaseHandle();
     92
    8893    friend class Completer;
    8994};
     
    122127//------------------------------------------------------------------------------
    123128
     129inline HANDLE Overlappable::releaseHandle()
     130{
     131    HANDLE h = handle;
     132    handle = 0;
     133    return h;
     134}
     135
     136//------------------------------------------------------------------------------
     137
    124138} /* namespace xplcommon::win32 */ } /* namespace xplcommon */
    125139
Note: See TracChangeset for help on using the changeset viewer.