X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fbitmapvalidator.h;h=20c452cc54b94e2fc47ab6762fb580fc01a2716b;hp=0a1ee65967c556d317b3a6fbc8eee46f14e21979;hb=f8c0410b12183ecb40aafbb44086fa146b25b528;hpb=822f84f5dac64183c556bd86fea8cd7b0527f528 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_