mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-24 06:11:11 -05:00
29 lines
409 B
C
29 lines
409 B
C
|
#ifndef __IM_History_writer__
|
||
|
#define __IM_History_writer__
|
||
|
|
||
|
#include <QXmlStreamWriter>
|
||
|
|
||
|
#include <QString>
|
||
|
//#include <QStringList>
|
||
|
|
||
|
#include "IMHistoryItem.h"
|
||
|
|
||
|
class IMHistoryWriter : public QXmlStreamWriter
|
||
|
{
|
||
|
public:
|
||
|
IMHistoryWriter();
|
||
|
|
||
|
bool write(QList<IMHistoryItem>& itemList,
|
||
|
const QString fileName );
|
||
|
|
||
|
QString errorMessage();
|
||
|
|
||
|
private:
|
||
|
|
||
|
|
||
|
QString errMess;
|
||
|
} ;
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|