| 81 | } |
| 82 | |
| 83 | int CConnectLayer::cbLayerRead(void *userContext, void *data, int bytes) |
| 84 | { |
| 85 | //qDebug(log) << Q_FUNC_INFO; |
| 86 | if(!userContext) return -1; |
| 87 | if (!data || !bytes) |
| 88 | return 0; |
| 89 | CConnectLayer* pThis = ((LayerUserData*)userContext)->pThis; |
| 90 | return pThis->OnLayerRead(data, bytes); |
| 91 | } |
| 92 | |
| 93 | int CConnectLayer::cbLayerWrite(void *userContext, const void *data, int bytes) |
| 94 | { |
nothing calls this directly
no test coverage detected