CSpiderWnd Class Reference

#include <SpiderWnd.h>

List of all members.

Public Member Functions

 CSpiderWnd ()
void UpdateTasksIcons ()
afx_msg void OnSpiderDl ()
void SetupDefSettings ()
void SaveAll (BOOL bMsgIfErr=FALSE)
void SavePages (BOOL bMsgIfErr=TRUE)
fsWebPageDownloadsMgrGetMgr ()
fsWebPageDownloaderAddWebPage (LPCSTR pszStartUrl=NULL, BOOL bReqTopMost=FALSE)
BOOL Create (CWnd *pParent)
virtual ~CSpiderWnd ()

Static Public Member Functions

static HMENU Plugin_GetViewMenu ()
static HMENU Plugin_GetMainMenu ()
static void Plugin_SetLanguage (wgLanguage, HMENU hMenuMain, HMENU)
static void Plugin_GetPluginNames (LPCSTR *ppszLong, LPCSTR *ppszShort)
static void Plugin_GetMenuViewItems (wgMenuViewItem **ppItems, int *cItems)
static void Plugin_GetMenuImages (fsSetImage **ppImages, int *pcImages)
static void Plugin_GetToolBarInfo (wgTButtonInfo **ppButtons, int *pcButtons)
static HWND Plugin_CreateMainWindow (HWND hParent)

Public Attributes

fsWebPageDownloadsMgr m_mgr

Protected Member Functions

afx_msg LRESULT OnInsert (WPARAM, LPARAM)
afx_msg void OnPagesListShowCol (UINT uCmd)
void UpdatePagesListColMenu (CMenu *menu)
afx_msg LRESULT OnUpdateMenuView (WPARAM, LPARAM lp)
void ApplyLanguageToMenuView (CMenu *menu)
void ApplyLanguage ()
afx_msg LRESULT OnUpdateToolBar (WPARAM, LPARAM)
afx_msg LRESULT OnUpdateMenu (WPARAM, LPARAM)
afx_msg LRESULT OnAppQueryExit (WPARAM, LPARAM)
afx_msg LRESULT OnAppExit (WPARAM, LPARAM)
void LoadPages ()
afx_msg void OnShowTree ()
void ShowTree (BOOL bShow)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnSpiderDelete ()
afx_msg void OnSpiderOpenfolder ()
afx_msg void OnSpiderOpenpage ()
afx_msg void OnSpiderSchedule ()
afx_msg void OnSpiderSettings ()
afx_msg void OnSpiderStartautomatically ()
afx_msg void OnSpiderStartdl ()
afx_msg void OnSpiderStopdl ()
afx_msg void OnSetFocus (CWnd *pOldWnd)

Static Protected Member Functions

static void _DownloaderEvents (fsWebPageDownloader *dldr, fsWPDEvent ev, int info, LPVOID lp)

Protected Attributes

BOOL m_bShowTree
CWndSplitter m_wndSplitter
CSpiderTaskTree m_wndTaskTree
CSpiderTasks m_wndTasks

Friends

class CSpiderTasks


Detailed Description

Definition at line 20 of file SpiderWnd.h.


Constructor & Destructor Documentation

CSpiderWnd::CSpiderWnd (  ) 

Definition at line 22 of file SpiderWnd.cpp.

References _DownloaderEvents(), m_mgr, and fsWebPageDownloadsMgr::SetEventsFunc().

CSpiderWnd::~CSpiderWnd (  )  [virtual]

Definition at line 27 of file SpiderWnd.cpp.


Member Function Documentation

HMENU CSpiderWnd::Plugin_GetViewMenu (  )  [static]

Definition at line 485 of file SpiderWnd.cpp.

References IDM_SPIDER_VIEW.

Referenced by fsPluginMgr::LoadBuiltIn().

HMENU CSpiderWnd::Plugin_GetMainMenu (  )  [static]

