-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMailbox.hpp
64 lines (50 loc) · 1.77 KB
/
Mailbox.hpp
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
57
58
59
60
61
62
63
64
// Mailbox.h: interface for the CMailbox class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAILBOX_H__16563A3F_26DC_4EF9_8EDB_6431B7CED278__INCLUDED_)
#define AFX_MAILBOX_H__16563A3F_26DC_4EF9_8EDB_6431B7CED278__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef NMAILXML_EXPORTS
#define NMAILXML_API __declspec(dllexport)
#else
#define NMAILXML_API __declspec(dllimport)
#endif
class CMailbox
{
public:
CMailbox();
virtual ~CMailbox();
// Get/Set m_folders
NMAILXML_API _TCHAR const * GetFolders();
NMAILXML_API void SetFolders(const _TCHAR *folders);
// Get/Set m_ignoredFolders
NMAILXML_API _TCHAR const * GetIgnoredFolders();
NMAILXML_API void SetIgnoredFolders(const _TCHAR *folders);
// Get/Set m_views
NMAILXML_API _TCHAR const * GetViews();
NMAILXML_API void SetViews(const _TCHAR *views);
// Get/Set m_dateFilterField
NMAILXML_API _TCHAR const * GetDateFilterField();
NMAILXML_API void SetDateFilterField(const _TCHAR *dateFilterField);
// Get/Set m_dateFilterAfter
NMAILXML_API _TCHAR const * GetDateFilterAfter();
NMAILXML_API void SetDateFilterAfter(const _TCHAR *dateFilterAfter);
// Get/Set m_dateFilterBefore
NMAILXML_API _TCHAR const * GetDateFilterBefore();
NMAILXML_API void SetDateFilterBefore(const _TCHAR *dateFilterBefore);
// Get/Set m_dateMask
NMAILXML_API _TCHAR const * GetDateMask();
NMAILXML_API void SetDateMask(const _TCHAR *dateMask);
protected:
_TCHAR m_folders[1024];
_TCHAR m_ignoredFolders[1024];
_TCHAR m_views[1024];
_TCHAR m_dateFilterField[64];
_TCHAR m_dateFilterAfter[64];
_TCHAR m_dateFilterBefore[64];
_TCHAR m_dateMask[64];
};
#define FOLDER_NAME_SPACE _T("#x20")
#endif // !defined(AFX_MAILBOX_H__16563A3F_26DC_4EF9_8EDB_6431B7CED278__INCLUDED_)