exe2dll.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  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 General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. #ifndef PLUGIN_H
  19. #define PLUGIN_H
  20. ///////////////////////////////////////////////////////////////////////////////
  21. // Includes.
  22. ///////////////////////////////////////////////////////////////////////////////
  23. #include "PlugIn/EXE2DLL.H"
  24. #include "Image/Image.h"
  25. #include "MFC_CNTL/RSPXBlue.h"
  26. ///////////////////////////////////////////////////////////////////////////////
  27. // Macros.
  28. ///////////////////////////////////////////////////////////////////////////////
  29. #define DllExport __declspec( dllexport )
  30. #define DllImport __declspec( dllimport )
  31. #ifdef _WINDLL
  32. #define DLL2EXE DllExport
  33. #define EXE2DLL DllImport
  34. #else
  35. #define DLL2EXE DllImport
  36. #define EXE2DLL DllExport
  37. #endif // _WINDLL
  38. ///////////////////////////////////////////////////////////////////////////////
  39. // Typedefs.
  40. ///////////////////////////////////////////////////////////////////////////////