| 1 | /* |
| 2 | * Copyright 2014 Canonical Ltd. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU Lesser General Public License as published by |
| 6 | * the Free Software Foundation; version 3. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU Lesser General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU Lesser General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | * |
| 16 | * Authors: Jussi Pakkanen <[email protected]> |
| 17 | * James Henstridge <[email protected]> |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | |
| 22 | #include <lomiri/thumbnailer/qt/lomiri-thumbnailer-qt.h>cxx . . $ `<file>/include/lomiri/thumbnailer/qt/lomiri-thumbnailer-qt.h`/ |
| 23 | |
| 24 | #include <QQuickImageProvider> |
| 25 | |
| 26 | #include <memory> |
| 27 | |
| 28 | namespace lomiricxx . . $ lomiri/ |
| 29 | { |
| 30 | |
| 31 | namespace thumbnailercxx . . $ lomiri/thumbnailer/ |
| 32 | { |
| 33 | |
| 34 | namespace qmlcxx . . $ lomiri/thumbnailer/qml/ |
| 35 | { |
| 36 | |
| 37 | class AlbumArtGeneratorcxx . . $ lomiri/thumbnailer/qml/AlbumArtGenerator# : public QQuickAsyncImageProvidercxx . . $ QQuickAsyncImageProvider# |
| 38 | { |
| 39 | private: |
| 40 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<lomiricxx . . $ lomiri/::thumbnailercxx . . $ lomiri/thumbnailer/::qtcxx . . $ lomiri/thumbnailer/qt/::Thumbnailercxx . . $ lomiri/thumbnailer/qt/Thumbnailer#> thumbnailercxx . . $ lomiri/thumbnailer/qml/AlbumArtGenerator#thumbnailer.; |
| 41 | |
| 42 | public: |
| 43 | AlbumArtGeneratorcxx . . $ lomiri/thumbnailer/qml/AlbumArtGenerator#AlbumArtGenerator(a2f6a30f00c7cfa8).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<lomiricxx . . $ lomiri/::thumbnailercxx . . $ lomiri/thumbnailer/::qtcxx . . $ lomiri/thumbnailer/qt/::Thumbnailercxx . . $ lomiri/thumbnailer/qt/Thumbnailer#> const& thumbnailer); |
| 44 | QQuickImageResponsecxx . . $ QQuickImageResponse#* requestImageResponsecxx . . $ lomiri/thumbnailer/qml/AlbumArtGenerator#requestImageResponse(1a821cc2cf338ddb).(const QStringcxx . . $ QString#& id, const QSizecxx . . $ QSize#& requestedSize) override; |
| 45 | }; |
| 46 | |
| 47 | } // namespace qml |
| 48 | |
| 49 | } // namespace thumbnailer |
| 50 | |
| 51 | } // namespace lomiri |