version 0.3.15
[fms.git] / include / bitmapvalidator.h
index 0a1ee65..20c452c 100644 (file)
@@ -6,7 +6,15 @@
 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