From dcec9bcedc769372f1d2a84d24755a8dda43238f Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 20 Jan 2013 15:42:53 +0000 Subject: displaying history in chatwindow git-svn-id: svn://localhost/project_picapica/trunk@221 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/history.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pica-client/history.h') diff --git a/pica-client/history.h b/pica-client/history.h index f7a6168..ebf6dbd 100644 --- a/pica-client/history.h +++ b/pica-client/history.h @@ -24,6 +24,8 @@ public: void SetDelivered(quint32 peer_id); //mark first undelivered message from me to peer as delivered QList GetMessages(quint32 peer_id, quint32 start_timestamp, quint32 end_timestamp); QMap > GetUndeliveredMessages(); + bool isOK(); + QString GetLastError(); private: QSqlDatabase dbconn; -- cgit v1.2.1