00001 #ifndef _UPDATEMSG_H_ 00002 #define _UPDATEMSG_H_ 00003 00004 #include <util/message.h> 00005 #include <vector> 00006 00007 #include "queuenode.h" /* For the status enums. TODO: move the enums to messages.h or similar? */ 00008 00009 00010 typedef struct QueueItem_s 00011 { 00012 int nID; 00013 int eType; 00014 int eStatus; 00015 String zRemotePath; 00016 String zLocalPath; 00017 ssize_t nTotalDownload; 00018 ssize_t nTotalUpload; 00019 ssize_t nTotalSize; 00020 } QueueItem; 00021 00022 00023 #endif /* _UPDATEMSG_H_ */ 00024 00025