~ubuntu-branches/debian/sid/smplayer/sid

« back to all changes in this revision

Viewing changes to src/findsubtitles/quazip/quazipfileinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
Tags: 0.6.7-1
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef QUA_ZIPFILEINFO_H
 
2
#define QUA_ZIPFILEINFO_H
 
3
 
 
4
/*
 
5
-- A kind of "standard" GPL license statement --
 
6
QuaZIP - a Qt/C++ wrapper for the ZIP/UNZIP package
 
7
Copyright (C) 2005-2007 Sergey A. Tachenov
 
8
 
 
9
This program is free software; you can redistribute it and/or modify it
 
10
under the terms of the GNU General Public License as published by the
 
11
Free Software Foundation; either version 2 of the License, or (at your
 
12
option) any later version.
 
13
 
 
14
This program is distributed in the hope that it will be useful, but
 
15
WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
 
17
Public License for more details.
 
18
 
 
19
You should have received a copy of the GNU General Public License along
 
20
with this program; if not, write to the Free Software Foundation, Inc.,
 
21
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
22
 
 
23
-- A kind of "standard" GPL license statement ends here --
 
24
 
 
25
See COPYING file for GPL.
 
26
 
 
27
You are also permitted to use QuaZIP under the terms of LGPL (see
 
28
COPYING.LGPL). You are free to choose either license, but please note
 
29
that QuaZIP makes use of Qt, which is not licensed under LGPL. So if
 
30
you are using Open Source edition of Qt, you therefore MUST use GPL for
 
31
your code based on QuaZIP, since it would be also based on Qt in this
 
32
case. If you are Qt commercial license owner, then you are free to use
 
33
QuaZIP as long as you respect either GPL or LGPL for QuaZIP code.
 
34
 **/
 
35
 
 
36
#include <QByteArray>
 
37
#include <QDateTime>
 
38
 
 
39
/// Information about a file inside archive.
 
40
/** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to
 
41
 * fill this structure. */
 
42
struct QuaZipFileInfo {
 
43
  /// File name.
 
44
  QString name;
 
45
  /// Version created by.
 
46
  quint16 versionCreated;
 
47
  /// Version needed to extract.
 
48
  quint16 versionNeeded;
 
49
  /// General purpose flags.
 
50
  quint16 flags;
 
51
  /// Compression method.
 
52
  quint16 method;
 
53
  /// Last modification date and time.
 
54
  QDateTime dateTime;
 
55
  /// CRC.
 
56
  quint32 crc;
 
57
  /// Compressed file size.
 
58
  quint32 compressedSize;
 
59
  /// Uncompressed file size.
 
60
  quint32 uncompressedSize;
 
61
  /// Disk number start.
 
62
  quint16 diskNumberStart;
 
63
  /// Internal file attributes.
 
64
  quint16 internalAttr;
 
65
  /// External file attributes.
 
66
  quint32 externalAttr;
 
67
  /// Comment.
 
68
  QString comment;
 
69
  /// Extra field.
 
70
  QByteArray extra;
 
71
};
 
72
 
 
73
#endif