mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Added thread-safety to thumbnail request system.
Marked symbol requests as not being thread-safe. Added icon to symbol editor Made *.* actually register on * git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@407 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -31,6 +31,9 @@ class ThumbnailRequest : public IntrusivePtrVirtualBase {
|
||||
virtual Image generate() = 0;
|
||||
/// Store the thumbnail, called from the main thread
|
||||
virtual void store(const Image&) = 0;
|
||||
|
||||
/// Can the thumbnail safely be generated from another thread?
|
||||
virtual bool threadSafe() const = 0;
|
||||
|
||||
/// Object that requested the thumbnail
|
||||
void* const owner;
|
||||
|
||||
Reference in New Issue
Block a user