X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fbitmapvalidator.h;h=20c452cc54b94e2fc47ab6762fb580fc01a2716b;hb=c0ebc7b53a977885ebc2d3a679c586ae20c0bc4a;hp=0a1ee65967c556d317b3a6fbc8eee46f14e21979;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af;p=fms.git diff --git a/include/bitmapvalidator.h b/include/bitmapvalidator.h index 0a1ee65..20c452c 100644 --- a/include/bitmapvalidator.h +++ b/include/bitmapvalidator.h @@ -6,7 +6,15 @@ class BitmapValidator:public DocumentTypeValidator { public: + BitmapValidator(); + ~BitmapValidator(); + const bool Validate(const std::vector &data); + void SetMax(const int maxw, const int maxh) { m_maxwidth=maxw; m_maxheight=maxh; } + +private: + int m_maxwidth; + int m_maxheight; }; #endif // _bitmapvalidator_