1 #ifndef _introductionpuzzlexml_
\r
2 #define _introductionpuzzlexml_
\r
4 #include "../ifmsxmldocument.h"
\r
6 class IntroductionPuzzleXML:public IFMSXMLDocument
\r
9 IntroductionPuzzleXML();
\r
11 std::string GetXML();
\r
13 const bool ParseXML(const std::string &xml);
\r
15 void SetType(const std::string &type) { m_type=type; }
\r
16 void SetUUID(const std::string &uuid) { m_uuid=uuid; }
\r
17 void SetPuzzleData(const std::string &puzzledata) { m_puzzledata=puzzledata; }
\r
18 void SetMimeType(const std::string &mimetype) { m_mimetype=mimetype; }
\r
20 const std::string GetType() const { return m_type; }
\r
21 const std::string GetUUID() const { return m_uuid; }
\r
22 const std::string GetPuzzleData() const { return m_puzzledata; }
\r
23 const std::string GetMimeType() const { return m_mimetype; }
\r
30 std::string m_puzzledata;
\r
31 std::string m_mimetype;
\r
35 #endif // _introductionpuzzlexml_
\r