| 6002 | } |
| 6003 | |
| 6004 | YEvents* YAttachment::queEvents(CheckStatusWrapper* status, IEventCallback* callback, |
| 6005 | unsigned int length, const unsigned char* eventsData) |
| 6006 | { |
| 6007 | try |
| 6008 | { |
| 6009 | YEntry<YAttachment> entry(status, this); |
| 6010 | |
| 6011 | IEvents* events = entry.next()->queEvents(status, callback, length, eventsData); |
| 6012 | YEvents* r = NULL; |
| 6013 | if (events != NULL) |
| 6014 | { |
| 6015 | r = FB_NEW YEvents(this, events, callback); |
| 6016 | r->addRef(); |
| 6017 | } |
| 6018 | return r; |
| 6019 | } |
| 6020 | catch (const Exception& e) |
| 6021 | { |
| 6022 | e.stuffException(status); |
| 6023 | } |
| 6024 | |
| 6025 | return NULL; |
| 6026 | } |
| 6027 | |
| 6028 | void YAttachment::cancelOperation(CheckStatusWrapper* status, int option) |
| 6029 | { |
no test coverage detected