5752
|
1 |
/**
|
|
2 |
Copyright (C) 2005-2011 Sergey A. Tachenov
|
|
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify it
|
|
5 |
under the terms of the GNU Lesser General Public License as published by
|
|
6 |
the Free Software Foundation; either version 2 of the License, or (at
|
|
7 |
your option) any later version.
|
|
8 |
|
|
9 |
This program is distributed in the hope that it will be useful, but
|
|
10 |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
|
12 |
General Public License for more details.
|
|
13 |
|
|
14 |
You should have received a copy of the GNU Lesser General Public License
|
|
15 |
along with this program; if not, write to the Free Software Foundation,
|
|
16 |
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
17 |
|
|
18 |
See COPYING file for the full LGPL text.
|
|
19 |
|
|
20 |
Original ZIP package is copyrighted by Gilles Vollant, see
|
|
21 |
quazip/(un)zip.h files for details, basically it's zlib license.
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef QUAZIP_GLOBAL_H
|
|
25 |
#define QUAZIP_GLOBAL_H
|
|
26 |
|
|
27 |
#include <QtCore/qglobal.h>
|
|
28 |
/**
|
|
29 |
* When building the library with MSVC, QUAZIP_BUILD must be defined.
|
|
30 |
* qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc.
|
|
31 |
*/
|
|
32 |
#if defined(QUAZIP_BUILD)
|
|
33 |
#define QUAZIP_EXPORT Q_DECL_EXPORT
|
|
34 |
#else
|
|
35 |
#define QUAZIP_EXPORT Q_DECL_IMPORT
|
|
36 |
#endif
|
|
37 |
|
|
38 |
#ifdef __GNUC__
|
|
39 |
#define UNUSED __attribute__((__unused__))
|
|
40 |
#else
|
|
41 |
#define UNUSED
|
|
42 |
#endif
|
|
43 |
|
|
44 |
#endif // QUAZIP_GLOBAL_H
|