• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

libkdegames/libkdegamesprivate

  • sources
  • kde-4.14
  • kdegames
  • libkdegames
  • libkdegamesprivate
libkdegamesprivate_export.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 David Faure <faure@kde.org>
3  Copyright (C) 2012 Stefan Majewsky <majewsky@gmx.net>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef LIBKDEGAMESPRIVATE_EXPORT_H
22 #define LIBKDEGAMESPRIVATE_EXPORT_H
23 
24 #ifdef MAKE_KDEGAMESPRIVATE_LIB
25 # define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API
26 #endif
27 /* error out if a special macro is not defined; we want to be very clear that
28  * these are private headers */
29 #ifndef USE_UNSTABLE_LIBKDEGAMESPRIVATE_API
30 # error "You must not use libkdegamesprivate outside the kdegames source tree."
31 # error "There is no stability promise for this API. If you need something from"
32 # error "libkdegamesprivate for compatibility reasons, you're probably better"
33 # error "off by copying the relevant code from the libkdegamesprivate sources"
34 # error "into your own source tree."
35 #endif
36 
37 /* needed for KDE_EXPORT and KDE_IMPORT macros */
38 #include <kdemacros.h>
39 
40 #ifndef KDEGAMESPRIVATE_EXPORT
41 # if defined(MAKE_KDEGAMESPRIVATE_LIB)
42  /* We are building this library */
43 # define KDEGAMESPRIVATE_EXPORT KDE_EXPORT
44 # else
45  /* We are using this library */
46 # define KDEGAMESPRIVATE_EXPORT KDE_IMPORT
47 # endif
48 #endif
49 
50 // # ifndef KDEGAMESPRIVATE_EXPORT_DEPRECATED
51 // # define KDEGAMESPRIVATE_EXPORT_DEPRECATED KDE_DEPRECATED KDEGAMESPRIVATE_EXPORT
52 // # endif
53 
54 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdegames/libkdegamesprivate

Skip menu "libkdegames/libkdegamesprivate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal