version 0.3.15
[fms.git] / include / bitmapvalidator.h
1 #ifndef _bitmapvalidator_\r
2 #define _bitmapvalidator_\r
3 \r
4 #include "documenttypevalidator.h"\r
5 \r
6 class BitmapValidator:public DocumentTypeValidator\r
7 {\r
8 public:\r
9         BitmapValidator();\r
10         ~BitmapValidator();\r
11 \r
12         const bool Validate(const std::vector<unsigned char> &data);\r
13         void SetMax(const int maxw, const int maxh)     { m_maxwidth=maxw; m_maxheight=maxh; }\r
14 \r
15 private:\r
16         int m_maxwidth;\r
17         int m_maxheight;\r
18 };\r
19 \r
20 #endif  // _bitmapvalidator_\r