Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

WndBaseMatch.h

Go to the documentation of this file.
00001 //
00002 // WndBaseMatch.h
00003 //
00004 // Copyright (c) Shareaza Development Team, 2002-2005.
00005 // This file is part of SHAREAZA (www.shareaza.com)
00006 //
00007 // Shareaza is free software; you can redistribute it
00008 // and/or modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2 of
00010 // the License, or (at your option) any later version.
00011 //
00012 // Shareaza is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Shareaza; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //
00021 
00022 #if !defined(AFX_WNDBASEMATCH_H__BB7F6950_C699_40C4_8817_E3741CE3A8B2__INCLUDED_)
00023 #define AFX_WNDBASEMATCH_H__BB7F6950_C699_40C4_8817_E3741CE3A8B2__INCLUDED_
00024 
00025 #pragma once
00026 
00027 #include "WndPanel.h"
00028 #include "CtrlMatch.h"
00029 
00030 class CMatchList;
00031 class CCoolMenu;
00032 
00033 
00034 class CBaseMatchWnd : public CPanelWnd
00035 {
00036 // Construction
00037 public:
00038         CBaseMatchWnd();
00039         virtual ~CBaseMatchWnd();
00040 
00041         DECLARE_DYNCREATE(CBaseMatchWnd)
00042 
00043 // Attributes
00044 public:
00045         CMatchCtrl              m_wndList;
00046         CCoolBarCtrl    m_wndToolBar;
00047         CEdit                   m_wndFilter;
00048 protected:
00049         CMatchList*             m_pMatches;
00050         CCoolMenu*              m_pCoolMenu;
00051         BOOL                    m_bContextMenu;
00052         DWORD                   m_tContextMenu;
00053         BOOL                    m_bPaused;
00054         BOOL                    m_bUpdate;
00055         BOOL                    m_bBMWActive;
00056         DWORD                   m_nCacheFiles;
00057 
00058 // Operations
00059 protected:
00060         int     CheckExisting(BOOL bSHA1, SHA1* pSHA1, BOOL bTiger, TIGEROOT* pTiger, BOOL bED2K, MD4* pED2K);
00061 
00062 // Overrides
00063 public:
00064         //{{AFX_VIRTUAL(CBaseMatchWnd)
00065         public:
00066         virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
00067         //}}AFX_VIRTUAL
00068 
00069         virtual void    UpdateMessages(BOOL bActive = TRUE);
00070         virtual HRESULT GetGenericView(IGenericView** ppView);
00071 
00072 // Implementation
00073 protected:
00074         //{{AFX_MSG(CBaseMatchWnd)
00075         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00076         afx_msg void OnDestroy();
00077         afx_msg void OnSize(UINT nType, int cx, int cy);
00078         afx_msg void OnTimer(UINT nIDEvent);
00079         afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00080         afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
00081         afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
00082         afx_msg void OnUpdateSearchDownload(CCmdUI* pCmdUI);
00083         afx_msg void OnSearchDownload();
00084         afx_msg void OnUpdateSearchDownloadNow(CCmdUI* pCmdUI);
00085         afx_msg void OnSearchDownloadNow();
00086         afx_msg void OnUpdateSearchCopy(CCmdUI* pCmdUI);
00087         afx_msg void OnSearchCopy();
00088         afx_msg void OnUpdateSearchChat(CCmdUI* pCmdUI);
00089         afx_msg void OnSearchChat();
00090         afx_msg void OnUpdateSearchFilter(CCmdUI* pCmdUI);
00091         afx_msg void OnSearchFilter();
00092         afx_msg void OnUpdateSearchFilterRemove(CCmdUI* pCmdUI);
00093         afx_msg void OnSearchFilterRemove();
00094         afx_msg void OnSearchColumns();
00095         afx_msg void OnUpdateLibraryBitziWeb(CCmdUI* pCmdUI);
00096         afx_msg void OnLibraryBitziWeb();
00097         afx_msg void OnUpdateSecurityBan(CCmdUI* pCmdUI);
00098         afx_msg void OnSecurityBan();
00099         afx_msg void OnUpdateHitMonitorSearch(CCmdUI* pCmdUI);
00100         afx_msg void OnHitMonitorSearch();
00101         afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
00102         afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
00103         afx_msg void OnUpdateBrowseLaunch(CCmdUI* pCmdUI);
00104         afx_msg void OnBrowseLaunch();
00105         afx_msg void OnSearchFilterRaw();
00106         afx_msg void OnUpdateSearchForThis(CCmdUI* pCmdUI);
00107         afx_msg void OnSearchForThis();
00108         afx_msg void OnUpdateSearchForSimilar(CCmdUI* pCmdUI);
00109         afx_msg void OnSearchForSimilar();
00110         afx_msg void OnUpdateSearchForArtist(CCmdUI* pCmdUI);
00111         afx_msg void OnSearchForArtist();
00112         afx_msg void OnUpdateSearchForAlbum(CCmdUI* pCmdUI);
00113         afx_msg void OnSearchForAlbum();
00114         afx_msg void OnUpdateSearchForSeries(CCmdUI* pCmdUI);
00115         afx_msg void OnSearchForSeries();
00116         //afx_msg void OnUpdateLibraryJigle(CCmdUI* pCmdUI);
00117         //afx_msg void OnLibraryJigle();
00118         //}}AFX_MSG
00119         afx_msg void OnKillFocusFilter();
00120         afx_msg void OnToolbarReturn();
00121         afx_msg void OnToolbarEscape();
00122         afx_msg void OnUpdateBlocker(CCmdUI* pCmdUI);
00123 
00124         DECLARE_MESSAGE_MAP()
00125 
00126 };
00127 
00128 //{{AFX_INSERT_LOCATION}}
00129 
00130 #define IDC_FILTER_BOX  107
00131 
00132 #endif // !defined(AFX_WNDBASEMATCH_H__BB7F6950_C699_40C4_8817_E3741CE3A8B2__INCLUDED_)

Generated on Thu Dec 15 10:39:51 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2