Changeset 24:efa33e16e135 in xplcommon for src/xplcommon/win32/Completer.h
- Timestamp:
- 01/02/13 06:53:35 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/win32/Completer.h
r22 r24 32 32 //------------------------------------------------------------------------------ 33 33 34 #include "../Failable.h" 35 34 36 #include "Overlapped.h" 35 37 #include "Overlappable.h" … … 47 49 * object is created and stored in this object. 48 50 */ 49 class Completer 51 class Completer : public ::xplcommon::FailableReference<Completer> 50 52 { 51 53 protected: … … 110 112 */ 111 113 virtual void handleWaitedResult(DWORD size) = 0; 114 115 private: 116 /** 117 * Get the failable object. 118 */ 119 const ::xplcommon::Failable& getFailable() const; 120 121 /** 122 * Get the failable object. 123 */ 124 ::xplcommon::Failable& getFailable(); 125 126 friend class FailableReference<Completer>; 112 127 }; 113 128 … … 180 195 //------------------------------------------------------------------------------ 181 196 197 inline const ::xplcommon::Failable& Completer::getFailable() const 198 { 199 return overlappable; 200 } 201 202 //------------------------------------------------------------------------------ 203 204 inline ::xplcommon::Failable& Completer::getFailable() 205 { 206 return overlappable; 207 } 208 209 //------------------------------------------------------------------------------ 210 182 211 } /* namespace xplcommon::win32 */ } /* namespace xplcommon */ 183 212
Note:
See TracChangeset
for help on using the changeset viewer.