/** * @file CompressionType.h * @date created on Jan 13, 2010 * @author Oliver Rudolph */ #ifndef COMPRESSIONTYPE_H_ #define COMPRESSIONTYPE_H_ // Dr.Etchy #include "../../include/common.h" // MS Windows DLL handling #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) #if _MSC_VER > 1000 #pragma once #endif #if defined(IO_DLL) #define DLLSPEC __declspec(dllexport) #else #define DLLSPEC __declspec(dllimport) #endif #else // for other OS #define DLLSPEC #endif namespace dretchy { namespace io { enum DLLSPEC CompressionType { none, bzip2, gzip, zlib }; } // namespace io } // namespace dretchy #ifdef DLLSPEC #undef DLLSPEC #endif #endif /* COMPRESSIONTYPE_H_ */