added channel msg thumbnail, you'll lose all your current channel msgs before this rev

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-07-17 20:17:14 +00:00
parent 4157aff291
commit 1f873e023e
6 changed files with 78 additions and 1 deletions

View file

@ -55,6 +55,15 @@ class ChannelInfo
time_t lastPost;
};
//! for storing a channel msgs thumbnail picture
class ChannelMsgThumbnail
{
public:
ChannelMsgThumbnail() : image_thumbnail(NULL), im_thumbnail_size(0) {}
unsigned char* image_thumbnail;
int im_thumbnail_size;
};
//! Stores information on a message within a channel
class ChannelMsgInfo
@ -73,8 +82,12 @@ class ChannelMsgInfo
std::list<FileInfo> files;
uint32_t count; /// file count
uint64_t size; /// size of all files
ChannelMsgThumbnail thumbnail;
};
//! gives a more brief account of a channel message than channelMsgInfo
class ChannelMsgSummary
{