Definition at line 480 of file SpiderWnd.cpp.

References IDM_SPIDER.

Referenced by fsPluginMgr::LoadBuiltIn().

void CSpiderWnd::Plugin_SetLanguage ( wgLanguage  ,
HMENU  hMenuMain,
HMENU  hMenuView 
) [static]

void CSpiderWnd::Plugin_GetPluginNames ( LPCSTR ppszLong,
LPCSTR ppszShort 
) [static]

Definition at line 128 of file SpiderWnd.cpp.

References L_HTMLSPIDER, and LS.

Referenced by fsPluginMgr::LoadBuiltIn().

void CSpiderWnd::Plugin_GetMenuViewItems ( wgMenuViewItem **  ppItems,
int *  cItems 
) [static]

Definition at line 116 of file SpiderWnd.cpp.

References L_WEBPAGETREE, LS, m_bShowTree, and wgMenuViewItem::pszName.

Referenced by fsPluginMgr::LoadBuiltIn().

void CSpiderWnd::Plugin_GetMenuImages ( fsSetImage **  ppImages,
int *  pcImages 
) [static]

void CSpiderWnd::Plugin_GetToolBarInfo ( wgTButtonInfo **  ppButtons,
int *  pcButtons 
) [static]

HWND CSpiderWnd::Plugin_CreateMainWindow ( HWND  hParent  )  [static]

Definition at line 61 of file SpiderWnd.cpp.

References Create(), and fsnew1.

Referenced by fsPluginMgr::LoadBuiltIn().

void CSpiderWnd::UpdateTasksIcons (  ) 

void CSpiderWnd::OnSpiderDl (  ) 

Definition at line 217 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderDl().

Referenced by CMainFrame::OnSpiderDLWebPage().

void CSpiderWnd::SetupDefSettings (  ) 

void CSpiderWnd::SaveAll ( BOOL  bMsgIfErr = FALSE  ) 

void CSpiderWnd::SavePages ( BOOL  bMsgIfErr = TRUE  ) 

Definition at line 330 of file SpiderWnd.cpp.

References FALSE, m_mgr, fsWebPageDownloadsMgr::Save(), and TRUE.

Referenced by SaveAll().

fsWebPageDownloadsMgr * CSpiderWnd::GetMgr (  ) 

fsWebPageDownloader * CSpiderWnd::AddWebPage ( LPCSTR  pszStartUrl = NULL,
BOOL  bReqTopMost = FALSE 
)

BOOL CSpiderWnd::Create ( CWnd *  pParent  ) 

Definition at line 70 of file SpiderWnd.cpp.

References FALSE, NULL, and TRUE.

Referenced by Plugin_CreateMainWindow().

LRESULT CSpiderWnd::OnInsert ( WPARAM  ,
LPARAM   
) [protected]

Definition at line 474 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderDl().

void CSpiderWnd::OnPagesListShowCol ( UINT  uCmd  )  [protected]

Definition at line 468 of file SpiderWnd.cpp.

References CListCtrlEx::ChangeColumnVisibility(), ID_LOW_1, and m_wndTasks.

void CSpiderWnd::UpdatePagesListColMenu ( CMenu *  menu  )  [protected]

Definition at line 454 of file SpiderWnd.cpp.

References BOOL, FALSE, ID_LOW_1, CListCtrlEx::IsColumnShown(), and m_wndTasks.

Referenced by OnUpdateMenuView().

LRESULT CSpiderWnd::OnUpdateMenuView ( WPARAM  ,
LPARAM  lp 
) [protected]

Definition at line 447 of file SpiderWnd.cpp.

References UpdatePagesListColMenu().

void CSpiderWnd::ApplyLanguageToMenuView ( CMenu *  menu  )  [protected]

Definition at line 436 of file SpiderWnd.cpp.

References ID_LOW_1, ID_LOW_2, ID_LOW_3, L_FILES, L_LISTOFPAGES, L_PROGRESS, L_WEBPAGEURL, and LS.

