/** * @file PlainData.h * @date created on Jan 21, 2010 * @author Oliver Rudolph */ #ifndef PLAINDATA_H_ #define PLAINDATA_H_ // Dr.Etchy #include "../../include/common.h" #include "DeviceData.h" #include "DeviceDataType.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 { class PlainData : public DeviceData { private: text_t content_; public: PlainData(); PlainData(const text_t &t); void content(const text_t &s); const text_t str() const; }; } // namespace io } // namespace dretchy #ifdef DLLSPEC #undef DLLSPEC #endif #endif /* PLAINDATA_H_ */