kdecore Library API Documentation

kdelibs_export.h

00001 /*
00002    This file is part of the KDE libraries
00003    Copyright (C) 2004 Jaroslaw Staniek <js@iidea.pl>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017    Boston, MA 02111-1307, USA.
00018 */
00019 
00020 #ifndef _KDELIBS_EXPORT_H
00021 #define _KDELIBS_EXPORT_H
00022 
00023 /* needed for KDE_EXPORT macros */
00024 #include <kdemacros.h>
00025 
00026 /* needed, because e.g. Q_OS_UNIX is so frequently used */
00027 #include <qglobal.h>
00028 
00029 #ifdef Q_WS_WIN
00030 #include <kdelibs_export_win.h>
00031 
00032 #else /* Q_OS_UNIX */
00033 
00034 /* export statements for unix */
00035 #define KDECORE_EXPORT KDE_EXPORT
00036 #define KDEUI_EXPORT KDE_EXPORT
00037 #define KDEFX_EXPORT KDE_EXPORT
00038 #define KDEPRINT_EXPORT KDE_EXPORT
00039 #define KDNSSD_EXPORT KDE_EXPORT
00040 #define KIO_EXPORT KDE_EXPORT
00041 #define DCOP_EXPORT KDE_EXPORT
00042 #define KPARTS_EXPORT KDE_EXPORT
00043 #define KTEXTEDITOR_EXPORT KDE_EXPORT
00044 #define KABC_EXPORT KDE_EXPORT
00045 #define KDESU_EXPORT KDE_EXPORT
00046 #define KVCARD_EXPORT KDE_EXPORT
00047 #define KRESOURCES_EXPORT KDE_EXPORT
00048 #define KSTYLE_EXPORT KDE_EXPORT
00049 #define KHTML_EXPORT KDE_EXPORT
00050 #define KMDI_EXPORT KDE_EXPORT
00051 #define KUTILS_EXPORT KDE_EXPORT
00052 #define KATEPARTINTERFACES_EXPORT KDE_EXPORT
00053 #define KATEPART_EXPORT KDE_EXPORT
00054 #define KMID_EXPORT KDE_EXPORT
00055 #define KIMPROXY_EXPORT KDE_EXPORT
00056 #define KDE_ARTS_EXPORT KDE_EXPORT
00057 
00058 #define KPATH_SEPARATOR ':'
00059 
00060 #ifndef O_BINARY
00061 #define O_BINARY 0 /* for open() */
00062 #endif
00063 
00064 #endif
00065 
00066 #endif /*_KDELIBS_EXPORT_H*/
00067 
00068 /* workaround for kdecore: stupid moc's grammar doesn't accept two macros
00069    between 'class' keyword and <classname>: */
00070 #ifdef KDE_DEPRECATED
00071 # ifndef KDECORE_EXPORT_DEPRECATED
00072 #  define KDECORE_EXPORT_DEPRECATED KDE_DEPRECATED KDECORE_EXPORT
00073 # endif
00074 # ifndef KIO_EXPORT_DEPRECATED
00075 #  define KIO_EXPORT_DEPRECATED KDE_DEPRECATED KIO_EXPORT
00076 # endif
00077 # ifndef KDEUI_EXPORT_DEPRECATED
00078 #  define KDEUI_EXPORT_DEPRECATED KDE_DEPRECATED KDEUI_EXPORT
00079 # endif
00080 # ifndef KABC_EXPORT_DEPRECATED
00081 #  define KABC_EXPORT_DEPRECATED KDE_DEPRECATED KABC_EXPORT
00082 # endif
00083 #endif
00084 /* (let's add KDE****_EXPORT_DEPRECATED for other libraries if it's needed) */
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 7 22:04:21 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003