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

CShareazaApp Class Reference

#include <Shareaza.h>

List of all members.

Public Member Functions

 CShareazaApp ()
 BOOL (WINAPI *m_pfnSetLayeredWindowAttributes)(HWND
 BOOL (WINAPI *m_pfnGetMonitorInfoA)(HMONITOR
 HMONITOR (WINAPI *m_pfnMonitorFromRect)(LPCRECT
 HMONITOR (WINAPI *m_pfnMonitorFromWindow)(HWND
 DWORD (WINAPI *m_pfnSetLayout)(HDC
void Message (int nType, UINT nID,...)
void Message (int nType, LPCTSTR pszFormat,...)
CString GetErrorString ()
BOOL InternalURI (LPCTSTR pszURI)
void PrintMessage (int nType, LPCTSTR pszLog)
void LogMessage (LPCTSTR pszLog)
void DebugState (BOOL bState)
virtual BOOL InitInstance ()
virtual int ExitInstance ()
virtual void WinHelp (DWORD dwData, UINT nCmd=HELP_CONTEXT)

Static Public Member Functions

static CMainWndSafeMainWnd ()

Public Attributes

CMutex m_pMutex
CMutex m_pSection
WORD m_nVersion [4]
CString m_sVersion
CFont m_gdiFont
CFont m_gdiFontBold
CFont m_gdiFontLine
CWnd * m_pSafeWnd
BOOL m_bLive
BOOL m_bNT
BOOL m_bLimitedConnections
DWORD m_dwWindowsVersion
DWORD m_dwWindowsVersionMinor
QWORD m_nPhysicalMemory
BOOL m_bRTL
BOOL m_bMenuWasVisible
int m_nDefaultFontSize
CString m_sDefaultFont
CString m_sPacketDumpFont
CString m_sSystemLogFont
HINSTANCE m_hUser32
 COLORREF
 BYTE
 DWORD
 LPMONITORINFO
HINSTANCE m_hGDI32

Protected Member Functions

void GetVersionNumber ()
void InitResources ()

Protected Attributes

CCriticalSection m_csMessage

Static Protected Attributes

static TCHAR szMessageBuffer [16384]


Constructor & Destructor Documentation

CShareazaApp::CShareazaApp  ) 
 

Definition at line 75 of file Shareaza.cpp.

References NULL.


Member Function Documentation

CShareazaApp::BOOL WINAPI *  m_pfnGetMonitorInfoA  ) 
 

CShareazaApp::BOOL WINAPI *  m_pfnSetLayeredWindowAttributes  ) 
 

Referenced by InitInstance().

void CShareazaApp::DebugState BOOL  bState  ) 
 

CShareazaApp::DWORD WINAPI *  m_pfnSetLayout  ) 
 

int CShareazaApp::ExitInstance  )  [virtual]
 

Definition at line 213 of file Shareaza.cpp.

References BTClients, CSkin::Clear(), CLibrary::Clear(), CDownloads::Clear(), CBTClients::Clear(), CEDClients::Clear(), CUploads::Clear(), CIEProtocol::Close(), CDDEServer::Close(), CDownloads::CloseTransfers(), DDEServer, CNetwork::Disconnect(), DiscoveryServices, DownloadGroups, Downloads, EDClients, HostCache, IEProtocol, Library, m_bLive, m_hUser32, Network, NULL, CSettings::Save(), CDiscoveryServices::Save(), CUploadQueues::Save(), CHostCache::Save(), CSecurity::Save(), CLibrary::Save(), CDownloadGroups::Save(), CDownloads::Save(), Security, Settings, Skin, CDiscoveryServices::Stop(), CVersionChecker::Stop(), CTransfers::StopThread(), CLibrary::StopThread(), Transfers, UploadQueues, Uploads, and VersionChecker.

CString CShareazaApp::GetErrorString  ) 
 

Definition at line 545 of file Shareaza.cpp.

References NULL.

Referenced by CFileCopyDlg::CheckTarget(), CLibraryDetailView::OnEndLabelEditA(), and CLibraryDetailView::OnEndLabelEditW().

void CShareazaApp::GetVersionNumber  )  [protected]
 

Definition at line 264 of file Shareaza.cpp.

References BYTE, DWORD, m_nVersion, m_sVersion, and NULL.

Referenced by InitInstance().

CShareazaApp::HMONITOR WINAPI *  m_pfnMonitorFromWindow  ) 
 

CShareazaApp::HMONITOR WINAPI *  m_pfnMonitorFromRect  ) 
 

BOOL CShareazaApp::InitInstance  )  [virtual]
 

Definition at line 84 of file Shareaza.cpp.

