Debian Codegraph @

libqnapi/src/subtitleinfo.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 SUBTITLEINFO_H
16 #define SUBTITLEINFO_Hcxx . . $ `libqnapi/src/subtitleinfo.h:16:9`!
17
18 #include <QMetaType>
19 #include <QUuid>
20
21 // Orientacyjne okreslenie czy napisy na pewno pasuja lub nie do naszego filmu
22 enum SubtitleResolutioncxx . . $ SubtitleResolution# {
23 // brak napisów
24 SUBTITLE_NONEcxx . . $ SUBTITLE_NONE.,
25 // podejrzenie, ze napisy nie pasuja
26 // (np. zostaly oznaczone jako nieprawidlowe)
27 SUBTITLE_BADcxx . . $ SUBTITLE_BAD.,
28 // nie wiadomo (lub nie jestesmy pewni)
29 SUBTITLE_UNKNOWNcxx . . $ SUBTITLE_UNKNOWN.,
30 // napisy prawdopodobnie pasuja (np. nazwa pliku czy releasu sie zgadza)
31 SUBTITLE_GOODcxx . . $ SUBTITLE_GOOD.
32 };
33
34 // struktura opisujaca napisy
35 class SubtitleInfocxx . . $ SubtitleInfo# {
36 public:
37 SubtitleInfocxx . . $ SubtitleInfo#SubtitleInfo(b0b7d91110c9239c).(QStringcxx . . $ QString# _lang = ""cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QString# _engine = ""cxx . . $ QString#QString(85c52e162fed56f9).,
38 QStringcxx . . $ QString# _sourceLocation = ""cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QString# _name = ""cxx . . $ QString#QString(85c52e162fed56f9).,
39 QStringcxx . . $ QString# _comment = ""cxx . . $ QString#QString(e1217c004a86c950)., QStringcxx . . $ QString# _format = ""cxx . . $ QString#QString(e1217c004a86c950).,
40 SubtitleResolutioncxx . . $ SubtitleResolution# _resolution = SUBTITLE_UNKNOWNcxx . . $ SUBTITLE_UNKNOWN.)
41 : langcxx . . $ QString#QString(e1217c004a86c950).(_lang.toLowercxx . . $ QString#toLower(dca2c5857e9adf82).()),
42 enginecxx . . $ SubtitleInfo#engine.(_engine),
43 sourceLocationcxx . . $ QString#QString(3520e46b33348bf6).(_sourceLocation),
44 namecxx . . $ SubtitleInfo#name.(_name),
45 commentcxx . . $ SubtitleInfo#comment.(_comment),
46 formatcxx . . $ SubtitleInfo#format.(_format),
47 resolutioncxx . . $ SubtitleInfo#resolution.(_resolution),
48 idcxx . . $ SubtitleInfo#id.(QUuidcxx . . $ QUuid#::createUuidcxx . . $ QUuid#createUuid(5e4f08cda8ec50ec).()) {}
49
50 QStringcxx . . $ QString# langcxx . . $ SubtitleInfo#lang.;
51 QStringcxx . . $ QString# enginecxx . . $ SubtitleInfo#engine.;
52 QStringcxx . . $ QString# sourceLocationcxx . . $ SubtitleInfo#sourceLocation.;
53 QStringcxx . . $ QString# namecxx . . $ SubtitleInfo#name.;
54 QStringcxx . . $ QString# commentcxx . . $ SubtitleInfo#comment.;
55 QStringcxx . . $ QString# formatcxx . . $ SubtitleInfo#format.;
56 SubtitleResolutioncxx . . $ SubtitleResolution# resolutioncxx . . $ SubtitleInfo#resolution.;
57 QUuidcxx . . $ QUuid# idcxx . . $ SubtitleInfo#id.;
58
59 bool operatorcxx . . $ SubtitleInfo#`operator<`(537941af77ea3b7f).<(const SubtitleInfocxx . . $ SubtitleInfo# &other) const;
60
61 static SubtitleInfocxx . . $ SubtitleInfo# fromFailedcxx . . $ SubtitleInfo#fromFailed(78bb23d3b57a78f5).(const QStringcxx . . $ QString# &name);
62 };
63
64 Q_DECLARE_METATYPEcxx . . $ QBasicAtomicInt#(SubtitleInfo);
65
66 typedef QListcxx . . $ QList#<SubtitleInfocxx . . $ SubtitleInfo#> SubtitleInfoListcxx . . $ SubtitleInfoList#;
67
68 Q_DECLARE_METATYPEcxx . . $ QMetaTypeId#$anonymous_type_1#(SubtitleInfoList);
69
70 #endif