author | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
commit | c361d36374d9c333ffe4b853067858df5636e1a5 (patch) (unidiff) | |
tree | ed99a2a14aba66f2caad15a3467291c12313d048 /noncore/net/mail/libmailwrapper/mailtypes.h | |
parent | cf0db32ce938c3254a8153ec3ac390c7282af5d0 (diff) | |
download | opie-c361d36374d9c333ffe4b853067858df5636e1a5.zip opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.gz opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.bz2 |
all header stuff will be parsed now
RecMail got the unique message id for reply reference
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailtypes.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailtypes.h b/noncore/net/mail/libmailwrapper/mailtypes.h index bb6a483..c8d533a 100644 --- a/noncore/net/mail/libmailwrapper/mailtypes.h +++ b/noncore/net/mail/libmailwrapper/mailtypes.h | |||
@@ -29,6 +29,7 @@ class RecMail | |||
29 | { | 29 | { |
30 | public: | 30 | public: |
31 | RecMail(); | 31 | RecMail(); |
32 | RecMail(const RecMail&old); | ||
32 | virtual ~RecMail(){} | 33 | virtual ~RecMail(){} |
33 | 34 | ||
34 | const int getNumber()const{return msg_number;} | 35 | const int getNumber()const{return msg_number;} |
@@ -41,22 +42,25 @@ public: | |||
41 | void setSubject( const QString&s ) { subject = s; } | 42 | void setSubject( const QString&s ) { subject = s; } |
42 | const QString&getMbox()const{return mbox;} | 43 | const QString&getMbox()const{return mbox;} |
43 | void setMbox(const QString&box){mbox = box;} | 44 | void setMbox(const QString&box){mbox = box;} |
44 | 45 | void setMsgid(const QString&id){msg_id=id;} | |
46 | const QString&Msgid()const{return msg_id;} | ||
47 | |||
45 | void setTo(const QStringList&list); | 48 | void setTo(const QStringList&list); |
46 | const QStringList&To()const; | 49 | const QStringList&To()const; |
47 | void setCC(const QStringList&list); | 50 | void setCC(const QStringList&list); |
48 | const QStringList&CC()const; | 51 | const QStringList&CC()const; |
49 | void setBcc(const QStringList&list); | 52 | void setBcc(const QStringList&list); |
50 | const QStringList&Bcc()const; | 53 | const QStringList&Bcc()const; |
51 | |||
52 | const QBitArray&getFlags()const{return msg_flags;} | 54 | const QBitArray&getFlags()const{return msg_flags;} |
53 | void setFlags(const QBitArray&flags){msg_flags = flags;} | 55 | void setFlags(const QBitArray&flags){msg_flags = flags;} |
54 | 56 | ||
55 | protected: | 57 | protected: |
56 | QString subject,date,from,mbox; | 58 | QString subject,date,from,mbox,msg_id; |
57 | int msg_number; | 59 | int msg_number; |
58 | QBitArray msg_flags; | 60 | QBitArray msg_flags; |
59 | QStringList to,cc,bcc; | 61 | QStringList to,cc,bcc; |
62 | void init(); | ||
63 | void copy_old(const RecMail&old); | ||
60 | }; | 64 | }; |
61 | 65 | ||
62 | class RecPart | 66 | class RecPart |