1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

FileManager: Add a very naive thumbnail generation thread.

This is pretty rickety since we don't have any synchronization primitives.
This commit is contained in:
Andreas Kling 2019-03-24 02:59:09 +01:00
parent e7c1caa2b5
commit 812dc1e9ea
2 changed files with 35 additions and 4 deletions

View file

@ -5,6 +5,7 @@
#include <sys/stat.h>
class DirectoryModel final : public GModel {
friend int thumbnail_thread(void*);
public:
static Retained<DirectoryModel> create() { return adopt(*new DirectoryModel); }
virtual ~DirectoryModel() override;