References _tcsistr(), AdultFilter, BOOL(), CShellIcons::Clear(), CoolMenu, CIEProtocol::Create(), CDDEServer::Create(), CQueryHashMaster::Create(), DDEServer, DiscoveryServices, Downloads, Emoticons, CCoolMenu::EnableHook(), GetVersionNumber(), CSplashDlg::Hide(), HostCache, IEProtocol, InitResources(), Library, CUploadQueues::Load(), CDownloads::Load(), CEmoticons::Load(), CScheduler::Load(), CMessageFilter::Load(), CAdultFilter::Load(), CSecurity::Load(), CDiscoveryServices::Load(), CHostCache::Load(), CLibrary::Load(), CGProfile::Load(), CVendorCache::Load(), CSchemaCache::Load(), CSettings::Load(), m_bLive, m_pMutex, MessageFilter, MyProfile, CVersionChecker::NeedToCheck(), NULL, QueryHashMaster, CShareazaURL::Register(), Schedule, SchemaCache, Security, Settings, ShellIcons, CVersionChecker::Start(), CSplashDlg::Step(), CSplashDlg::Topmost(), UploadQueues, VendorCache, and VersionChecker.

void CShareazaApp::InitResources  )  [protected]
 

Definition at line 302 of file Shareaza.cpp.

References m_bLimitedConnections, m_bNT, m_bRTL, m_dwWindowsVersion, m_dwWindowsVersionMinor, m_gdiFont, m_gdiFontBold, m_gdiFontLine, m_hGDI32, m_hUser32, m_nDefaultFontSize, m_nPhysicalMemory, m_sDefaultFont, m_sPacketDumpFont, m_sSystemLogFont, NULL, and theApp.

Referenced by InitInstance().

BOOL CShareazaApp::InternalURI LPCTSTR  pszURI  ) 
 

Definition at line 566 of file Shareaza.cpp.

References CWindowManager::Check(), CSettings::sDownloads::CompletePath, CoolInterface, CSettings::Downloads, DWORD, CFileExecutor::Execute(), ID_LIBRARY_TREE_VIRTUAL, ID_NETWORK_CONNECT, ID_NETWORK_DISCONNECT, ID_TAB_SEARCH, ID_TOOLS_SETTINGS, ID_TOOLS_SKIN, ID_TOOLS_WIZARD, ID_VIEW_DOWNLOADS, ID_VIEW_LIBRARY, ID_VIEW_NEIGHBOURS, ID_VIEW_UPLOADS, Library, CLibrary::LookupFile(), m_pSafeWnd, CLibrary::m_pSection, CMainWnd::m_pWindows, CCoolInterface::NameToID(), NULL, Settings, and WM_VERSIONCHECK.

Referenced by CSearchDetailPanel::OnClickReview(), CHomeWnd::OnClickView(), CHelpDlg::OnClickView(), CChatFrame::OnClickView(), and CBrowseProfileCtrl::OnClickView().

void CShareazaApp::LogMessage LPCTSTR  pszLog  ) 
 

Definition at line 489 of file Shareaza.cpp.

References CSettings::General, CSettings::sGeneral::MaxDebugLogSize, Settings, and CSettings::sGeneral::ShowTimestamp.

Referenced by CTigerTree::Dump(), and Message().

void CShareazaApp::Message int  nType,
LPCTSTR  pszFormat,
  ...
 

Definition at line 464 of file Shareaza.cpp.

References CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, CSettings::General, LogMessage(), m_csMessage, MSG_DEBUG, MSG_TEMP, PrintMessage(), Settings, and szMessageBuffer.

void CShareazaApp::Message int  nType,
UINT  nID,
  ...
 

Definition at line 431 of file Shareaza.cpp.

References CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, CSettings::General, LoadString(), LogMessage(), m_csMessage, MSG_DEBUG, MSG_TEMP, NULL, PrintMessage(), Settings, and szMessageBuffer.

Referenced by CHandshakes::AcceptCheck(), CHandshakes::AcceptConnection(), CDownloadTransferHTTP::AcceptPush(), CTransfers::Add(), CDownloads::Add(), CDiscoveryServices::Add(), CDiscoveryServices::AddDefaults(), CLocalSearch::AddHit(), CHubHorizonPool::AddHorizonHubs(), CDownloadWithExtras::AddReview(), CUploadTransferHTTP::AttachTo(), CEDClient::AttachTo(), CBTClient::AttachTo(), CSecurity::Ban(), CDownload::Boost(), CHostBrowser::Browse(), CDownloadSource::CanInitiate(), CG1Neighbour::CG1Neighbour(), CG2Neighbour::CG2Neighbour(), CHandshake::CHandshake(), CUploadTransferED2K::CheckFinishedRequest(), CUploadTransferED2K::CheckRanking(), CDownloadWithTorrent::ChokeTorrent(), CUploadTransfer::Close(), CNeighbour::Close(), CEDClient::Close(), CHttpRequest::CloseThread(), CNetwork::Connect(), CEDClient::Connect(), CBTClient::Connect(), CShakeNeighbour::ConnectTo(), CNetwork::ConnectTo(), CNeighboursWithConnect::ConnectTo(), CEDNeighbour::ConnectTo(), CConnection::ConnectTo(), CFragmentedFile::Create(), CNeighboursWithG2::CreateQueryWeb(), CDownloadSource::CreateTransfer(), CPacket::Debug(), CTransferFile::DeferredWrite(), CNeighbour::DelayClose(), CNetwork::Disconnect(), CHandshakes::Disconnect(), CLocalSearch::DispatchPacket(), CUploads::EnforcePerHostLimit(), CDiscoveryServices::Execute(), CDDEServer::Execute(), CManagedSearch::ExecuteDonkeyMesh(), CManagedSearch::ExecuteG2Mesh(), CManagedSearch::ExecuteNeighbours(), CSearchDetailPanel::ExecuteRequest(), detail::Fragment< Payload, OffsetType >::Fragment(), CQuerySearch::FromPacket(), CDownloadWithTorrent::GenerateTorrentDownloadID(), CDiscoveryServices::GetRandomWebCache(), CDownloadTransferHTTP::Initiate(), CDownloadTransferFTP::Initiate(), CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), CHandshakes::Listen(), CDatagrams::Listen(), CScheduler::Load(), CDownloads::Load(), CHostCacheList::LoadDefaultED2KServers(), CVendorCache::LoadFrom(), CBTInfo::LoadTorrentTree(), CMainWnd::LocalSystemChecks(), CUploadTransfer::LongTermAverage(), CEDClients::OnAccept(), CHandshake::OnAcceptGive(), CHandshake::OnAcceptPush(), CDatagrams::OnAcknowledgeSGP(), CBTClient::OnBeHandshake(), CG1Neighbour::OnBye(), CDownloadTransferBT::OnChoked(), CNeighbour::OnCommonHit(), CNeighbour::OnCommonQueryHash(), CUploadTransferHTTP::OnCompleted(), CDownloadTransferED2K::OnCompressedPart(), CShakeNeighbour::OnConnected(), CHandshake::OnConnected(), CEDNeighbour::OnConnected(), CDownloadTransferHTTP::OnConnected(), CDownloadTransferFTP::OnConnected(), CDownloadTransferED2K::OnConnected(), CDownloadTransferBT::OnConnected(), CBTClient::OnConnected(), CCrawlSession::OnCrawl(), CSystemWnd::OnCreate(), CFilePreviewDlg::OnDestroy(), CSearchDetailPanel::OnDestroy(), CLibraryMetaPanel::OnDestroy(), CTorrentSeedDlg::OnDownload(), CDownload::OnDownloaded(), CDownloadsWnd::OnDownloadsSources(), CUploadTransferHTTP::OnDropped(), CUploadTransferED2K::OnDropped(), CNeighbour::OnDropped(), CHostBrowser::OnDropped(), CHandshake::OnDropped(), CEDClient::OnDropped(), CDownloadTransferHTTP::OnDropped(), CDownloadTransferFTP::OnDropped(), CDownloadTransferED2K::OnDropped(), CBTClient::OnDropped(), CEDClient::OnEmuleInfo(), CDiscoveryService::OnFailure(), CDownloadTransferED2K::OnFileNotFound(), CEDClient::OnFileRequest(), CDownloadTransferED2K::OnFileStatus(), CEDClient::OnFileStatusRequest(), CEDNeighbour::OnFoundSources(), CBTClient::OnHandshake1(), CBTClient::OnHandshake2(), CShakeNeighbour::OnHandshakeComplete(), CDownloadTransferED2K::OnHashsetAnswer(), CEDClient::OnHashsetRequest(), CUploadTransferHTTP::OnHeaderLine(), CShakeNeighbour::OnHeaderLine(), CHostBrowser::OnHeaderLine(), CDownloadTransferHTTP::OnHeaderLine(), CDownloadTransferFTP::OnHeaderLine(), CChatSession::OnHeaderLine(), CUploadTransferHTTP::OnHeadersComplete(), CHostBrowser::OnHeadersComplete(), CDownloadTransferHTTP::OnHeadersComplete(), CShakeNeighbour::OnHeadersCompleteG1(), CShakeNeighbour::OnHeadersCompleteG2(), CEDClient::OnHello(), CG1Neighbour::OnHit(), CDatagrams::OnHit(), CEDNeighbour::OnIdChange(), CEDClient::OnMessage(), CDownload::OnMoved(), CCrawlNode::OnNode(), CBTClient::OnOnline(), CHostBrowser::OnPacket(), CG2Neighbour::OnPacket(), CG1Neighbour::OnPacket(), CEDClient::OnPacket(), CG2Neighbour::OnPing(), CG1Neighbour::OnPing(), CG1Neighbour::OnPong(), CG2Neighbour::OnPush(), CG1Neighbour::OnPush(), CG2Neighbour::OnQuery(), CG1Neighbour::OnQuery(), CDatagrams::OnQuery(), CSearchManager::OnQueryAck(), CSearchWnd::OnQueryHits(), CG2Neighbour::OnQueryKeyAns(), CDatagrams::OnQueryKeyAnswer(), CDatagrams::OnQueryKeyRequest(), CDownloadTransferED2K::OnQueueRank(), CDownloadTransferED2K::OnRankingInfo(), CHandshake::OnRead(), CDatagrams::OnReceiveSGP(), CUploadTransfer::OnRename(), CUploadTransferBT::OnRequest(), CUploadTransferED2K::OnRequestParts(), CUploadTransferHTTP::OnRun(), CNeighbour::OnRun(), CLibraryBuilder::OnRun(), CHostBrowser::OnRun(), CHandshake::OnRun(), CEDClient::OnRun(), CDownloadTransferHTTP::OnRun(), CDownloadTransferFTP::OnRun(), CSearchDetailPanel::OnRun(), CChatSession::OnRun(), CBTClient::OnRun(), CUploadTransferED2K::OnRunEx(), CDownloadTransferED2K::OnRunEx(), CEDNeighbour::OnSearchResults(), CSearchWnd::OnSearchSearch(), CSearchWnd::OnSearchStop(), CDownloadTransferED2K::OnSendingPart(), CEDNeighbour::OnServerIdent(), CEDNeighbour::OnServerList(), CEDNeighbour::OnServerMessage(), CEDClients::OnServerStatus(), CEDClient::OnSourceAnswer(), CEDClient::OnSourceRequest(), CDownloadTransferBT::OnSourceResponse(), CDiscoveryService::OnSuccess(), CSystemWnd::OnSystemTest(), CSearchWnd::OnTimer(), CDonkeyServersDlg::OnTimer(), CDownloadsWnd::OnTransfersChat(), CDownloadTransferBT::OnUnchoked(), CUploadsWnd::OnUploadsChat(), CLibraryFile::OnVerifyDownload(), CNetwork::OnWinsock(), CWizardConnectionPage::OnWizardNext(), CUploadTransferED2K::OpenFile(), CUploadTransferBT::OpenFile(), CDownloadWithFile::OpenFile(), CUploadTransferHTTP::OpenFileSendHeaders(), CDownload::Pause(), CMediaFrame::PluginPlay(), CBTTrackerRequest::Process(), CVersionChecker::ProcessResponse(), CDatagrams::PurgeToken(), CHandshake::Push(), CDownloadSource::PushRequest(), CHandshakes::PushTo(), CUploadTransferHTTP::QueueRequest(), CEDTag::Read(), CHostBrowser::ReadContent(), CDownloadTransferHTTP::ReadContent(), CQueryHit::ReadEDPacket(), CDownloadTransferHTTP::ReadFlush(), CChatSession::ReadHandshake(), CChatSession::ReadPacketsED2K(), CUploadTransferHTTP::ReadRequest(), CShakeNeighbour::ReadResponse(), CHostBrowser::ReadResponseLine(), CDownloadTransferHTTP::ReadResponseLine(), CDownloadTransferHTTP::ReadTiger(), CUploadTransfer::Remove(), CTransfers::Remove(), CEDClient::Remove(), CDownload::Remove(), CDownloadWithSources::RemoveOverlappingSources(), CUploadTransferED2K::Request(), CUploadTransferHTTP::RequestHostBrowse(), CUploadTransferHTTP::RequestMetadata(), CUploadTransferHTTP::RequestPartialFile(), CUploadTransferHTTP::RequestPreview(), CUploadTransferHTTP::RequestSharedFile(), CUploadTransferHTTP::RequestTigerTreeDIME(), CUploadTransferHTTP::RequestTigerTreeRaw(), CDiscoveryServices::RequestWebCache(), CDownloadSource::ResolveURL(), CDownload::Resume(), CNeighboursWithRouting::RouteQuery(), CDownloadTask::RunCopySimple(), CDownloadTask::RunCopyTorrent(), CEDClients::RunGlobalStatsRequests(), CFilePreviewDlg::RunManual(), CDownloadTransferED2K::RunQueued(), CDownloadWithTorrent::RunTorrent(), CDiscoveryServices::RunWebCacheGet(), CDiscoveryServices::RunWebCacheUpdate(), CDatagrams::Send(), CDownloadTransferFTP::SendCommand(), CEDClient::SendCommentsPacket(), CCrawlSession::SendCrawl(), CDownloadTransferED2K::SendFragmentRequests(), CHostBrowser::SendPush(), CHostBrowser::SendRequest(), CDownloadTransferHTTP::SendRequest(), CDownloadTransferBT::SendRequests(), CDownloadTransferED2K::SendSecondaryRequest(), CDiscoveryServices::SendWebCacheRequest(), CUploadTransferBT::ServeRequests(), CUploadTransferBT::SetChoke(), CDownloadWithTiger::SetHashset(), CDownloadTransferED2K::SetQueueRank(), CDownloadWithTiger::SetTigerTree(), CScheduler::SetVariables(), CUploadQueue::Start(), CDownloadTransferHTTP::StartNextFragment(), CDownloadTransferFTP::StartNextFragment(), CUploadTransferED2K::StartNextRequest(), CHostBrowser::Stop(), CBitziDownloader::Stop(), CFileCopyDlg::StopOperation(), CTransfers::StopThread(), CLibraryBuilder::StopThread(), CLibrary::StopThread(), CLibraryTipCtrl::StopThread(), CLibraryThumbView::StopThread(), CChatCore::StopThread(), CDiscoveryServices::StopWebRequest(), CHostBrowser::StreamHTML(), CHostBrowser::StreamPacketsG1(), CLibraryFolder::ThreadScan(), TimeFromString(), CDatagrams::TryWrite(), CScheduler::Update(), CUploadQueues::Validate(), and CTransferFile::Write().

