File indexing completed on 2024-05-05 04:22:00

0001 /* SPDX-FileCopyrightText: 2003-2020 The KPhotoAlbum Development Team
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef IMAGEMANAGER_PRELOADREQUEST_H
0007 #define IMAGEMANAGER_PRELOADREQUEST_H
0008 #include "ImageRequest.h"
0009 
0010 namespace ImageManager
0011 {
0012 class ThumbnailCache;
0013 
0014 class PreloadRequest : public ImageRequest
0015 {
0016 public:
0017     explicit PreloadRequest(const DB::FileName &fileName, const QSize &size, int angle, ImageClientInterface *client, const ThumbnailCache *thumbnailCache);
0018     bool stillNeeded() const override;
0019 
0020 private:
0021     const ThumbnailCache *m_thumbnailCache;
0022 };
0023 
0024 }
0025 
0026 #endif // IMAGEMANAGER_PRELOADREQUEST_H
0027 // vi:expandtab:tabstop=4 shiftwidth=4: