| 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 SUBTITLEDOWNLOADENGINESREGISTRY_H |
| 16 | #define SUBTITLEDOWNLOADENGINESREGISTRY_Hcxx . . $ `libqnapi/src/engines/subtitledownloadenginesregistry.h:16:9`! |
| 17 | |
| 18 | #include "config/qnapiconfig.h"cxx . . $ `<file>/libqnapi/src/config/qnapiconfig.h`/ |
| 19 | |
| 20 | #include "engines/subtitledownloadengine.h"cxx . . $ `<file>/libqnapi/src/engines/subtitledownloadengine.h`/ |
| 21 | |
| 22 | #include "utils/p7zipdecoder.h"cxx . . $ `<file>/libqnapi/src/utils/p7zipdecoder.h`/ |
| 23 | |
| 24 | #include <QSharedPointer> |
| 25 | #include <QString> |
| 26 | #include <QStringList> |
| 27 | #include <QUrl> |
| 28 | #include <functional> |
| 29 | |
| 30 | class SubtitleDownloadEnginesRegistrycxx . . $ SubtitleDownloadEnginesRegistry# { |
| 31 | public: |
| 32 | SubtitleDownloadEnginesRegistrycxx . . $ SubtitleDownloadEnginesRegistry#SubtitleDownloadEnginesRegistry(c1ce25f1ead06c7d).( |
| 33 | const QStringcxx . . $ QString# &qnapiDisplayableVersion, |
| 34 | const QStringListcxx . . $ QStringList# &subtitleExtensions, |
| 35 | stdcxx . . $ std/::functioncxx . . $ std/function#<QSharedPointercxx . . $ QSharedPointer#<const P7ZipDecodercxx . . $ P7ZipDecoder#>(const QStringcxx . . $ QString# &)> |
| 36 | p7zipDecoderFactory); |
| 37 | |
| 38 | QStringListcxx . . $ QStringList# listEngineNamescxx . . $ SubtitleDownloadEnginesRegistry#listEngineNames(e1dbd5c4feadc8f5).() const; |
| 39 | SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata# engineMetadatacxx . . $ SubtitleDownloadEnginesRegistry#engineMetadata(b33a41f6a1dd084a).( |
| 40 | const QStringcxx . . $ QString# &engineName) const; |
| 41 | const char *const *enginePixmapDatacxx . . $ SubtitleDownloadEnginesRegistry#enginePixmapData(9d6760e3d9ac89d6).(const QStringcxx . . $ QString# &engineName) const; |
| 42 | |
| 43 | QSharedPointercxx . . $ QSharedPointer#<SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine#> createEnginecxx . . $ SubtitleDownloadEnginesRegistry#createEngine(b18130c81906ed).( |
| 44 | const QStringcxx . . $ QString# &engineName, const QNapiConfigcxx . . $ QNapiConfig# &config) const; |
| 45 | QListcxx . . $ QList#<QSharedPointercxx . . $ QSharedPointer#<SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine#>> createEnginescxx . . $ SubtitleDownloadEnginesRegistry#createEngines(abc6d94894b3b316).( |
| 46 | const QStringListcxx . . $ QStringList# &engineNames, const QNapiConfigcxx . . $ QNapiConfig# &config) const; |
| 47 | QListcxx . . $ QList#<QSharedPointercxx . . $ QSharedPointer#<SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine#>> createEnabledEnginescxx . . $ SubtitleDownloadEnginesRegistry#createEnabledEngines(14f0aea4fb408033).( |
| 48 | const QNapiConfigcxx . . $ QNapiConfig# &config) const; |
| 49 | |
| 50 | private: |
| 51 | const QStringcxx . . $ QString# qnapiDisplayableVersioncxx . . $ SubtitleDownloadEnginesRegistry#qnapiDisplayableVersion.; |
| 52 | const QStringListcxx . . $ QStringList# subtitleExtensionscxx . . $ SubtitleDownloadEnginesRegistry#subtitleExtensions.; |
| 53 | stdcxx . . $ std/::functioncxx . . $ std/function#<QSharedPointercxx . . $ QSharedPointer#<const P7ZipDecodercxx . . $ P7ZipDecoder#>(const QStringcxx . . $ QString# &)> |
| 54 | p7zipDecoderFactorycxx . . $ SubtitleDownloadEnginesRegistry#p7zipDecoderFactory.; |
| 55 | }; |
| 56 | |
| 57 | #endif // SUBTITLEDOWNLOADENGINESREGISTRY_H |