00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_VMSIETMPCOOKIES_H__5CE05C63_3540_4132_9D7A_D08FA5CBC974__INCLUDED_) 00007 #define AFX_VMSIETMPCOOKIES_H__5CE05C63_3540_4132_9D7A_D08FA5CBC974__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include <fslist.h> 00014 #include <fsString.h> 00015 00016 class vmsIETmpCookies 00017 { 00018 public: 00019 00020 LPCSTR get_PostData (int nIndex); 00021 LPCSTR get_Referer (int nIndex); 00022 LPCSTR get_Cookies (int nIndex); 00023 00024 int Find (LPCSTR pszUrl); 00025 00026 vmsIETmpCookies(); 00027 virtual ~vmsIETmpCookies(); 00028 00029 protected: 00030 00031 static fsString GetLevel2DomainName (LPCSTR pszHostName); 00032 00033 void ProcessFile (LPCSTR pszFile); 00034 00035 void GetListOfKnownCookies(); 00036 00037 HANDLE m_mxFile; 00038 00039 fs::list <fsString> m_vUrls; 00040 fs::list <fsString> m_vCookies; 00041 fs::list <fsString> m_vPostDatas; 00042 fs::list <fsString> m_vBeforeNavUrls; 00043 }; 00044 00045 #endif
1.5.6