projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.15
[fms.git]
/
include
/
bitmapvalidator.h
diff --git
a/include/bitmapvalidator.h
b/include/bitmapvalidator.h
index
0a1ee65
..
20c452c
100644
(file)
--- a/
include/bitmapvalidator.h
+++ b/
include/bitmapvalidator.h
@@
-6,7
+6,15
@@
class BitmapValidator:public DocumentTypeValidator
\r
{
\r
public:
\r
class BitmapValidator:public DocumentTypeValidator
\r
{
\r
public:
\r
+ BitmapValidator();
\r
+ ~BitmapValidator();
\r
+
\r
const bool Validate(const std::vector<unsigned char> &data);
\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
};
\r
\r
#endif // _bitmapvalidator_
\r