Add simple check for password protected pdf's (poppler only)

This commit is contained in:
Felix Kauselmann
2015-03-18 15:10:30 +01:00
commit 7e7b35a004
923 changed files with 80104 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
* This file is used to set the poppler_qt5_EXPORT macros right.
* This is needed for setting the visibility on windows, it will have no effect on other platforms.
*/
#if defined(_WIN32)
# define LIB_EXPORT __declspec(dllexport)
# define LIB_IMPORT __declspec(dllimport)
#else
# define LIB_EXPORT
# define LIB_IMPORT
#endif
#ifdef poppler_qt5_EXPORTS
# define POPPLER_QT5_EXPORT LIB_EXPORT
#else
# define POPPLER_QT5_EXPORT LIB_IMPORT
#endif