Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TTIO_BMP_INCLUDED
Toshihiro Shimizu 890ddd
#define TTIO_BMP_INCLUDED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tiio.h"
Toshihiro Shimizu 890ddd
#include "tproperty.h"
Toshihiro Shimizu 890ddd
shun-iwasawa e87e08
#include <qcoreapplication></qcoreapplication>
shun-iwasawa e87e08
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#ifdef TNZCORE_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace Tiio {
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
DVAPI Tiio::ReaderMaker makeBmpReader;
Toshihiro Shimizu 890ddd
DVAPI Tiio::WriterMaker makeBmpWriter;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
// DVAPI TPropertyGroup *makeBmpWriterProperties();
Toshihiro Shimizu 890ddd
Shinya Kitaoka d1f6c4
class BmpWriterProperties final : public TPropertyGroup {
shun-iwasawa e87e08
  Q_DECLARE_TR_FUNCTIONS(BmpWriterProperties)
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TEnumProperty m_pixelSize;
Shinya Kitaoka 120a6e
  // TBoolProperty m_compressed;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  BmpWriterProperties();
shun-iwasawa e87e08
shun-iwasawa e87e08
  void updateTranslation() override;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
}  // namespace
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif