⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wxcascte.cpp

📁 Linux系统下的P2P协议下载客户端
💻 CPP
字号:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Name:         wxCasCte Structure////// Purpose:      Store constants used in wxCas application////// Author:       ThePolish <thepolish@vipmail.ru>////// Copyright (C) 2004 by ThePolish////// Derived from CAS by Pedro de Oliveira <falso@rdk.homeip.net>////// Pixmats from aMule http://www.amule.org////// This program 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.////// This program 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 this program; if not, write to the/// Free Software Foundation, Inc.,/// 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////#ifdef __GNUG__#pragma implementation "wxcascte.h"#endif// For compilers that support precompilation#include "wx/wxprec.h"#ifdef __BORLANDC__#pragma hdrstop#endif#include <wx/filename.h>#include "wxcascte.h"const wxStringWxCasCte::AMULESIG_FILENAME ( wxT( "amulesig.dat" ) );const wxStringWxCasCte::AMULESIG_IMG_NAME ( wxT( "aMule-online-sign" ) );// Refresh rate limitsconst wxUint32WxCasCte::MIN_REFRESH_RATE = 1;const wxUint32WxCasCte::MAX_REFRESH_RATE = 3600;// FTP update limitsconst wxUint32WxCasCte::MIN_FTP_RATE = 1;const wxUint32WxCasCte::MAX_FTP_RATE = 1440;// Key config namesconst wxStringWxCasCte::AMULESIG_PATH_KEY ( wxT( "OSDirectory" ) );const wxStringWxCasCte::REFRESH_RATE_KEY ( wxT( "RefreshRate" ) );const wxStringWxCasCte::ENABLE_AUTOSTATIMG_KEY ( wxT( "EnableAutoStatImg" ) );const wxStringWxCasCte::AUTOSTATIMG_DIR_KEY ( wxT( "StatImgDirectory" ) );const wxStringWxCasCte::AUTOSTATIMG_TYPE_KEY ( wxT( "StatImgType" ) );const wxStringWxCasCte::ENABLE_FTP_UPDATE_KEY( wxT( "EnableFtpUpdate" ) );const wxStringWxCasCte::FTP_UPDATE_RATE_KEY ( wxT( "FtpUpdateRate" ) );const wxStringWxCasCte::FTP_URL_KEY ( wxT( "FtpUrl" ) );const wxStringWxCasCte::FTP_PATH_KEY ( wxT( "FtpPath" ) );const wxStringWxCasCte::FTP_USER_KEY ( wxT( "FtpUser" ) );const wxStringWxCasCte::FTP_PASSWD_KEY ( wxT( "FtpPasswd" ) );const wxStringWxCasCte::ABSOLUTE_MAX_DL_KEY ( wxT( "AbsoluteMaxDL" ) );const wxStringWxCasCte::ABSOLUTE_MAX_DL_DATE_KEY ( wxT( "AbsoluteMaxDlDate" ) );// Default config parametersconst wxStringWxCasCte::DEFAULT_AMULESIG_PATH ( wxFileName::GetHomeDir () +                                  wxFileName::GetPathSeparator () + wxT( ".aMule" ) );const wxUint32WxCasCte::DEFAULT_REFRESH_RATE = 5;const boolWxCasCte::DEFAULT_AUTOSTATIMG_ISENABLED = FALSE;const wxStringWxCasCte::DEFAULT_AUTOSTATIMG_PATH ( wxFileName::GetHomeDir () );const wxStringWxCasCte::DEFAULT_AUTOSTATIMG_TYPE ( wxT( "PNG" ) );const boolWxCasCte::DEFAULT_FTP_UPDATE_ISENABLED = FALSE;const wxUint32WxCasCte::DEFAULT_FTP_UPDATE_RATE = 10;const wxStringWxCasCte::DEFAULT_FTP_URL( wxT( "ftp.myftp.cx" ) );const wxStringWxCasCte::DEFAULT_FTP_PATH( wxT( "/pub/myamuledir" ) );const wxStringWxCasCte::DEFAULT_FTP_USER( wxT( "anonymous" ) );const wxStringWxCasCte::DEFAULT_FTP_PASSWD( wxT( "whiterabit@here" ) );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -