| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef SUBTITLEDOWNLOADENGINEMETADATA_H |
| 16 | #define SUBTITLEDOWNLOADENGINEMETADATA_Hcxx . . $ `libqnapi/src/engines/subtitledownloadenginemetadata.h:16:9`! |
| 17 | |
| 18 | #include <Maybe.h>cxx . . $ `<file>/deps/qt-maybe/Maybe.h`/ |
| 19 | |
| 20 | #include <QString> |
| 21 | |
| 22 | class SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata# { |
| 23 | private: |
| 24 | QStringcxx . . $ QString# name_cxx . . $ SubtitleDownloadEngineMetadata#name_.; |
| 25 | QStringcxx . . $ QString# description_cxx . . $ SubtitleDownloadEngineMetadata#description_.; |
| 26 | Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#> registrationUrl_cxx . . $ SubtitleDownloadEngineMetadata#registrationUrl_.; |
| 27 | Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#> uploadUrl_cxx . . $ SubtitleDownloadEngineMetadata#uploadUrl_.; |
| 28 | |
| 29 | public: |
| 30 | SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata#SubtitleDownloadEngineMetadata(274a86c14fe7729a).(const QStringcxx . . $ QString#& name, |
| 31 | const QStringcxx . . $ QString#& description, |
| 32 | const Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#>& registrationUrl, |
| 33 | const Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#>& uploadUrl) |
| 34 | : name_cxx . . $ SubtitleDownloadEngineMetadata#name_.(name), |
| 35 | description_cxx . . $ SubtitleDownloadEngineMetadata#description_.(description), |
| 36 | registrationUrl_cxx . . $ SubtitleDownloadEngineMetadata#registrationUrl_.(registrationUrl), |
| 37 | uploadUrl_cxx . . $ SubtitleDownloadEngineMetadata#uploadUrl_.(uploadUrl) {} |
| 38 | |
| 39 | QStringcxx . . $ QString# namecxx . . $ SubtitleDownloadEngineMetadata#name(6ef7b6c27b00b43d).() const { return name_cxx . . $ QString#QString(3520e46b33348bf6).; } |
| 40 | QStringcxx . . $ QString# descriptioncxx . . $ SubtitleDownloadEngineMetadata#description(6ef7b6c27b00b43d).() const { return description_cxx . . $ QString#QString(3520e46b33348bf6).; } |
| 41 | Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#> registrationUrlcxx . . $ SubtitleDownloadEngineMetadata#registrationUrl(1c6366afc3889e94).() const { return registrationUrl_cxx . . $ SubtitleDownloadEngineMetadata#registrationUrl_.; } |
| 42 | Maybecxx . . $ Maybe#<QUrlcxx . . $ QUrl#> uploadUrlcxx . . $ SubtitleDownloadEngineMetadata#uploadUrl(1c6366afc3889e94).() const { return uploadUrl_cxx . . $ SubtitleDownloadEngineMetadata#uploadUrl_.; } |
| 43 | }; |
| 44 | |
| 45 | #endif |