void CShareazaApp::PrintMessage int  nType,
LPCTSTR  pszLog
 

Definition at line 481 of file Shareaza.cpp.

References m_pSafeWnd, and WM_LOG.

Referenced by Message().

CMainWnd * CShareazaApp::SafeMainWnd  )  [static]
 

Definition at line 418 of file Shareaza.cpp.

References m_pSafeWnd, NULL, and theApp.

Referenced by CTransfers::OnCheckExit(), CHandshake::OnPush(), CNetwork::OnQueryHits(), CNetwork::OnQuerySearch(), and CChatSession::PostOpenWindow().

void CShareazaApp::WinHelp DWORD  dwData,
UINT  nCmd = HELP_CONTEXT
[virtual]
 

Definition at line 257 of file Shareaza.cpp.


Member Data Documentation

CShareazaApp::BYTE
 

Definition at line 62 of file Shareaza.h.

Referenced by GetVersionNumber().

CShareazaApp::COLORREF
 

Definition at line 62 of file Shareaza.h.

CShareazaApp::DWORD
 

Definition at line 67 of file Shareaza.h.

Referenced by GetVersionNumber(), and InternalURI().

CShareazaApp::LPMONITORINFO
 

Definition at line 63 of file Shareaza.h.

BOOL CShareazaApp::m_bLimitedConnections
 

Definition at line 49 of file Shareaza.h.

Referenced by InitResources(), CWizardInterfacePage::OnWizardNext(), and CWizardConnectionPage::OnWizardNext().

BOOL CShareazaApp::m_bLive
 

Definition at line 47 of file Shareaza.h.

Referenced by ExitInstance(), and InitInstance().

BOOL CShareazaApp::m_bMenuWasVisible
 

Definition at line 54 of file Shareaza.h.

Referenced by CCoolMenu::DrawMenuText(), CMediaFrame::OnLButtonDown(), and CMainWnd::OnTabMedia().

BOOL CShareazaApp::m_bNT
 

Definition at line 48 of file Shareaza.h.

Referenced by CRichViewCtrl::CopySelection(), CFragmentedFile::Create(), CDDEServer::Execute(), InitResources(), CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), CMainWnd::LocalSystemChecks(), CGnutellaSettingsPage::OnInitDialog(), CDownloadsSettingsPage::OnInitDialog(), CSplashDlg::OnInitDialog(), CDownloadDlg::OnInitDialog(), CDownloadsSettingsPage::OnOK(), CBitTorrentSettingsPage::OnOK(), CWizardInterfacePage::OnWizardNext(), CWizardConnectionPage::OnWizardNext(), CTransferFile::Open(), CDownloadTask::SafeFilename(), CURLCopyDlg::SetClipboardText(), CLibraryFile::ThreadScan(), and CRelatedSearch::Tokenise().

BOOL CShareazaApp::m_bRTL
 

Definition at line 53 of file Shareaza.h.

Referenced by CProtocolsSettingsPage::AddItem(), CSkinsSettingsPage::AddSkin(), CFileSourcesPage::AddSource(), CSkin::Apply(), CShellIcons::Clear(), CSettingsPage::Create(), CTaskBox::Create(), CSchemaCtrl::Create(), CMatchTipCtrl::Create(), CLibraryDetailView::Create(), CCoolTipCtrl::Create(), CSkin::CreateDefault(), CSettingsSheet::DoModal(), CSplashDlg::DoPaint(), CMonitorBarCtrl::DoPaint(), CLibraryHeaderPanel::DoPaint(), CFragmentBar::DrawFragment(), CSchemaCombo::DrawItem(), CNetworkCombo::DrawItem(), CFragmentBar::DrawStateBar(), CMatchTipCtrl::DrawText(), CLibraryMetaPanel::DrawText(), CLibraryHeaderPanel::DrawText(), CCoolTipCtrl::DrawText(), CCoolInterface::DrawWatermark(), CSkin::DrawWrappedText(), CPluginsSettingsPage::EnumerateGenericPlugins(), CLanguageDlg::Execute(), CShellIcons::ExtractIcon(), CLibraryView::GetHeaderContent(), CLibraryHomeView::GetHeaderContent(), InitResources(), CSchemaCtrl::Layout(), CSkin::LoadCommandBitmap(), CSkin::LoadCommandImages(), CSkin::LoadFromXML(), CSchema::LoadIcon(), CShellIcons::Lookup(), CSecurityWnd::OnCreate(), CSearchMonitorWnd::OnCreate(), CNeighboursWnd::OnCreate(), CMainWnd::OnCreate(), CHostCacheWnd::OnCreate(), CDiscoveryWnd::OnCreate(), CRichViewCtrl::OnCreate(), CSkinDialog::OnCreate(), CUploadsCtrl::OnCreate(), CNetworkCombo::OnCreate(), CMediaFrame::OnCreate(), CDownloadsCtrl::OnCreate(), CSecurityWnd::OnCustomDrawList(), CFileCommentsPage::OnDrawItem(), CConnectToDlg::OnDrawItem(), CSkinsSettingsPage::OnInitDialog(), CPluginsSettingsPage::OnInitDialog(), CFavouritesProfilePage::OnInitDialog(), CFileSourcesPage::OnInitDialog(), CURLExportDlg::OnInitDialog(), CTorrentSeedDlg::OnInitDialog(), CSkinDialog::OnInitDialog(), CQueuePropertiesDlg::OnInitDialog(), CFilePropertiesPage::OnInitDialog(), CFilePreviewDlg::OnInitDialog(), CFileCopyDlg::OnInitDialog(), CDownloadMonitorDlg::OnInitDialog(), CConnectToDlg::OnInitDialog(), CBitziDownloadDlg::OnInitDialog(), CSkinWindow::OnNcActivate(), CSkinWindow::OnNcHitTest(), CSkinWindow::OnNcLButtonDown(), CSkinWindow::OnNcLButtonUp(), CSkinWindow::OnNcMouseMove(), CSkinWindow::OnNcPaint(), CFilePropertiesPage::OnPaint(), CUploadsCtrl::OnPaint(), CMatchTipCtrl::OnPaint(), CMatchCtrl::OnPaint(), CLibraryTipCtrl::OnPaint(), CLibraryMetaPanel::OnPaint(), CLibraryAlbumView::OnPaint(), CDownloadTipCtrl::OnPaint(), CDownloadsCtrl::OnPaint(), CAlbumTipCtrl::OnPrepare(), CWndTabBar::OnRButtonUp(), CDownloadTabBar::OnRButtonUp(), CSearchPanel::OnSchemaChange(), CSearchWnd::OnSetCursor(), CMediaFrame::OnSetCursor(), CLibraryFrame::OnSetCursor(), CBrowseFrameCtrl::OnSetCursor(), CSkinWindow::OnSetText(), CPluginWnd::OnSkinChange(), CChildWnd::OnSkinChange(), CDownloadMonitorDlg::OnTimer(), CCoolBarCtrl::OnToolHitTest(), CFavouritesProfilePage::OnWebAdd(), CSkinWindow::Paint(), CRichFragment::Paint(), CMetaPanel::Paint(), CLibraryTreeItem::Paint(), CDownloadTabBar::TabItem::Paint(), CRemoteWnd::PaintStatus(), CMediaFrame::PaintStatus(), CMediaFrame::PaintStatusMicro(), CSkinWindow::Parse(), CSkinWindow::PreBlend(), CRichElement::PrePaintBitmap(), CRichElement::PrePaintIcon(), CSkinWindow::Prepare(), CMediaFrame::Prepare(), CHomeSearchCtrl::Setup(), CCoolMenu::SetWatermark(), CCoolMenuBarCtrl::ShowMenu(), CSkinDialog::SkinMe(), CSettings::SmartVolume(), CCoolBarCtrl::ThrowMenu(), CSkin::Translate(), CSecurityWnd::Update(), CNeighboursWnd::Update(), CHostCacheWnd::Update(), CLibraryMetaPanel::Update(), CHomeViewCtrl::Update(), CAdvancedSettingsPage::UpdateItem(), CSearchWnd::UpdateMessages(), and CBrowseHostWnd::UpdateMessages().

