-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxMsPop3MsgListh.h
56 lines (53 loc) · 1.96 KB
/
wxMsPop3MsgListh.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*-----------------------------------------------------------------
* Name: wxMsPop3MsgListh.h
* Purpose:
* Author: A. Wiegert
*
* Copyright:
* Licence: wxWidgets license
*-------------------------------------------------------------- */
#ifndef _WX_MS_POP3_LIST_H
#define _WX_MS_POP3_LIST_H
// ------------------------------------------------------------------
#include "wx/wx.h"
#include <list>
// ------------------------------------------------------------------
class MyPop3MsgElement // Pop3 Msgs
{
public:
long m_lSize;
wxString m_wsUidl;
wxString m_wsFrom;
wxString m_wsTo;
wxString m_wsSubject;
wxString m_wsDateSent;
wxString m_wsPriority;
wxString m_wsAttachments;
wxString m_wsAcctName;
wxString m_wsHeader;
wxString m_wsMessage;
wxString m_wsContentType;
wxString m_wsContentSubType;
wxString m_wsCharSet; ///< from header
bool m_bHaveMessage; ///< true if we have all of the message in memory
bool m_bNeedHeader; ///< we are in neewd of the header information
bool m_bDelete; ///< state of 'delete' checkbox
bool m_bBounce; ///< state of 'bounce' checkbox
bool m_bBlacklist; ///< state of 'blacklist' checkbox
MyPop3MsgElement(
wxString wsUidl,
long lSize )
{ // initialize all members
m_lSize = lSize;
m_wsUidl = wsUidl;
m_wsFrom = m_wsTo = m_wsSubject = m_wsDateSent = m_wsAttachments = wxEmptyString;
m_wsAcctName = m_wsHeader = m_wsMessage =
m_wsContentType = m_wsContentSubType = wxEmptyString;
m_wsCharSet = _T("unknown");
m_bHaveMessage = false;
m_bNeedHeader = true;
m_bDelete = m_bBounce = m_bBlacklist = false;
};
};
#endif // _WX_MS_POP3_LIST_H
// ------------------------------- eof ---------------------------