mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -04:00
Modifications to the GUI to support new message types.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
46a001af47
commit
9b695977ae
3 changed files with 51 additions and 14 deletions
|
@ -261,8 +261,8 @@ virtual int FileSetBandwidthTotals(float outkB, float inkB) = 0;
|
|||
/****************************************/
|
||||
/* Message Items */
|
||||
virtual int MessageSend(MessageInfo &info) = 0;
|
||||
virtual int MessageDelete(std::string id) = 0;
|
||||
virtual int MessageRead(std::string id) = 0;
|
||||
virtual int MessageDelete(std::string mid) = 0;
|
||||
virtual int MessageRead(std::string mid) = 0;
|
||||
|
||||
/* Channel Items */
|
||||
virtual int ChannelCreateNew(ChannelInfo &info) = 0;
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
|
||||
#if 0
|
||||
#define RSCERTIDLEN 16
|
||||
|
||||
class RsCertId
|
||||
|
@ -47,13 +49,11 @@ class RsCertId
|
|||
|
||||
std::ostream &operator<<(std::ostream &out, const RsCertId &id);
|
||||
|
||||
/* use RsCertId, (not unsigned long) because the definition will change
|
||||
typedef unsigned long RsCertId;
|
||||
*/
|
||||
|
||||
typedef RsCertId RsChanId;
|
||||
typedef RsCertId RsMsgId;
|
||||
#endif
|
||||
|
||||
typedef std::string RsCertId;
|
||||
typedef std::string RsChanId;
|
||||
typedef std::string RsMsgId;
|
||||
typedef std::string RsAuthId;
|
||||
|
||||
|
||||
|
@ -192,6 +192,7 @@ class FileTransferInfo: public FileInfo
|
|||
{
|
||||
public:
|
||||
std::string source;
|
||||
std::list<std::string> peerIds;
|
||||
int transfered;
|
||||
double tfRate; /* kbytes */
|
||||
bool download;
|
||||
|
@ -223,9 +224,16 @@ class MessageInfo: public BaseInfo
|
|||
|
||||
unsigned int msgflags;
|
||||
std::string srcname;
|
||||
|
||||
std::list<PersonInfo> msgto;
|
||||
std::list<PersonInfo> msgcc;
|
||||
std::list<PersonInfo> msgbcc;
|
||||
|
||||
std::string title;
|
||||
std::string header;
|
||||
std::string msg;
|
||||
|
||||
std::string attach_title;
|
||||
std::string attach_comment;
|
||||
std::list<FileInfo> files;
|
||||
int size; /* total of files */
|
||||
int count; /* file count */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue