Changeset 41184 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- May 7, 2012 1:28:04 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77810
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/NetworkAdapterImpl.cpp
r28800 r41184 187 187 AssertMsgFailed(("Invalid file descriptor: %ld.\n", tapFileDescriptor)); 188 188 189 // setError VirtualBoxSupportErrorInfoImplBase which 190 // is a parent class of NetworAdapter in the COM flavored version 191 // return setError (E_INVALIDARG, 192 // tr ("Invalid file descriptor: %ld"), tapFileDescriptor); 193 194 return S_OK; 195 189 return setError (E_INVALIDARG, 190 tr ("Invalid file descriptor: %ld"), tapFileDescriptor); 196 191 } 197 192 -
trunk/src/VBox/Frontends/VBoxBFE/VirtualBoxBase.h
r36120 r41184 81 81 82 82 /** 83 * A special version of the Assert macro to be used within VirtualBoxBase 84 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 83 * Assert macro wrapper. 85 84 * 86 85 * In the debug build, this macro is equivalent to Assert. 87 * In the release build, this macro uses |setError (E_FAIL, ...)| to set the 88 * error info from the asserted expression. 89 * 90 * @see VirtualBoxSupportErrorInfoImpl::setError 86 * In the release build, this is a no-op. 91 87 * 92 88 * @param expr Expression which should be true. … … 100 96 101 97 /** 102 * A special version of the AssertMsg macro to be used within VirtualBoxBase 103 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 98 * AssertMsg macro wrapper. 99 * 100 * In the debug build, this macro is equivalent to AssertMsg. 101 * In the release build, this is a no-op. 104 102 * 105 103 * See ComAssert for more info. … … 116 114 117 115 /** 118 * A special version of the AssertRC macro to be used within VirtualBoxBase 119 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 116 * AssertRC macro wrapper. 117 * 118 * In the debug build, this macro is equivalent to AssertRC. 119 * In the release build, this is a no-op. 120 120 * 121 121 * See ComAssert for more info. … … 130 130 131 131 /** 132 * A special version of the AssertMsgRC macro to be used within VirtualBoxBase 133 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 132 * AssertMsgRC macro wrapper. 133 * 134 * In the debug build, this macro is equivalent to AssertMsgRC. 135 * In the release build, this is a no-op. 134 136 * 135 137 * See ComAssert for more info. … … 146 148 147 149 /** 148 * A special version of the AssertFailed macro to be used within VirtualBoxBase 149 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 150 * AssertFailed macro wrapper. 151 * 152 * In the debug build, this macro is equivalent to AssertFailed. 153 * In the release build, this is a no-op. 150 154 * 151 155 * See ComAssert for more info. … … 159 163 160 164 /** 161 * A special version of the AssertMsgFailed macro to be used within VirtualBoxBase 162 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 165 * AssertMsgFailed macro wrapper. 166 * 167 * In the debug build, this macro is equivalent to AssertMsgFailed. 168 * In the release build, this is a no-op. 163 169 * 164 170 * See ComAssert for more info. … … 174 180 175 181 /** 176 * A special version of the AssertComRC macro to be used within VirtualBoxBase 177 * subclasses that also inherit the VirtualBoxSupportErrorInfoImpl template. 182 * AssertComRC macro wrapper. 183 * 184 * In the debug build, this macro is equivalent to AssertComRC. 185 * In the release build, this is a no-op. 178 186 * 179 187 * See ComAssert for more info. … … 246 254 * This macro <b>must</b> be used at the beginning of all interface methods 247 255 * (right after entering the class lock) in classes derived from both 248 * VirtualBoxBase and VirtualBoxSupportErrorInfoImpl.256 * VirtualBoxBase. 249 257 */ 250 258 #define CHECK_READY() \
Note:
See TracChangeset
for help on using the changeset viewer.