资源简介
一款在国外评价极高并且相当流行的P2P软件(简称Raza),它集合了eDonkey、Guntella(1和2)和BT四种流行P2P网络类型,并可以用于Http下载,在以后的版本将会支持FTP下载,由于其优秀的界面(支持换肤)、简洁的操作以及极强的可制定性,所以在国外广为流传,其评价已跃居所有P2P软件的前5之列,并且许多P2P的下载站点已将其指定为BT的官方下载工具! Raza为完全免费的软件,并且官方承诺保证不含有任何间谍软件和广告软件,如果您发现任何可疑问题,请向官方报告。其官方网址为http://www.shareaza.com/ Shareaza的目标是让用户使用一款软件即可在所有P2
代码片段和文件信息
//
// AlbumFolder.cpp
//
// Copyright (c) Shareaza Development Team 2002-2005.
// This file is part of SHAREAZA (www.shareaza.com)
//
// Shareaza is free software; you can redistribute it
// and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 of
// the License or (at your option) any later version.
//
// Shareaza is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Shareaza; if not write to the Free Software
// Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA
//
#include “StdAfx.h“
#include “Shareaza.h“
#include “Library.h“
#include “SharedFile.h“
#include “AlbumFolder.h“
#include “CollectionFile.h“
#include “Schema.h“
#include “SchemaChild.h“
#include “SchemaCache.h“
#include “ShellIcons.h“
#include “xml.h“
#include “SHA.h“
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNAMIC(CAlbumFolder CComobject)
//////////////////////////////////////////////////////////////////////
// CAlbumFolder construction
CAlbumFolder::CAlbumFolder(CAlbumFolder* pParent LPCTSTR pszSchemaURI LPCTSTR pszName BOOL bAutoDelete)
{
m_pParent = pParent;
m_sSchemaURI = pszSchemaURI ? pszSchemaURI : NULL;
m_pSchema = pszSchemaURI ? SchemaCache.Get( pszSchemaURI ) : NULL;
m_pxml = NULL;
if ( pszName > (LPCTSTR)1 )
{
m_sName = pszName;
}
else if ( pszName != (LPCTSTR)1 )
{
if ( m_pSchema != NULL )
{
int nColon = m_pSchema->m_stitle.Find( ‘:‘ );
if ( nColon >= 0 ) m_sName = m_pSchema->m_stitle.Mid( nColon + 1 ).Trim();
}
if ( m_sName.IsEmpty() ) m_sName = _T(“New Folder“);
}
m_bExpanded = pParent == NULL || pParent->m_pParent == NULL;
m_bAutoDelete = bAutoDelete;
m_nUpdateCookie = 0;
m_nSelectCookie = 0;
m_nListCookie = 0;
m_pCollection = NULL;
RenewGUID();
}
CAlbumFolder::~CAlbumFolder()
{
Clear();
}
void CAlbumFolder::RenewGUID()
{
CoCreateGuid( reinterpret_cast< GUID* > ( m_oGUID.begin() ) );
m_oGUID.validate();
}
//////////////////////////////////////////////////////////////////////
// CAlbumFolder folder list
CAlbumFolder* CAlbumFolder::AddFolder(LPCTSTR pszSchemaURI LPCTSTR pszName BOOL bAutoDelete)
{
if ( pszSchemaURI == NULL && m_pSchema != NULL )
{
pszSchemaURI = m_pSchema->GetContainedURI( CSchema::stFolder );
}
if ( pszSchemaURI == NULL ) pszSchemaURI = CSchema::uriFolder;
CAlbumFolder* pFolder = new CAlbumFolder( this pszSchemaURI pszName bAutoDelete );
m_pFolders.AddTail( pFolder );
return pFolder;
}
POSITION CAlbumFolder::GetFolderIterator() const
{
return
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..AD... 0 2007-03-08 00:26 20072211028005\Templates\Audio Collection
..AD... 0 2006-12-23 22:37 20072211028005\shareaza\augment
..AD... 0 2006-12-23 22:40 20072211028005\Templates\Basic Collection
..AD... 0 2006-12-23 22:40 20072211028005\Data
文件 9662 2006-06-25 16:32 20072211028005\shareaza\Doxyfile
..AD... 0 2006-12-23 22:37 20072211028005\shareaza\FileFragments
..AD... 0 2006-12-23 22:41 20072211028005\Templates\General Purple Collection
..AD... 0 2006-12-23 22:37 20072211028005\shareaza\Hashes
..AD... 0 2006-12-23 22:41 20072211028005\Templates\Video Collection\images
..AD... 0 2006-12-23 22:37 20072211028005\shareaza\RegExp
..AD... 0 2006-12-23 22:42 20072211028005\Schemas
..AD... 0 2007-03-08 00:26 20072211028005\Templates
..AD... 0 2007-03-08 00:26 20072211028005\vc7_1
..AD... 0 2006-12-23 22:37 20072211028005\vc8_0
..AD... 0 2006-12-23 22:41 20072211028005\Templates\Video Collection
文件 27178 2006-06-25 16:31 20072211028005\shareaza\zlib\gvmat32.asm
文件 16378 2006-06-25 16:31 20072211028005\shareaza\zlib\inffas32.asm
文件 11963 2006-06-25 16:31 20072211028005\shareaza\asm\MD4_asm.asm
文件 15305 2006-06-25 16:31 20072211028005\shareaza\asm\MD5_asm.asm
文件 13788 2006-06-25 16:31 20072211028005\shareaza\asm\SHA_asm.asm
文件 93681 2006-06-25 16:31 20072211028005\shareaza\asm\Tiger_asm.asm
..AD... 0 2006-12-23 22:37 20072211028005\shareaza\asm
文件 448 2006-07-25 23:22 20072211028005\vc7_1\CopyFiles.bat
文件 448 2006-06-12 13:39 20072211028005\vc8_0\CopyFiles.bat
文件 7444 2006-06-25 16:30 20072211028005\shareaza\Res\BannerMark.bmp
文件 2008 2006-06-25 16:30 20072211028005\shareaza\Res\Childfr
文件 374 2006-06-25 16:30 20072211028005\shareaza\Res\ColourDot.bmp
文件 13112 2006-06-11 14:55 20072211028005\Data\Emoticons.bmp
文件 1846 2006-06-25 16:30 20072211028005\shareaza\Res\Folders.bmp
文件 1380 2006-06-25 16:30 20072211028005\shareaza\Res\FoldersV2.bmp
............此处省略1087个文件信息
评论
共有 条评论