CCriticalSection CShareazaApp::m_csMessage [protected]
 

Definition at line 70 of file Shareaza.h.

Referenced by Message().

DWORD CShareazaApp::m_dwWindowsVersion
 

Definition at line 50 of file Shareaza.h.

Referenced by CBENode::DecodeString(), CLanguageDlg::Execute(), CBENode::GetString(), InitResources(), CCoolTipCtrl::ShowImpl(), and CMatchTipCtrl::ShowInternal().

DWORD CShareazaApp::m_dwWindowsVersionMinor
 

Definition at line 51 of file Shareaza.h.

Referenced by InitResources().

CFont CShareazaApp::m_gdiFont
 

Definition at line 43 of file Shareaza.h.

Referenced by CSettingsPage::Create(), CNeighboursWnd::DrawEmptyMessage(), CMatchCtrl::DrawEmptyMessage(), CSchemaCombo::DrawItem(), CNetworkCombo::DrawItem(), CMatchCtrl::DrawItem(), CRichViewCtrl::FullHeightMove(), InitResources(), CSettingsSheet::Layout(), CWizardSheet::OnChildNotify(), CSecurityWnd::OnCreate(), CSearchPadWnd::OnCreate(), CSearchMonitorWnd::OnCreate(), CPacketWnd::OnCreate(), CNeighboursWnd::OnCreate(), CHostCacheWnd::OnCreate(), CDiscoveryWnd::OnCreate(), CBaseMatchWnd::OnCreate(), CUploadsCtrl::OnCreate(), CSearchAdvancedBox::OnCreate(), CSearchInputBox::OnCreate(), CMatchCtrl::OnCreate(), CLibraryFrame::OnCreate(), CHomeSearchCtrl::OnCreate(), CDownloadsCtrl::OnCreate(), CChatFrame::OnCreate(), CFileCommentsPage::OnDrawItem(), CGraphItemDlg::OnDrawItem(), CConnectToDlg::OnDrawItem(), CSettingsSheet::OnInitDialog(), CWizardSheet::OnInitDialog(), CFilePropertiesSheet::OnInitDialog(), CRichViewCtrl::OnPaint(), CUploadsCtrl::OnPaint(), CSearchResultsBox::OnPaint(), CSchemaCtrl::OnPaint(), CIconButtonCtrl::OnPaint(), CDownloadsCtrl::OnPaint(), CLineGraph::Paint(), CPanelWnd::PaintCaption(), CUploadsCtrl::PaintQueue(), and CSchemaCtrl::SetSchema().

CFont CShareazaApp::m_gdiFontBold
 

Definition at line 44 of file Shareaza.h.

Referenced by CSplashDlg::DoPaint(), CSchemaCombo::DrawItem(), CNetworkCombo::DrawItem(), CMatchCtrl::DrawItem(), CSearchDetailPanel::DrawThumbnail(), InitResources(), CBandwidthSettingsPage::OnCtlColor(), CWarningsDlg::OnCtlColor(), CPromoteDlg::OnCtlColor(), CExistingFileDlg::OnCtlColor(), CDownloadMonitorDlg::OnCtlColor(), CDeleteFileDlg::OnCtlColor(), CAboutDlg::OnCtlColor(), CFileCommentsPage::OnDrawItem(), CWizardInterfacePage::OnInitDialog(), CSearchResultsBox::OnPaint(), CTaskBox::PaintBorders(), and CUploadsCtrl::PaintQueue().

CFont CShareazaApp::m_gdiFontLine
 

Definition at line 45 of file Shareaza.h.

Referenced by CMatchCtrl::DrawEmptyMessage(), CSearchDetailPanel::DrawThumbnail(), InitResources(), CSkinsSettingsPage::OnCtlColor(), CRemoteSettingsPage::OnCtlColor(), CNetworksSettingsPage::OnCtlColor(), CWarningsDlg::OnCtlColor(), CURLCopyDlg::OnCtlColor(), CPromoteDlg::OnCtlColor(), CFolderPropertiesDlg::OnCtlColor(), CDownloadEditDlg::OnCtlColor(), CBitziDownloadDlg::OnCtlColor(), and CAboutDlg::OnCtlColor().

