D:/opendownloadmanager/ODM-1.x/DownloadProperties_ProtocolPage.cpp File Reference

#include "stdafx.h"
#include "FdmApp.h"
#include "DownloadProperties_ProtocolPage.h"
#include "DownloadProperties.h"
#include "misc.h"
#include "DownloadsWnd.h"
#include "fsDownloadMgr.h"

Go to the source code of this file.

Defines

#define DNP_OFFSET(member)   ( LPBYTE (&dnp.member) - LPBYTE (&dnp) )
#define DNP_SIZEOF(member)   ( sizeof (dnp.member) )
#define DNP_EQ(member, bString)   DNPEntry_IsAllEqual (m_pvDlds, DNP_OFFSET (member), DNP_SIZEOF (member), bString)
#define DNP_EQ_MASK(member, mask)   DNPEntry_IsAllEqual_BitMask (m_pvDlds, DNP_OFFSET (member), mask)
#define DNP_SET(member, bString, NewVal)   DNPEntry_SetValue (m_pvDlds, DNP_OFFSET (member), DNP_SIZEOF (member), bString, NewVal)
#define DNP_SET_MASK(member, mask)   DNPEntry_SetValue_BitMask (m_pvDlds, DNP_OFFSET (member), mask)
#define DNP_UNSET_MASK(member, mask)   DNPEntry_UnsetValue_BitMask (m_pvDlds, DNP_OFFSET (member), mask)

Variables

LPCSTR _ppszAgentNames []
LPCSTR _ppszAgentValues []


Define Documentation

#define DNP_EQ ( member,
bString   )     DNPEntry_IsAllEqual (m_pvDlds, DNP_OFFSET (member), DNP_SIZEOF (member), bString)

Definition at line 75 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_EQ_MASK ( member,
mask   )     DNPEntry_IsAllEqual_BitMask (m_pvDlds, DNP_OFFSET (member), mask)

Definition at line 76 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_OFFSET ( member   )     ( LPBYTE (&dnp.member) - LPBYTE (&dnp) )

Definition at line 73 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_SET ( member,
bString,
NewVal   )     DNPEntry_SetValue (m_pvDlds, DNP_OFFSET (member), DNP_SIZEOF (member), bString, NewVal)

Definition at line 77 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_SET_MASK ( member,
mask   )     DNPEntry_SetValue_BitMask (m_pvDlds, DNP_OFFSET (member), mask)

Definition at line 78 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_SIZEOF ( member   )     ( sizeof (dnp.member) )

Definition at line 74 of file DownloadProperties_ProtocolPage.cpp.

#define DNP_UNSET_MASK ( member,
mask   )     DNPEntry_UnsetValue_BitMask (m_pvDlds, DNP_OFFSET (member), mask)

Definition at line 79 of file DownloadProperties_ProtocolPage.cpp.


Variable Documentation

Initial value:

 {
        "Free Download Manager 2.x",            
        "Microsoft Internet Explorer 5.0",
        "Netscape Communicator 4.0",
        "Opera 3.6"
}

Definition at line 59 of file DownloadProperties_ProtocolPage.cpp.

Referenced by CDownloadProperties_ProtocolPage::OnApply(), and CDownloadProperties_ProtocolPage::OnInitDialog().

Initial value:

 {
        PRG_AGENT_NAME,
        "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)",
        "Mozilla/4.05 [en] (Win95; I)",
        "Mozilla/4.0 (Windows 95;US) Opera 3.60  [en]"
}

Definition at line 66 of file DownloadProperties_ProtocolPage.cpp.

Referenced by CDownloadProperties_ProtocolPage::OnApply(), and CDownloadProperties_ProtocolPage::OnInitDialog().


Generated on Sun May 25 00:19:47 2008 by  doxygen 1.5.6