1
0

libshared.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef LIBSHARED_H
  2. #define LIBSHARED_H
  3. #include "libshared_export.h"
  4. class LIBSHARED_EXPORT Libshared {
  5. public:
  6. int libshared() const;
  7. #ifdef COMPILER_IS_MSVC
  8. // Double exporting not possible with MSVC
  9. int libshared_exported() const;
  10. #else
  11. int LIBSHARED_EXPORT libshared_exported() const;
  12. #endif
  13. int LIBSHARED_DEPRECATED libshared_deprecated() const;
  14. int libshared_not_exported() const;
  15. int LIBSHARED_NO_EXPORT libshared_excluded() const;
  16. };
  17. class LibsharedNotExported {
  18. public:
  19. int libshared() const;
  20. int LIBSHARED_EXPORT libshared_exported() const;
  21. int LIBSHARED_DEPRECATED_EXPORT libshared_deprecated() const;
  22. int libshared_not_exported() const;
  23. int LIBSHARED_NO_EXPORT libshared_excluded() const;
  24. };
  25. class LIBSHARED_NO_EXPORT LibsharedExcluded {
  26. public:
  27. int libshared() const;
  28. int LIBSHARED_EXPORT libshared_exported() const;
  29. int LIBSHARED_DEPRECATED_EXPORT libshared_deprecated() const;
  30. int libshared_not_exported() const;
  31. int LIBSHARED_NO_EXPORT libshared_excluded() const;
  32. };
  33. LIBSHARED_EXPORT int libshared_exported();
  34. LIBSHARED_DEPRECATED_EXPORT int libshared_deprecated();
  35. int libshared_not_exported();
  36. int LIBSHARED_NO_EXPORT libshared_excluded();
  37. #endif