HINSTANCE CShareazaApp::m_hGDI32
 

Definition at line 66 of file Shareaza.h.

Referenced by InitResources().

HINSTANCE CShareazaApp::m_hUser32
 

Definition at line 61 of file Shareaza.h.

Referenced by ExitInstance(), and InitResources().

int CShareazaApp::m_nDefaultFontSize
 

Definition at line 56 of file Shareaza.h.

Referenced by CCoolInterface::CreateFonts(), CRichSettingsPage::CRichSettingsPage(), CTextCtrl::CTextCtrl(), InitResources(), CRichDocument::LoadXMLStyles(), CSearchPadWnd::OnCreate(), CPacketWnd::OnCreate(), CHomeLibraryBox::OnCreate(), CHomeDownloadsBox::OnCreate(), and CLanguageDlg::OnInitDialog().

QWORD CShareazaApp::m_nPhysicalMemory
 

Definition at line 52 of file Shareaza.h.

Referenced by InitResources(), CNeighboursWithConnect::IsG1UltrapeerCapable(), and CNeighboursWithConnect::IsG2HubCapable().

WORD CShareazaApp::m_nVersion[4]
 

Definition at line 41 of file Shareaza.h.

Referenced by CDownloadWithTorrent::GenerateTorrentDownloadID(), GetVersionNumber(), CEDNeighbour::OnConnected(), CG1Neighbour::OnVendor(), and CEDClient::SendHello().

CMutex CShareazaApp::m_pMutex
 

Definition at line 39 of file Shareaza.h.

Referenced by InitInstance().

CWnd* CShareazaApp::m_pSafeWnd
 

Definition at line 46 of file Shareaza.h.

Referenced by CMainWnd::CMainWnd(), CFileExecutor::GetLibraryWindow(), CFileExecutor::GetMediaWindow(), InternalURI(), CMainWnd::OnClose(), CUploads::OnRename(), PrintMessage(), SafeMainWnd(), CPacket::SmartDump(), and CMainWnd::~CMainWnd().

CMutex CShareazaApp::m_pSection
 

Definition at line 40 of file Shareaza.h.

Referenced by CWindowManager::ActivateGrouped(), CWindowManager::Add(), CWindowManager::Cascade(), CWindowManager::Close(), CWindowManager::Find(), CTransfers::OnCheckExit(), CHandshake::OnPush(), CNetwork::OnQueryHits(), CNetwork::OnQuerySearch(), CUploads::OnRename(), CWindowManager::Open(), CRemote::PageNewSearch(), CRemote::PageSearch(), CWindowManager::Remove(), and CPacket::SmartDump().

CString CShareazaApp::m_sDefaultFont
 

Definition at line 57 of file Shareaza.h.

Referenced by CCoolInterface::CreateFonts(), CRichSettingsPage::CRichSettingsPage(), InitResources(), CRichDocument::LoadXMLStyles(), CSearchPadWnd::OnCreate(), CHomeLibraryBox::OnCreate(), CHomeDownloadsBox::OnCreate(), and CLanguageDlg::OnInitDialog().

CString CShareazaApp::m_sPacketDumpFont
 

Definition at line 58 of file Shareaza.h.

Referenced by InitResources(), and CPacketWnd::OnCreate().

CString CShareazaApp::m_sSystemLogFont
 

Definition at line 59 of file Shareaza.h.

Referenced by CTextCtrl::CTextCtrl(), and InitResources().

CString CShareazaApp::m_sVersion
 

Definition at line 42 of file Shareaza.h.

Referenced by CVersionChecker::BuildRequest(), CSplashDlg::CSplashDlg(), GetVersionNumber(), CVersionChecker::NeedToCheck(), CDatagrams::OnCrawlRequest(), CMainWnd::OnHelpHomepage(), CMainWnd::OnHelpUpdate(), CAboutDlg::OnInitDialog(), CAboutDlg::OnLButtonDown(), CWarningsDlg::OnLButtonUp(), CPromoteDlg::OnLButtonUp(), CPluginsSettingsPage::OnPluginsWeb(), CSkinsSettingsPage::OnSkinsWeb(), CUploadTransferHTTP::SendResponse(), CDiscoveryServices::SendWebCacheRequest(), CSystemWnd::ShowStartupText(), and CSettings::SmartAgent().

TCHAR CShareazaApp::szMessageBuffer [static, protected]
 

Definition at line 429 of file Shareaza.cpp.

Referenced by Message().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:12 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2