You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
// MessageFolder.h: interface for the CMessageFolder class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_)
|
|
#define AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
class CMessageFolder : public CFolder
|
|
{
|
|
public:
|
|
CMessageFolder(
|
|
FolderType type,
|
|
FAX_ENUM_MESSAGE_FOLDER Folder
|
|
) :
|
|
CFolder(type),
|
|
m_Folder (Folder)
|
|
{}
|
|
|
|
virtual ~CMessageFolder() { PreDestruct(); }
|
|
|
|
DWORD Refresh ();
|
|
|
|
static void ReadConfiguration ();
|
|
|
|
DWORD OnJobAdded (DWORDLONG dwlMsgId);
|
|
DWORD OnJobUpdated (DWORDLONG dwlMsgId, PFAX_JOB_STATUS pNewStatus)
|
|
{ ASSERT (FALSE); return ERROR_CALL_NOT_IMPLEMENTED; }
|
|
|
|
private:
|
|
|
|
FAX_ENUM_MESSAGE_FOLDER m_Folder; // Inbox / Sent items
|
|
static DWORD m_sdwNumMessagesPerRPCCall; // Number of messages to
|
|
// retrieve per RPC call.
|
|
};
|
|
|
|
#endif // !defined(AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_)
|