00001 #ifndef __IMAGESTATE_H
00002 #define __IMAGESTATE_H
00003
00004 #include "windows_defs.h"
00005
00006 #include "xmlserializeable.h"
00007
00014 class GV_EXPORT ImageState : public XMLSerializeable {
00015 public:
00016 bool mColor;
00017 int mRed;
00018 int mGreen;
00019 int mBlue;
00020 std::string mFileName;
00021 int mType;
00022
00023 ImageState( ) {
00024 mColor = false;
00025 mRed = -1;
00026 mGreen = -1;
00027 mBlue = -1;
00028 mFileName = "";
00029 mType = -1;
00030 }
00031
00032 virtual bool toXML( QDomDocument &doc,
00033 QDomElement &elem,
00034 std::string id="" );
00035
00036 virtual bool fromXML( QDomElement &elem );
00037
00038 };
00039
00040 #endif
00041
00042
00043