|
Blender V5.0
|
import <AppKit/NSImage.h>#include "BLI_fileops.h"#include "BLI_filereader.h"#include "BLI_utility_mixins.hh"#include "blendthumb.hh"#include "thumbnail_provider.h"Go to the source code of this file.
Classes | |
| class | FileDescriptorRAII |
Functions | |
| static NSError * | create_nserror_from_string (NSString *errorStr) |
| static NSImage * | generate_nsimage_for_file (const char *src_blend_path, NSError *error) |
|
static |
Definition at line 102 of file thumbnail_provider.mm.
Referenced by generate_nsimage_for_file().
|
static |
Definition at line 110 of file thumbnail_provider.mm.
References blendthumb_create_png_data_from_thumb(), blendthumb_create_thumb_from_file(), BLI_filereader_new_file(), BT_OK, create_nserror_from_string(), error(), FileDescriptorRAII::get(), FileDescriptorRAII::good(), and length().