Referenced by Plugin_SetLanguage().

void CSpiderWnd::ApplyLanguage (  )  [protected]

Definition at line 371 of file SpiderWnd.cpp.

References CSpiderTasks::ApplyLanguage(), and m_wndTasks.

Referenced by Plugin_SetLanguage().

LRESULT CSpiderWnd::OnUpdateToolBar ( WPARAM  wp,
LPARAM   
) [protected]

Definition at line 200 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::UpdateToolBar().

LRESULT CSpiderWnd::OnUpdateMenu ( WPARAM  ,
LPARAM  lp 
) [protected]

Definition at line 194 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::UpdateMenu().

LRESULT CSpiderWnd::OnAppQueryExit ( WPARAM  ,
LPARAM   
) [protected]

Definition at line 189 of file SpiderWnd.cpp.

LRESULT CSpiderWnd::OnAppExit ( WPARAM  ,
LPARAM   
) [protected]

Definition at line 183 of file SpiderWnd.cpp.

References SaveAll(), and TRUE.

void CSpiderWnd::LoadPages (  )  [protected]

void CSpiderWnd::_DownloaderEvents ( fsWebPageDownloader dldr,
fsWPDEvent  ev,
int  info,
LPVOID  lp 
) [static, protected]

void CSpiderWnd::OnShowTree (  )  [protected]

Definition at line 205 of file SpiderWnd.cpp.

References FALSE, m_bShowTree, and ShowTree().

void CSpiderWnd::ShowTree ( BOOL  bShow  )  [protected]

int CSpiderWnd::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

void CSpiderWnd::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Definition at line 161 of file SpiderWnd.cpp.

References CWndSplitter::ApplyRatio(), m_bShowTree, m_wndSplitter, and m_wndTasks.

Referenced by ShowTree().

void CSpiderWnd::OnTimer ( UINT  nIDEvent  )  [protected]

void CSpiderWnd::OnSpiderDelete (  )  [protected]

Definition at line 376 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderDelete().

void CSpiderWnd::OnSpiderOpenfolder (  )  [protected]

Definition at line 381 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderOpenfolder().

void CSpiderWnd::OnSpiderOpenpage (  )  [protected]

Definition at line 386 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderOpenpage().

void CSpiderWnd::OnSpiderSchedule (  )  [protected]

Definition at line 391 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderSchedule().

void CSpiderWnd::OnSpiderSettings (  )  [protected]

Definition at line 396 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderSettings().

void CSpiderWnd::OnSpiderStartautomatically (  )  [protected]

Definition at line 401 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderStartautomatically().

void CSpiderWnd::OnSpiderStartdl (  )  [protected]

Definition at line 406 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderStartdl().

void CSpiderWnd::OnSpiderStopdl (  )  [protected]

Definition at line 411 of file SpiderWnd.cpp.

References m_wndTasks, and CSpiderTasks::OnSpiderStopdl().

void CSpiderWnd::OnSetFocus ( CWnd *  pOldWnd  )  [protected]

Definition at line 416 of file SpiderWnd.cpp.

References m_wndTasks.


Friends And Related Function Documentation

friend class CSpiderTasks [friend]

Definition at line 22 of file SpiderWnd.h.


Member Data Documentation

Definition at line 55 of file SpiderWnd.h.

Referenced by AddWebPage(), CSpiderWnd(), GetMgr(), LoadPages(), OnTimer(), and SavePages().

BOOL CSpiderWnd::m_bShowTree [protected]

Definition at line 81 of file SpiderWnd.h.

Referenced by OnCreate(), OnShowTree(), OnSize(), Plugin_GetMenuViewItems(), and ShowTree().

Definition at line 83 of file SpiderWnd.h.

Referenced by OnCreate(), OnSize(), SaveAll(), and ShowTree().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:55 2008 by  doxygen 1.5.6