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

WndUploads.h

Go to the documentation of this file.
00001 //
00002 // WndUploads.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_WNDUPLOADS_H__1067A4F9_E488_4037_BA97_04B1C6EB46B4__INCLUDED_)
00023 #define AFX_WNDUPLOADS_H__1067A4F9_E488_4037_BA97_04B1C6EB46B4__INCLUDED_
00024 
00025 #pragma once
00026 
00027 #include "WndPanel.h"
00028 #include "CtrlUploads.h"
00029 
00030 
00031 class CUploadsWnd : public CPanelWnd
00032 {
00033 // Construction
00034 public:
00035         CUploadsWnd();
00036         virtual ~CUploadsWnd();
00037 
00038         DECLARE_SERIAL(CUploadsWnd)
00039 
00040 // Operations
00041 public:
00042         virtual void    OnSkinChange();
00043 protected:
00044         inline BOOL             IsSelected(CUploadFile* pFile);
00045         void                    Prepare();
00046 
00047 // Attributes
00048 public:
00049         CUploadsCtrl    m_wndUploads;
00050         CCoolBarCtrl    m_wndToolBar;
00051 protected:
00052         DWORD                   m_tLastUpdate;
00053 protected:
00054         DWORD                   m_tSel;
00055         BOOL                    m_bSelFile;
00056         BOOL                    m_bSelUpload;
00057         BOOL                    m_bSelActive;
00058         BOOL                    m_bSelQueued;
00059         BOOL                    m_bSelHttp;
00060         BOOL                    m_bSelDonkey;
00061         BOOL                    m_bSelSourceAcceptConnections;
00062         BOOL                    m_bSelSourceExtended;
00063 
00064 // Overrides
00065 public:
00066         virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
00067         virtual BOOL PreTranslateMessage(MSG* pMsg);
00068 
00069 // Implementation
00070 protected:
00071         DECLARE_MESSAGE_MAP()
00072         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00073         afx_msg void OnDestroy();
00074         afx_msg void OnSize(UINT nType, int cx, int cy);
00075         afx_msg void OnTimer(UINT nIDEvent);
00076         afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00077         afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
00078         afx_msg void OnUpdateUploadsDisconnect(CCmdUI* pCmdUI);
00079         afx_msg void OnUploadsDisconnect();
00080         afx_msg void OnUpdateUploadsLaunch(CCmdUI* pCmdUI);
00081         afx_msg void OnUploadsLaunch();
00082         afx_msg void OnUpdateUploadsClear(CCmdUI* pCmdUI);
00083         afx_msg void OnUploadsClear();
00084         afx_msg void OnUploadsClearCompleted();
00085         afx_msg void OnUpdateUploadsChat(CCmdUI* pCmdUI);
00086         afx_msg void OnUploadsChat();
00087         afx_msg void OnUpdateUploadsAutoClear(CCmdUI* pCmdUI);
00088         afx_msg void OnUploadsAutoClear();
00089         afx_msg void OnUpdateSecurityBan(CCmdUI* pCmdUI);
00090         afx_msg void OnSecurityBan();
00091         afx_msg void OnUpdateBrowseLaunch(CCmdUI* pCmdUI);
00092         afx_msg void OnBrowseLaunch();
00093         afx_msg void OnUpdateUploadsStart(CCmdUI* pCmdUI);
00094         afx_msg void OnUploadsStart();
00095         afx_msg void OnUpdateEditQueue(CCmdUI* pCmdUI);
00096         afx_msg void OnEditQueue();
00097         afx_msg void OnUploadsHelp();
00098         afx_msg void OnUploadsSettings();
00099         afx_msg void OnUpdateUploadsFilterAll(CCmdUI* pCmdUI);
00100         afx_msg void OnUploadsFilterAll();
00101         afx_msg void OnUpdateUploadsFilterActive(CCmdUI* pCmdUI);
00102         afx_msg void OnUploadsFilterActive();
00103         afx_msg void OnUpdateUploadsFilterQueued(CCmdUI* pCmdUI);
00104         afx_msg void OnUploadsFilterQueued();
00105         afx_msg void OnUpdateUploadsFilterHistory(CCmdUI* pCmdUI);
00106         afx_msg void OnUploadsFilterHistory();
00107         afx_msg void OnUploadsFilterMenu();
00108 public:
00109         afx_msg void OnUpdateUploadsFilterTorrent(CCmdUI *pCmdUI);
00110         afx_msg void OnUploadsFilterTorrent();
00111 };
00112 
00113 #define IDC_UPLOADS             100
00114 
00115 #endif // !defined(AFX_WNDUPLOADS_H__1067A4F9_E488_4037_BA97_04B1C6EB46B4__INCLUDED_)

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