#include <FileFormats.h>
Definition at line 139 of file FileFormats.h.
◆ operator()()
int SFFileCloser::operator() |
( |
SNDFILE * |
sf | ) |
const |
Definition at line 332 of file FileFormats.cpp.
333{
334 auto err = SFCall<int>(sf_close, sf);
335 if (err) {
336 char buffer[1000];
337 sf_error_str(sf, buffer, 1000);
339
340 XO(
"Error (file may not have been written): %s" )
341
342
344 }
345 return err;
346}
MessageBoxResult ShowMessageBox(const TranslatableString &message, MessageBoxOptions options={})
Show a modal message box with either Ok or Yes and No, and optionally Cancel.
References BasicUI::ShowMessageBox(), and XO().
The documentation for this struct was generated from the following files: