/*  This file is part of the KDE project
    Copyright (C) 2007 David Faure <faure@kde.org>
    Copyright (C) 2007 Sebastian Sauer <mail@dipe.org>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    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 KROSS_EXPORT_H
#define KROSS_EXPORT_H

/* needed for KDE_EXPORT and KDE_IMPORT macros */
#include <kdemacros.h>

#ifndef KROSS_EXPORT
# if defined(KDELIBS_STATIC_LIBS)
   /* No export/import for static libraries */
#  define KROSS_EXPORT
# elif defined(MAKE_KROSS_LIB)
   /* We are building this library */
#  define KROSS_EXPORT KDE_EXPORT
# else
   /* We are using this library */
#  define KROSS_EXPORT KDE_IMPORT
# endif
#endif

#ifndef KROSSCORE_EXPORT
# if defined(KDELIBS_STATIC_LIBS)
   /* No export/import for static libraries */
#  define KROSSCORE_EXPORT
# elif defined(MAKE_KROSSCORE_LIB)
   /* We are building this library */
#  define KROSSCORE_EXPORT KDE_EXPORT
# else
   /* We are using this library */
#  define KROSSCORE_EXPORT KDE_IMPORT
# endif
#endif

#ifndef KROSSUI_EXPORT
# if defined(KDELIBS_STATIC_LIBS)
   /* No export/import for static libraries */
#  define KROSSUI_EXPORT
# elif defined(MAKE_KROSSUI_LIB)
   /* We are building this library */
#  define KROSSUI_EXPORT KDE_EXPORT
# else
   /* We are using this library */
#  define KROSSUI_EXPORT KDE_IMPORT
# endif
#endif

# ifndef KROSS_EXPORT_DEPRECATED
#  define KROSS_EXPORT_DEPRECATED KDE_DEPRECATED KROSS_EXPORT
# endif
# ifndef KROSSCORE_EXPORT_DEPRECATED
#  define KROSSCORE_EXPORT_DEPRECATED KDE_DEPRECATED KROSSCORE_EXPORT
# endif

#endif
