rtm_export.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright 2009 Andrew Stromme <astromme@chatonka.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU Library General Public License as
  6. * published by the Free Software Foundation; either version 2, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details
  13. *
  14. * You should have received a copy of the GNU Library General Public
  15. * License along with this program; if not, write to the
  16. * Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19. #ifndef RTM_EXPORT_H
  20. #define RTM_EXPORT_H
  21. /* needed for KDE_EXPORT and KDE_IMPORT macros */
  22. #include <kdemacros.h>
  23. #ifndef RTM_EXPORT
  24. # if defined(MAKE_RTM_LIB)
  25. /* We are building this library */
  26. # define RTM_EXPORT KDE_EXPORT
  27. # else
  28. /* We are using this library */
  29. # define RTM_EXPORT KDE_IMPORT
  30. # endif
  31. #endif
  32. # ifndef RTM_EXPORT_DEPRECATED
  33. # define RTM_EXPORT_DEPRECATED KDE_DEPRECATED RTM_EXPORT
  34. # endif
  35. #endif