Trade equipment common library. 1.0.0
templexports.h
1/****************************************************************************
2** $Id: templexports.h,v 1.7 2006/06/21 05:35:58 red75 Exp $
3**
4** Trade equipment common portable library project
5**
6** Copyright (C) 1999-2006 Leader InfoTech. All rights reserved.
7**
8** This file is part of the Library of the
9** Portable trade equipment applications project.
10**
11** This file may be distributed and/or modified under the terms of the
12** GNU General Public License version 2 as published by the Free Software
13** Foundation and appearing in the file LICENSE.GPL included in the
14** packaging of this file.
15**
16** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18**
19** See http://www.leaderit.ru/ or email sales@leaderit.ru
20**
21** Contact org@leaderit.ru if any conditions of this licensing are
22** not clear to you.
23**
24**********************************************************************/
25
26/*
27 This header file makes instantiated templates dll-exported or
28 imports some of them from qt-mt.dll.
29 NB: DO NOT include this header file in lib.pro!
30 MOC cannot process template exports sometimes.
31
32 Этот заголовочный файл экспортирует инстанциированные шаблоны из dll или
33 импортирует шаблоны уже инстанциированные в других dll.
34 ВНИМАНИЕ: НЕ включайте этот заголовочный файл в файл проекта lib.pro!
35 MOC иногда не может обработать операторы экспорта инстанциированных
36 шаблонов и вылетает с сообщением о синтаксической ошибке.
37*/
38
39#ifdef Q_OS_WIN32
40
41#ifdef TECASHREGISTERBASE_H
42#ifndef TECASHREGISTER_BASE_EXPORTED
43#define TECASHREGISTER_BASE_EXPORTED
44LIB_TEMPLATE_EXTERN template class LIB_EXPORT QDict <QVariant>;
45LIB_TEMPLATE_EXTERN template class LIB_EXPORT QValueList <PurchaseInfo>;
46LIB_TEMPLATE_EXTERN template class LIB_EXPORT QMap <int, double>;
47#endif
48#endif
49
50#ifdef TESCANNER_BASE_H
51#ifndef TESCANNER_BASE_EXPORTED
52#define TESCANNER_BASE_EXPORTED
53TEMPLATE_EXTERN template class LIB_DLLIMPORT QValueList<QString>;
54#endif
55#endif
56
57#ifdef QGETOPT_H
58#ifndef GETOPT_EXPORTED
59#define GETOPT_EXPORTED
60LIB_TEMPLATE_EXTERN template class LIB_EXPORT QValueList<GetOpt::Option>;
61#endif
62#endif
63
64#ifdef PREFERENCES_H
65#ifndef PREF_EXPORTED
66#define PREF_EXPORTED
67LIB_TEMPLATE_EXTERN template class LIB_EXPORT QMap<QString, Preferences::PrefMap>;
68#endif
69#endif
70
71#ifdef TEINIFILE_H
72#ifndef TDATAFILE_EXPORTED
73#define TDATAFILE_EXPORTED
74LIB_TEMPLATE_EXTERN template class LIB_EXPORT QMap<QString, type_ValueList>;
75LIB_TEMPLATE_EXTERN template class LIB_EXPORT QMapIterator<QString, type_ValueList>;
76#endif
77#endif
78
79#ifdef TEBASE_H
80#ifndef TEBASE_EXPORTED
81#define TEBASE_EXPORTED
82LIB_TEMPLATE_EXTERN template class LIB_DLLIMPORT QValueList<int>;
83#endif
84#endif
85
86#endif