| 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 LIBQNAPI_H |
| 16 | #define LIBQNAPI_Hcxx . . $ `libqnapi/src/libqnapi.h:16:9`! |
| 17 | |
| 18 | #include "config/configreader.h"cxx . . $ `<file>/libqnapi/src/config/configreader.h`/ |
| 19 | #include "config/configwriter.h"cxx . . $ `<file>/libqnapi/src/config/configwriter.h`/ |
| 20 | #include "config/qnapiconfig.h"cxx . . $ `<file>/libqnapi/src/config/qnapiconfig.h`/ |
| 21 | #include "config/staticconfig.h"cxx . . $ `<file>/libqnapi/src/config/staticconfig.h`/ |
| 22 | |
| 23 | #include "engines/subtitledownloadenginesregistry.h"cxx . . $ `<file>/libqnapi/src/engines/subtitledownloadenginesregistry.h`/ |
| 24 | |
| 25 | #include "movieinfo/movieinfoprovider.h"cxx . . $ `<file>/libqnapi/src/movieinfo/movieinfoprovider.h`/ |
| 26 | |
| 27 | #include "subconvert/subtitleconverter.h"cxx . . $ `<file>/libqnapi/src/subconvert/subtitleconverter.h`/ |
| 28 | #include "subconvert/subtitleformatsregistry.h"cxx . . $ `<file>/libqnapi/src/subconvert/subtitleformatsregistry.h`/ |
| 29 | |
| 30 | #include "utils/p7zipdecoder.h"cxx . . $ `<file>/libqnapi/src/utils/p7zipdecoder.h`/ |
| 31 | |
| 32 | #include "subtitlematcher.h"cxx . . $ `<file>/libqnapi/src/subtitlematcher.h`/ |
| 33 | #include "subtitlepostprocessor.h"cxx . . $ `<file>/libqnapi/src/subtitlepostprocessor.h`/ |
| 34 | |
| 35 | #include <QSharedPointer> |
| 36 | #include <QString> |
| 37 | |
| 38 | class LibQNapicxx . . $ LibQNapi# { |
| 39 | public: |
| 40 | LibQNapicxx . . $ LibQNapi#LibQNapi(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | static QStringcxx . . $ QString# appExecutableFilePathcxx . . $ LibQNapi#appExecutableFilePath.; |
| 43 | static QStringcxx . . $ QString# appExecutableDircxx . . $ LibQNapi#appExecutableDir.; |
| 44 | |
| 45 | static void initcxx . . $ LibQNapi#init(3520e46b33348bf6).(const QStringcxx . . $ QString#& appExecutablePath); |
| 46 | |
| 47 | static QStringcxx . . $ QString# versioncxx . . $ LibQNapi#version(4365c3963150523e).(); |
| 48 | static QStringcxx . . $ QString# displayableVersioncxx . . $ LibQNapi#displayableVersion(4365c3963150523e).(); |
| 49 | static QStringcxx . . $ QString# webpageUrlcxx . . $ LibQNapi#webpageUrl(4365c3963150523e).(); |
| 50 | |
| 51 | static QSharedPointercxx . . $ QSharedPointer#<const StaticConfigcxx . . $ StaticConfig#> staticConfigcxx . . $ LibQNapi#staticConfig(30e517ccc3d25dfc).(); |
| 52 | static QSharedPointercxx . . $ QSharedPointer#<const ConfigReadercxx . . $ ConfigReader#> configReadercxx . . $ LibQNapi#configReader(4fcb67a38ce170aa).(); |
| 53 | static QSharedPointercxx . . $ QSharedPointer#<const ConfigWritercxx . . $ ConfigWriter#> configWritercxx . . $ LibQNapi#configWriter(d793c8d9ce66739f).(); |
| 54 | |
| 55 | static const QNapiConfigcxx . . $ QNapiConfig# loadConfigcxx . . $ LibQNapi#loadConfig(915c3b8a74517b7e).(); |
| 56 | static void writeConfigcxx . . $ LibQNapi#writeConfig(64b8fa5c398f1122).(const QNapiConfigcxx . . $ QNapiConfig#& config); |
| 57 | static bool isPortableModecxx . . $ LibQNapi#isPortableMode(c9857a73d68e59ba).(); |
| 58 | static QStringcxx . . $ QString# portableConfigPathcxx . . $ LibQNapi#portableConfigPath(4365c3963150523e).(); |
| 59 | |
| 60 | static QStringcxx . . $ QString# uiLanguagecxx . . $ LibQNapi#uiLanguage(1f1a043c4222eea4).(const GeneralConfigcxx . . $ GeneralConfig#& generalConfig); |
| 61 | |
| 62 | static QSharedPointercxx . . $ QSharedPointer#<const SubtitleDownloadEnginesRegistrycxx . . $ SubtitleDownloadEnginesRegistry#> |
| 63 | subtitleDownloadEngineRegistrycxx . . $ LibQNapi#subtitleDownloadEngineRegistry(c62bee4899d08222).(); |
| 64 | |
| 65 | static QSharedPointercxx . . $ QSharedPointer#<const MovieInfoProvidercxx . . $ MovieInfoProvider#> movieInfoProvidercxx . . $ LibQNapi#movieInfoProvider(d155deec53569bc7).(); |
| 66 | |
| 67 | static QSharedPointercxx . . $ QSharedPointer#<const SubtitleFormatsRegistrycxx . . $ SubtitleFormatsRegistry#> |
| 68 | subtitleFormatsRegistrycxx . . $ LibQNapi#subtitleFormatsRegistry(973e1e8926cdb00d).(); |
| 69 | static QSharedPointercxx . . $ QSharedPointer#<const SubtitleConvertercxx . . $ SubtitleConverter#> subtitleConvertercxx . . $ LibQNapi#subtitleConverter(86187f8a8ed03c1d).( |
| 70 | const PostProcessingConfigcxx . . $ PostProcessingConfig#& ppConfig); |
| 71 | |
| 72 | static QSharedPointercxx . . $ QSharedPointer#<const P7ZipDecodercxx . . $ P7ZipDecoder#> p7zipDecodercxx . . $ LibQNapi#p7zipDecoder(a02a5e9f4da2d527).( |
| 73 | const QStringcxx . . $ QString#& p7zipPath); |
| 74 | |
| 75 | static QSharedPointercxx . . $ QSharedPointer#<const SubtitleMatchercxx . . $ SubtitleMatcher#> subtitleMatchercxx . . $ LibQNapi#subtitleMatcher(8b59fe4a4b2d9665).( |
| 76 | const QNapiConfigcxx . . $ QNapiConfig#& config); |
| 77 | static QSharedPointercxx . . $ QSharedPointer#<const SubtitlePostProcessorcxx . . $ SubtitlePostProcessor#> subtitlePostProcessorcxx . . $ LibQNapi#subtitlePostProcessor(d3a2fb69dd26810c).( |
| 78 | const PostProcessingConfigcxx . . $ PostProcessingConfig#& config); |
| 79 | }; |
| 80 | |
| 81 | #endif // LIBQNAPI_H |