1 /* SPDX-FileCopyrightText: 2014 Jesper K. Pedersen <blackie@kde.org> 2 3 SPDX-License-Identifier: GPL-2.0-or-later 4 */ 5 6 #ifndef REMOTECONTROL_REMOTEIMAGEREQUEST_H 7 #define REMOTECONTROL_REMOTEIMAGEREQUEST_H 8 9 #include "RemoteInterface.h" 10 #include "Types.h" 11 12 #include <ImageManager/ImageRequest.h> 13 14 namespace RemoteControl 15 { 16 17 class RemoteImageRequest : public ImageManager::ImageRequest 18 { 19 public: 20 RemoteImageRequest(const DB::FileName &fileName, const QSize &size, int angle, ViewType type, RemoteInterface *client); 21 bool stillNeeded() const override; 22 ViewType type() const; 23 24 private: 25 RemoteInterface *m_interface; 26 ViewType m_type; 27 }; 28 29 } // namespace RemoteControl 30 31 #endif // REMOTECONTROL_REMOTEIMAGEREQUEST_H 32