You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.6 KiB
87 lines
2.6 KiB
15 years ago
|
/*
|
||
|
This file is part of the KDE libraries
|
||
|
Copyright (C) 2004 Jaroslaw Staniek <js@iidea.pl>
|
||
|
|
||
|
This library is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU Library General Public
|
||
|
License version 2 as published by the Free Software Foundation.
|
||
|
|
||
|
This library is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
Library General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Library General Public License
|
||
|
along with this library; see the file COPYING.LIB. If not, write to
|
||
|
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
Boston, MA 02110-1301, USA.
|
||
|
*/
|
||
|
|
||
|
#ifndef _KDELIBS_EXPORT_H
|
||
|
#define _KDELIBS_EXPORT_H
|
||
|
|
||
|
/* needed for KDE_EXPORT macros */
|
||
|
#include <kdemacros.h>
|
||
|
|
||
|
/* needed, because e.g. Q_OS_UNIX is so frequently used */
|
||
15 years ago
|
#include <tqglobal.h>
|
||
15 years ago
|
|
||
|
#ifdef Q_WS_WIN
|
||
13 years ago
|
#include <tdelibs_export_win.h>
|
||
15 years ago
|
|
||
|
#else /* Q_OS_UNIX */
|
||
|
|
||
|
/* export statements for unix */
|
||
13 years ago
|
#define TDECORE_EXPORT KDE_EXPORT
|
||
|
#define TDEUI_EXPORT KDE_EXPORT
|
||
|
#define TDEFX_EXPORT KDE_EXPORT
|
||
|
#define TDEPRINT_EXPORT KDE_EXPORT
|
||
15 years ago
|
#define KDNSSD_EXPORT KDE_EXPORT
|
||
|
#define KIO_EXPORT KDE_EXPORT
|
||
|
#define DCOP_EXPORT KDE_EXPORT
|
||
|
#define KPARTS_EXPORT KDE_EXPORT
|
||
|
#define KTEXTEDITOR_EXPORT KDE_EXPORT
|
||
|
#define KABC_EXPORT KDE_EXPORT
|
||
13 years ago
|
#define TDESU_EXPORT KDE_EXPORT
|
||
15 years ago
|
#define KVCARD_EXPORT KDE_EXPORT
|
||
|
#define KRESOURCES_EXPORT KDE_EXPORT
|
||
|
#define KSTYLE_EXPORT KDE_EXPORT
|
||
|
#define KHTML_EXPORT KDE_EXPORT
|
||
|
#define KMDI_EXPORT KDE_EXPORT
|
||
|
#define KUTILS_EXPORT KDE_EXPORT
|
||
|
#define KATEPARTINTERFACES_EXPORT KDE_EXPORT
|
||
|
#define KATEPART_EXPORT KDE_EXPORT
|
||
|
#define KMID_EXPORT KDE_EXPORT
|
||
15 years ago
|
#define KRANDR_EXPORT KDE_EXPORT
|
||
15 years ago
|
#define KIMPROXY_EXPORT KDE_EXPORT
|
||
|
#define KDE_ARTS_EXPORT KDE_EXPORT
|
||
|
#define KUNITTEST_EXPORT KDE_EXPORT
|
||
|
|
||
|
#define KPATH_SEPARATOR ':'
|
||
|
|
||
|
#ifndef O_BINARY
|
||
|
#define O_BINARY 0 /* for open() */
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif /*_KDELIBS_EXPORT_H*/
|
||
|
|
||
13 years ago
|
/* workaround for tdecore: stupid tqmoc's grammar doesn't accept two macros
|
||
15 years ago
|
between 'class' keyword and <classname>: */
|
||
|
#ifdef KDE_DEPRECATED
|
||
13 years ago
|
# ifndef TDECORE_EXPORT_DEPRECATED
|
||
|
# define TDECORE_EXPORT_DEPRECATED KDE_DEPRECATED TDECORE_EXPORT
|
||
15 years ago
|
# endif
|
||
|
# ifndef KIO_EXPORT_DEPRECATED
|
||
|
# define KIO_EXPORT_DEPRECATED KDE_DEPRECATED KIO_EXPORT
|
||
|
# endif
|
||
13 years ago
|
# ifndef TDEUI_EXPORT_DEPRECATED
|
||
|
# define TDEUI_EXPORT_DEPRECATED KDE_DEPRECATED TDEUI_EXPORT
|
||
15 years ago
|
# endif
|
||
|
# ifndef KABC_EXPORT_DEPRECATED
|
||
|
# define KABC_EXPORT_DEPRECATED KDE_DEPRECATED KABC_EXPORT
|
||
|
# endif
|
||
|
#endif
|
||
|
/* (let's add KDE****_EXPORT_DEPRECATED for other libraries if it's needed) */
|