Debian Codegraph @

libqnapi/src/engines/subtitledownloadengine.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 SUBTITLEDOWNLOADENGINE_H
16 #define SUBTITLEDOWNLOADENGINE_Hcxx . . $ `libqnapi/src/engines/subtitledownloadengine.h:16:9`!
17
18 #include <QFile>
19 #include <QFileInfo>
20 #include <QString>
21 #include <QUrl>
22
23 #include <ctime>
24
25 #include <Maybe.h>cxx . . $ `<file>/deps/qt-maybe/Maybe.h`/
26
27 #include "subtitleinfo.h"cxx . . $ `<file>/libqnapi/src/subtitleinfo.h`/
28
29 #include "engines/subtitledownloadenginemetadata.h"cxx . . $ `<file>/libqnapi/src/engines/subtitledownloadenginemetadata.h`/
30
31 class SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine# {
32 public:
33 virtual ~cxx . . $ SubtitleDownloadEngine#`~SubtitleDownloadEngine`(49f6e7a06ebc5aa8).SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine#() {}
34
35 void setMoviePathcxx . . $ SubtitleDownloadEngine#setMoviePath(3520e46b33348bf6).(const QStringcxx . . $ QString#& path);
36 QStringcxx . . $ QString# moviePathcxx . . $ SubtitleDownloadEngine#moviePath(4365c3963150523e).();
37
38 virtual SubtitleDownloadEngineMetadatacxx . . $ SubtitleDownloadEngineMetadata# metacxx . . $ SubtitleDownloadEngine#meta(f92abb37f8393eac).() const = 0;
39 virtual const char* const* enginePixmapDatacxx . . $ SubtitleDownloadEngine#enginePixmapData(69503a37793e448d).() const = 0;
40
41 virtual void clearSubtitlesListcxx . . $ SubtitleDownloadEngine#clearSubtitlesList(49f6e7a06ebc5aa8).();
42 virtual QStringcxx . . $ QString# checksumcxx . . $ SubtitleDownloadEngine#checksum(f7f320d754b8fd09).(QStringcxx . . $ QString# filename = ""cxx . . $ QString#QString(85c52e162fed56f9).) = 0;
43 virtual bool lookForSubtitlescxx . . $ SubtitleDownloadEngine#lookForSubtitles(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# lang) = 0;
44 virtual QListcxx . . $ QList#<SubtitleInfocxx . . $ SubtitleInfo#> listSubtitlescxx . . $ SubtitleDownloadEngine#listSubtitles(b615605bf031efa3).() = 0;
45 virtual bool downloadcxx . . $ SubtitleDownloadEngine#download(786ace61d67fbe7f).(QUuidcxx . . $ QUuid# id) = 0;
46 virtual bool unpackcxx . . $ SubtitleDownloadEngine#unpack(786ace61d67fbe7f).(QUuidcxx . . $ QUuid# id) = 0;
47 virtual void cleanupcxx . . $ SubtitleDownloadEngine#cleanup(49f6e7a06ebc5aa8).() = 0;
48
49 protected:
50 QStringcxx . . $ QString# tmpPathcxx . . $ SubtitleDownloadEngine#tmpPath.;
51
52 QListcxx . . $ QList#<SubtitleInfocxx . . $ SubtitleInfo#> subtitlesListcxx . . $ SubtitleDownloadEngine#subtitlesList.;
53 QStringcxx . . $ QString# moviecxx . . $ SubtitleDownloadEngine#movie.;
54 QStringcxx . . $ QString# subtitlescxx . . $ SubtitleDownloadEngine#subtitles.;
55 QStringcxx . . $ QString# subtitlesTmpcxx . . $ SubtitleDownloadEngine#subtitlesTmp.;
56 QStringcxx . . $ QString# checkSumcxx . . $ SubtitleDownloadEngine#checkSum.;
57
58 SubtitleDownloadEnginecxx . . $ SubtitleDownloadEngine#SubtitleDownloadEngine(3520e46b33348bf6).(const QStringcxx . . $ QString#& tmpPath);
59
60 Maybecxx . . $ Maybe#<SubtitleInfocxx . . $ SubtitleInfo#> resolveByIdcxx . . $ SubtitleDownloadEngine#resolveById(efe4ef1cfff5bbe2).(QUuidcxx . . $ QUuid# id);
61 void updateSubtitleInfocxx . . $ SubtitleDownloadEngine#updateSubtitleInfo(3bb0ad1a0c893c81).(const SubtitleInfocxx . . $ SubtitleInfo#& si);
62
63 QStringcxx . . $ QString# generateTmpFileNamecxx . . $ SubtitleDownloadEngine#generateTmpFileName(6ef7b6c27b00b43d).() const;
64 QStringcxx . . $ QString# generateTmpPathcxx . . $ SubtitleDownloadEngine#generateTmpPath(6ef7b6c27b00b43d).() const;
65
66 friend class QNapicxx . . $ QNapi#;
67 };
68
69 #endif