diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-06-19 08:24:03 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-06-19 08:24:03 +0000 |
commit | 1f86c22c35d2de5e9c71d9627adc18f780347f30 (patch) | |
tree | 5b77026f3dcd90ef4844212ec2f21b2d4c636b0f /src/resources/buddylist.h | |
parent | 38c882f43782a536cf69e82c1214de95063c3ef4 (diff) | |
download | mana-1f86c22c35d2de5e9c71d9627adc18f780347f30.tar.gz mana-1f86c22c35d2de5e9c71d9627adc18f780347f30.tar.bz2 mana-1f86c22c35d2de5e9c71d9627adc18f780347f30.tar.xz mana-1f86c22c35d2de5e9c71d9627adc18f780347f30.zip |
Saving buddy in xml file
Diffstat (limited to 'src/resources/buddylist.h')
-rw-r--r-- | src/resources/buddylist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/resources/buddylist.h b/src/resources/buddylist.h index d0598747..0987bc30 100644 --- a/src/resources/buddylist.h +++ b/src/resources/buddylist.h @@ -27,6 +27,8 @@ #include <guichan.hpp> #include <list> #include <string> +#include <libxml/encoding.h> +#include <libxml/xmlwriter.h> class BuddyList : public gcn::ListModel { public: @@ -61,8 +63,15 @@ class BuddyList : public gcn::ListModel { std::string getElementAt(int number); private: + + /** + * Create a new XmlWriter for uri + */ + void buddyXmlwriterFilename(const char *uri); + std::list<std::string> buddylist; /**< Buddy list */ std::list<std::string>::iterator buddyit; /**< Iterator */ + xmlTextWriterPtr writer; }; #endif /* _TMW_BUDDYLIST_H */ |