we now load and save chats as well

This commit is contained in:
Rasmus Karlsson
2017-01-29 11:38:00 +01:00
parent 1c076b803e
commit c0b4035e6a
5 changed files with 64 additions and 7 deletions
+8 -2
View File
@@ -10,6 +10,7 @@
#include <QFont>
#include <QVBoxLayout>
#include <QWidget>
#include <boost/property_tree/ptree.hpp>
namespace chatterino {
namespace widgets {
@@ -56,8 +57,13 @@ private:
ChatWidgetHeader header;
ChatWidgetView view;
ChatWidgetInput input;
public:
void load(const boost::property_tree::ptree &tree);
boost::property_tree::ptree save();
};
}
}
} // namespace widgets
} // namespace chatterino
#endif // CHATWIDGET_H