| 176 | |
| 177 | |
| 178 | int RRTransSynchronize(void *handle) |
| 179 | { |
| 180 | _vgl_disableFaker(); |
| 181 | |
| 182 | int ret = 0; |
| 183 | try |
| 184 | { |
| 185 | VGLTrans *vglconn = (VGLTrans *)handle; |
| 186 | if(!vglconn) THROW("Invalid handle"); |
| 187 | vglconn->synchronize(); |
| 188 | } |
| 189 | catch(std::exception &e) |
| 190 | { |
| 191 | snprintf(errStr, MAXSTR + 14, "Error in %s -- %s", GET_METHOD(e), |
| 192 | e.what()); |
| 193 | ret = -1; |
| 194 | } |
| 195 | |
| 196 | _vgl_enableFaker(); |
| 197 | |
| 198 | return ret; |
| 199 | } |
| 200 | |
| 201 | |
| 202 | int RRTransSendFrame(void *handle, RRFrame *frame, int sync) |
nothing calls this directly
no test coverage detected