-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwxMsPop3MsgArrayh.h
49 lines (45 loc) · 1.46 KB
/
wxMsPop3MsgArrayh.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
/*-----------------------------------------------------------------
* Name: wxMsPop3MsgArrayh.h
* Purpose:
* Author: A. Wiegert
*
* Copyright:
* Licence: wxWidgets license
*-------------------------------------------------------------- */
#ifndef _WX_MS_POP3_ARRAY_H
#define _WX_MS_POP3_ARRAY_H
// ------------------------------------------------------------------
#pragma once
#include "wx/wx.h"
#include "wx/wxemail.h"
// ------------------------------------------------------------------
#if !defined( WANT_MSG_LIST )
class MyPop3MsgElement // Pop3 Msgs
{
public:
long m_lSequence;
long m_lSize;
wxString m_wsUidl;
wxString m_wsHeader;
wxString m_wsMessage;
wxEmailMessage* m_pEmailMessage;
bool m_bHaveMessage; ///< true if we have all of the message in memory
bool m_bNeedHeader; ///< we are in neewd of the header information
MyPop3MsgElement(
long lSequence,
long lSize )
{ // initialize all members
m_lSequence = lSequence;
m_lSize = lSize;
m_wsUidl = wxEmptyString;
m_wsHeader = wxEmptyString;
m_wsMessage = wxEmptyString;
m_pEmailMessage = NULL;
m_bHaveMessage = false;
m_bNeedHeader = true;
};
};
WX_DECLARE_OBJARRAY( MyPop3MsgElement, MyPop3MsgArray );
#endif
#endif // _WX_MS_POP3_ARRAY_H
// ------------------------------- eof ---------------------------