/libraries/include/qjson/qjson_export.h

https://github.com/samcrow/ColonyDataMerger · C++ Header · 35 lines · 11 code · 4 blank · 20 comment · 1 complexity · f2b3b3decb1c841f1ea56db808d93202 MD5 · raw file

  1. /* This file is part of the KDE project
  2. Copyright (C) 2009 Pino Toscano <pino@kde.org>
  3. This library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public
  5. License version 2.1, as published by the Free Software Foundation.
  6. This library is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  9. Lesser General Public License for more details.
  10. You should have received a copy of the GNU Lesser General Public License
  11. along with this library; see the file COPYING.LIB. If not, write to
  12. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  13. Boston, MA 02110-1301, USA.
  14. */
  15. #ifndef QJSON_EXPORT_H
  16. #define QJSON_EXPORT_H
  17. #include <QtCore/qglobal.h>
  18. #ifndef QJSON_EXPORT
  19. # if defined(QJSON_MAKEDLL)
  20. /* We are building this library */
  21. # define QJSON_EXPORT Q_DECL_EXPORT
  22. # else
  23. /* We are using this library */
  24. # define QJSON_EXPORT Q_DECL_IMPORT
  25. # endif
  26. #endif
  27. #endif