class BitmapValidator:public DocumentTypeValidator\r
{\r
public:\r
+ BitmapValidator();\r
+ ~BitmapValidator();\r
+\r
const bool Validate(const std::vector<unsigned char> &data);\r
+ void SetMax(const int maxw, const int maxh) { m_maxwidth=maxw; m_maxheight=maxh; }\r
+\r
+private:\r
+ int m_maxwidth;\r
+ int m_maxheight;\r
};\r
\r
#endif // _bitmapvalidator_\r