Debian Codegraph @

libqnapi/src/engines/napiprojektdownloadengine.h

raw symbols SCIP
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 NAPIPROJEKTDOWNLOADENGINE_H
16 #define NAPIPROJEKTDOWNLOADENGINE_Hcxx . . $ `libqnapi/src/engines/napiprojektdownloadengine.h:16:9`!
17
18 #include "config/engineconfig.h"cxx . . $ `<file>/libqnapi/src/config/engineconfig.h`/
19 #include "engines/subtitledownloadengine.h"cxx . . $ `<file>/libqnapi/src/engines/subtitledownloadengine.h`/
20 #include "utils/p7zipdecoder.h"cxx . . $ `<file>/libqnapi/src/utils/p7zipdecoder.h`/
21
22 #include <QSharedPointer>
23
24 class NapiProjektDownloadEnginecxx . . $ NapiProjektDownloadEngine# : public SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine# {
25 public:
26 NapiProjektDownloadEnginecxx . . $ NapiProjektDownloadEngine#NapiProjektDownloadEngine(e7bc3b5e500dcfd7).(
27 const QStringcxx . . $ QString#& tmpPath, const EngineConfigcxx . . $ EngineConfig#& config,
28 const QSharedPointercxx . . $ QSharedPointer#<const P7ZipDecodercxx . . $ P7ZipDecoder#>& p7zipDecoder);
29 ~cxx . . $ NapiProjektDownloadEngine#`~NapiProjektDownloadEngine`(49f6e7a06ebc5aa8).NapiProjektDownloadEnginecxx . . $ NapiProjektDownloadEngine#();
30
31 static SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata# metadatacxx . . $ NapiProjektDownloadEngine#metadata.;
32 static const char* const pixmapDatacxx . . $ NapiProjektDownloadEngine#pixmapData.[];
33
34 SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata# metacxx . . $ NapiProjektDownloadEngine#meta(f92abb37f8393eac).() const;
35 const char* const* enginePixmapDatacxx . . $ NapiProjektDownloadEngine#enginePixmapData(69503a37793e448d).() const;
36
37 QStringcxx . . $ QString# checksumcxx . . $ NapiProjektDownloadEngine#checksum(f7f320d754b8fd09).(QStringcxx . . $ QString# filename = ""cxx . . $ QString#QString(e1217c004a86c950).);
38 bool lookForSubtitlescxx . . $ NapiProjektDownloadEngine#lookForSubtitles(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# lang);
39 QListcxx . . $ QList#<SubtitleInfocxx . . $ SubtitleInfo#> listSubtitlescxx . . $ NapiProjektDownloadEngine#listSubtitles(b615605bf031efa3).();
40 bool downloadcxx . . $ NapiProjektDownloadEngine#download(786ace61d67fbe7f).(QUuidcxx . . $ QUuid# id);
41 bool unpackcxx . . $ NapiProjektDownloadEngine#unpack(786ace61d67fbe7f).(QUuidcxx . . $ QUuid# id);
42 void cleanupcxx . . $ NapiProjektDownloadEngine#cleanup(49f6e7a06ebc5aa8).();
43
44 static bool checkUsercxx . . $ NapiProjektDownloadEngine#checkUser(edf9e4f73813982f).(const QStringcxx . . $ QString#& nick, const QStringcxx . . $ QString#& pass);
45
46 private:
47 EngineConfigcxx . . $ EngineConfig# engineConfigcxx . . $ NapiProjektDownloadEngine#engineConfig.;
48 QSharedPointercxx . . $ QSharedPointer#<const P7ZipDecodercxx . . $ P7ZipDecoder#> p7zipDecodercxx . . $ NapiProjektDownloadEngine#p7zipDecoder.;
49
50 QStringcxx . . $ QString# checksumcxx . . $ NapiProjektDownloadEngine#checksum(afa4754008a97e3f).(QStringcxx . . $ QString# filename, bool limit10M);
51 Maybecxx . . $ Maybe#<QStringcxx . . $ QString#> downloadByLangAndChecksumcxx . . $ NapiProjektDownloadEngine#downloadByLangAndChecksum(1dd7ed6bda84349f).(QStringcxx . . $ QString# lang,
52 QStringcxx . . $ QString# checksum) const;
53 QStringcxx . . $ QString# npFDigestcxx . . $ NapiProjektDownloadEngine#npFDigest(5555d9024dcf93fb).(const QStringcxx . . $ QString#& input) const;
54 QStringcxx . . $ QString# npLangWrappercxx . . $ NapiProjektDownloadEngine#npLangWrapper(f6736f2569bd2ccc).(QStringcxx . . $ QString# lang) const;
55 QStringcxx . . $ QString# napiOScxx . . $ NapiProjektDownloadEngine#napiOS(6ef7b6c27b00b43d).() const;
56 };
57
58 #endif