| 478 | } |
| 479 | |
| 480 | void RSSPhotoFrameSource::onTransferComplete(const FileTransfer& transfer) |
| 481 | { |
| 482 | bool * isImageNotSource = (bool *) transfer.getUserData(); |
| 483 | |
| 484 | // delegate to the correct function |
| 485 | if (isImageNotSource && *isImageNotSource) |
| 486 | onImageUpdate(transfer); |
| 487 | else |
| 488 | onSourceUpdate(transfer); |
| 489 | |
| 490 | // free temporary data |
| 491 | if (isImageNotSource) |
| 492 | delete isImageNotSource; |
| 493 | } |
| 494 | |
| 495 | void RSSPhotoFrameSource::onTransferError(const FileTransfer& transfer) |
| 496 | { |
nothing calls this directly
no test coverage detected