00001
00002
00003
00004
00005
00006 #if !defined(AFX_FSAPPSETTINGS_H__33EC2FD8_44AF_484F_AC12_A498B479BD50__INCLUDED_)
00007 #define AFX_FSAPPSETTINGS_H__33EC2FD8_44AF_484F_AC12_A498B479BD50__INCLUDED_
00008
00009 #include "vmsAppSettingsStore.h"
00010 #include "DownloadProperties.h"
00011 #include "fsDownloadsMgr.h"
00012 #include "fsWebPageDownloader.h"
00013 #include "DownloadsWnd.h"
00014 #if _MSC_VER > 1000
00015 #pragma once
00016 #endif
00017
00018 enum vmsSpreadHelpRemind
00019 {
00020 SHR_NEXTSTART,
00021 SHR_IN3DAYS,
00022 SHR_NEVER,
00023 SHR_WAIT1STTIME,
00024 };
00025
00026 enum vmsAutoUpdateType
00027 {
00028 AUT_DLANDINST,
00029 AUT_NOTIFYONLY,
00030 AUT_TURNOFF,
00031 };
00032
00033 #define MONITOR_USERSWITCHEDON_IE 1
00034 #define MONITOR_USERSWITCHEDON_FIREFOX 2
00035 #define MONITOR_USERSWITCHEDON_OPERA 4
00036 #define MONITOR_USERSWITCHEDON_NETSCAPE 8
00037 #define MONITOR_USERSWITCHEDON_SEAMONKEY 16
00038
00039 enum vmsNewGroupSelectWay
00040 {
00041 NGSW_CHOOSE_BY_EXT,
00042 NGSW_USE_ALWAYS_SAME_GROUP,
00043 NGSW_USE_ALWAYS_SAME_GROUP_WITH_OUTFOLDER_AUTO_UPDATE,
00044 };
00045
00046 class fsAppSettings
00047 {
00048 public:
00049 void Community_MalReportsMinPerc (int);
00050 int Community_MalReportsMinPerc();
00051 void View_MoreTabs (BOOL b);
00052 BOOL View_MoreTabs();
00053 void Bittorrent_DisableSeedingByDef (BOOL b);
00054 BOOL Bittorrent_DisableSeedingByDef();
00055 void View_NOMShown (BOOL b);
00056 BOOL View_NOMShown();
00057 void TotalUpldTraffic_PrevMonth (UINT64 u);
00058 UINT64 TotalUpldTraffic_PrevMonth();
00059 void TotalUpldTraffic (UINT64 u);
00060 UINT64 TotalUpldTraffic();
00061 void View_AutoSwitchToMediaPreview (BOOL b);
00062 BOOL View_AutoSwitchToMediaPreview();
00063 void FVDownloads_AutoConvertVideo (BOOL b);
00064 BOOL FVDownloads_AutoConvertVideo();
00065 void Convert_Extension (LPCSTR psz);
00066 CString Convert_Extension();
00067 void Convert_VideoCodec (LPCSTR psz);
00068 CString Convert_VideoCodec();
00069 void Convert_AudioCodec (LPCSTR psz);
00070 CString Convert_AudioCodec();
00071 void Convert_VideoBitrate (int n);
00072 int Convert_VideoBitrate();
00073 void Convert_AudioBitrate (int n);
00074 int Convert_AudioBitrate();
00075 void Convert_VideoSize (CSize sz);
00076 CSize Convert_VideoSize();
00077 void Convert_Format (LPCSTR psz);
00078 CString Convert_Format();
00079 void View_CreateFVDownload_SetupAdvStgs (BOOL b);
00080 BOOL View_CreateFVDownload_SetupAdvStgs();
00081 void WriteTranslatedStringToRegistry (LPCSTR pszStringId, LPCSTR pszString);
00082 void Monitor_IEMenu_DLFlashVideo (BOOL b);
00083 BOOL Monitor_IEMenu_DLFlashVideo();
00084 void NewGrp_SelectWay (vmsNewGroupSelectWay en);
00085 vmsNewGroupSelectWay NewGrp_SelectWay();
00086 void View_DontAskEnableBittorrent (BOOL b);
00087 BOOL View_DontAskEnableBittorrent();
00088 void DataFolder (LPCSTR psz);
00089 CString DataFolder();
00090 void View_AskRemoveFromAutostartAtAppExit (BOOL b);
00091 BOOL View_AskRemoveFromAutostartAtAppExit();
00092 void Bittorrent_OldTorrentAssociation (LPCSTR psz);
00093 CString Bittorrent_OldTorrentAssociation();
00094 void Bittorrent_EnableDHT (BOOL b);
00095 BOOL Bittorrent_EnableDHT();
00096 void Bittorrent_ListenPort_To (int);
00097 int Bittorrent_ListenPort_To();
00098 void Bittorrent_ListenPort_From (int);
00099 int Bittorrent_ListenPort_From();
00100 void Bittorrent_UploadConnectionLimit (int mode, int limit);
00101 int Bittorrent_UploadConnectionLimit(int mode);
00102 void Bittorrent_UploadTrafficLimit (int mode, int limit);
00103 int Bittorrent_UploadTrafficLimit(int mode);
00104 void Bittorrent_Enable (BOOL b);
00105 BOOL Bittorrent_Enable();
00106 void View_UploadsLog (BOOL b);
00107 BOOL View_UploadsLog();
00108
00109 void View_DownloadsGroups_SelectedFilterId (int i);
00110 int View_DownloadsGroups_SelectedFilterId();
00111 void View_SetOutputFolderAsDefForAllGrpsChecked (BOOL b);
00112 BOOL View_SetOutputFolderAsDefForAllGrpsChecked();
00113 int FirefoxSettings_Proxy_Port (LPCSTR pszProtocol);
00114 CString FirefoxSettings_Proxy_Addr (LPCSTR pszProtocol);
00115 int FirefoxSettings_Proxy_Type();
00116 void Download_IntegrityCheckFailedReaction (int i);
00117 int Download_IntegrityCheckFailedReaction();
00118 void Download_CheckIntegrityWhenDone (BOOL b);
00119 BOOL Download_CheckIntegrityWhenDone();
00120 void Monitor_SkipServers (LPCSTR psz);
00121 CString Monitor_SkipServers();
00122 void Notif_DisableForBatchDownloads (BOOL b);
00123 BOOL Notif_DisableForBatchDownloads();
00124 void View_DropBoxIntro (BOOL b);
00125 BOOL View_DropBoxIntro();
00126 vmsAppSettingsStore* get_SettingsStore();
00127 void Update_AutoUpdateType (vmsAutoUpdateType en);
00128 vmsAutoUpdateType Update_AutoUpdateType();
00129 void Scheduler_LastTask_ProgArgs (LPCSTR psz);
00130 CString Scheduler_LastTask_ProgArgs();
00131 void Scheduler_LastTask_ProgName (LPCSTR psz);
00132 CString Scheduler_LastTask_ProgName();
00133 void Scheduler_LastTask_read (fsSchedule* task);
00134 void Scheduler_LastTask_save (fsSchedule* task);
00135 void Monitor_UserSwitchedOn (DWORD dw);
00136 DWORD Monitor_UserSwitchedOn();
00137 void LowSpeed_Factor (WORD w);
00138 WORD LowSpeed_Factor();
00139 void LowSpeed_Duration (WORD w);
00140 WORD LowSpeed_Duration();
00141 void DNPFlags (DWORD dw);
00142 DWORD DNPFlags();
00143 void Monitor_IEMenu_Enable (BOOL b);
00144 BOOL Monitor_IEMenu_Enable();
00145 void View_LastDldMoveToFolder (LPCSTR psz);
00146 CString View_LastDldMoveToFolder();
00147 void Monitor_Firefox (BOOL b);
00148 BOOL Monitor_Firefox();
00149 void FileWriteCacheSize (DWORD dw);
00150 DWORD FileWriteCacheSize();
00151 void Community_DisplayOpinionsAtDlding (BOOL b);
00152 BOOL Community_DisplayOpinionsAtDlding();
00153 void Community_CheckIfMalBeforeDlding (BOOL b);
00154 BOOL Community_CheckIfMalBeforeDlding();
00155 void View_DontShowMalOpinionOKReport (BOOL b);
00156 BOOL View_DontShowMalOpinionOKReport();
00157 void ModifyIEUserAgent (BOOL b);
00158 BOOL ModifyIEUserAgent();
00159 void Community_SwitchToOpinions (BOOL b);
00160 BOOL Community_SwitchToOpinions();
00161 void View_SpreadHelpDialog_RadioButton2Text (LPCSTR psz);
00162 CString View_SpreadHelpDialog_RadioButton2Text();
00163 void View_SpreadHelpDialog_RadioButton1Text (LPCSTR psz);
00164 CString View_SpreadHelpDialog_RadioButton1Text();
00165 void View_SpreadHelpDialog_LinkToUsText (LPCSTR psz);
00166 CString View_SpreadHelpDialog_LinkToUsText();
00167 void Monitor_MozillaSuitePDInstalledTo (LPCSTR psz);
00168 CString Monitor_MozillaSuitePDInstalledTo();
00169 void App_2_0_SchedulerFixPerformed (BOOL b);
00170 BOOL App_2_0_SchedulerFixPerformed();
00171 void CreateBD_SaveAs_Template (LPCSTR psz);
00172 CString CreateBD_SaveAs_Template();
00173 void View_DontShowHashCheckResultIfOK (BOOL b);
00174 BOOL View_DontShowHashCheckResultIfOK();
00175 void Hash_LastAlgorithm (LPCSTR psz);
00176 CString Hash_LastAlgorithm();
00177 void DontShowInstallAP (BOOL b);
00178 BOOL DontShowInstallAP();
00179 BOOL IsArchivePackInstalled();
00180 void WD_DisableAfterExec (BOOL b);
00181 BOOL WD_DisableAfterExec();
00182 void TotalTraffic_CurrMonth (int i);
00183 int TotalTraffic_CurrMonth();
00184 void TotalTraffic_PrevMonth (UINT64 u);
00185 UINT64 TotalTraffic_PrevMonth();
00186 void TotalTraffic (UINT64 u);
00187 UINT64 TotalTraffic();
00188 void CreateBD_LastNumbers (LPCSTR psz);
00189 CString CreateBD_LastNumbers();
00190 void ConfTimeout_Exit (UINT u);
00191 UINT ConfTimeout_Exit();
00192 void ConfTimeout_Shutdown (UINT u);
00193 UINT ConfTimeout_Shutdown();
00194 void ConfTimeout_LaunchDld (UINT u);
00195 UINT ConfTimeout_LaunchDld();
00196 void ConfTimeout_Hangup (UINT u);
00197 UINT ConfTimeout_Hangup();
00198 void OnDlHasBeenCreatedByUser();
00199 void NumberOfDlCreatesByUser (int i);
00200 int NumberOfDlCreatesByUser();
00201 void DownloadDialog_DontAskOnHide (BOOL b);
00202 BOOL DownloadDialog_DontAskOnHide();
00203 void DownloadDialog_Use (BOOL b);
00204 BOOL DownloadDialog_Use();
00205 void DownloadDialog_AutoClose (BOOL b);
00206 BOOL DownloadDialog_AutoClose();
00207 void Export_Hist_Append (BOOL b);
00208 BOOL Export_Hist_Append();
00209 void Export_Hist_CompletedOnly (BOOL b);
00210 BOOL Export_Hist_CompletedOnly();
00211 void Export_WhichHist (int i);
00212 int Export_WhichHist();
00213 void DontSaveLogs (BOOL b);
00214 BOOL DontSaveLogs();
00215 void WD_LastShutdownType_DontAsk (BOOL b);
00216 BOOL WD_LastShutdownType_DontAsk();
00217 void WD_LastShutdownType (int enType);
00218 int WD_LastShutdownType ();
00219 void CreateBD_LastAtoZ (DWORD dw);
00220 DWORD CreateBD_LastAtoZ ();
00221 void DldListDlg_Filter_LastExtsRemove (BOOL b);
00222 BOOL DldListDlg_Filter_LastExtsRemove();
00223 void DldListDlg_Filter_LastExts (LPCSTR psz);
00224 CString DldListDlg_Filter_LastExts();
00225 void View_TUMChanged (BOOL b);
00226 BOOL View_TUMChanged();
00227 void View_GCVButton (BOOL b);
00228 BOOL View_GCVButton();
00229 void View_SpreadHelpDialog_LastTimeShown_save (FILETIME& time);
00230 BOOL View_SpreadHelpDialog_LastTimeShown (FILETIME& time);
00231 void View_SpreadHelpDialog (vmsSpreadHelpRemind en);
00232 vmsSpreadHelpRemind View_SpreadHelpDialog();
00233 void FilesToDelete_save (CStringList& v);
00234 BOOL FilesToDelete (CStringList& v);
00235 void NewDL_GenerateNameAutomatically (BOOL b);
00236 BOOL NewDL_GenerateNameAutomatically();
00237 void Mirr_Server (int i);
00238 int Mirr_Server ();
00239 void FloatingWndsHideInFSMode (BOOL b);
00240 BOOL FloatingWndsHideInFSMode();
00241 void SM_DontSavePwdsToDisk (BOOL b);
00242 BOOL SM_DontSavePwdsToDisk();
00243 void SM_PwdsManualAddition (BOOL b);
00244 BOOL SM_PwdsManualAddition();
00245 void SM_KeepPasswords (BOOL b);
00246 BOOL SM_KeepPasswords();
00247 void Skin_Flags (DWORD dw);
00248 DWORD Skin_Flags();
00249 void Skin_Current (CString str);
00250 CString Skin_Current();
00251 void CheckHistorySize (BOOL b);
00252 BOOL CheckHistorySize();
00253 void CheckRecycleBinSize (BOOL b);
00254 BOOL CheckRecycleBinSize();
00255 void Monitor_SkipSmaller (int iSize);
00256 int Monitor_SkipSmaller ();
00257 void RollBackSize (WORD w);
00258 WORD RollBackSize();
00259 void NewDL_UseZIPPreview (BOOL b);
00260 BOOL NewDL_UseZIPPreview();
00261 void NewDL_AutoStart (BOOL b);
00262 BOOL NewDL_AutoStart();
00263 DWORD Spider_Flags();
00264 void Spider_Flags (DWORD dw);
00265 void DownloadFlags (DWORD dw);
00266 DWORD DownloadFlags();
00267 void MP_Volume (int i);
00268 int MP_Volume();
00269 void MP_Mute (BOOL b);
00270 BOOL MP_Mute();
00271 void UseZipPreview (BOOL b);
00272 BOOL UseZipPreview();
00273 UINT64 Find_FileSizeTo();
00274 void Find_FileSizeTo (UINT64 u);
00275 void Find_FileSizeFrom (UINT64 u);
00276 UINT64 Find_FileSizeFrom();
00277 FILETIME Find_TimeTo();
00278 void Find_TimeTo (FILETIME &t);
00279 FILETIME Find_TimeFrom();
00280 void Find_TimeFrom (FILETIME &t);
00281 void Find_GroupId (UINT n);
00282 UINT Find_GroupId();
00283 void Find_Flags (DWORD dw);
00284 DWORD Find_Flags();
00285 CString Find_What();
00286 void Find_What (LPCSTR psz);
00287 void History_Downloads_CompletedOnly (BOOL b);
00288 BOOL History_Downloads_CompletedOnly ();
00289 void History_Downloads_KeepDays (UINT u);
00290 UINT History_Downloads_KeepDays();
00291 void History_Downloads_Use (BOOL b);
00292 BOOL History_Downloads_Use();
00293 void Deleted_BypassCompleted (BOOL b);
00294 BOOL Deleted_BypassCompleted();
00295 void Deleted_ConfirmDeletion (BOOL b);
00296 BOOL Deleted_ConfirmDeletion();
00297 void Deleted_MaxCount (UINT u);
00298 UINT Deleted_MaxCount();
00299 void Deleted_Bypass (BOOL b);
00300 BOOL Deleted_Bypass ();
00301 void View_DWWN (fsDLsWndWhatIsNow en);
00302 fsDLsWndWhatIsNow View_DWWN();
00303 void Export_Append (BOOL b);
00304 BOOL Export_Append();
00305 void Export_DontExpCompleted (BOOL b);
00306 BOOL Export_DontExpCompleted();
00307 void Export_WhichDlds (int i);
00308 int Export_WhichDlds();
00309 void History_FoldersOnly (BOOL b);
00310 BOOL History_FoldersOnly();
00311 int History_MaxRecords();
00312 void History_MaxRecords (int i);
00313
00314 void History_KeepDays (int i);
00315 int History_KeepDays();
00316 BOOL History_Use();
00317 void History_Use (BOOL b);
00318 void Snd_Use (BOOL b);
00319 BOOL Snd_Use();
00320 void Snd_DownloadFailed (LPCSTR psz);
00321 CString Snd_DownloadFailed();
00322 void Snd_DialingFailed (LPCSTR psz);
00323 CString Snd_DialingFailed();
00324 void Snd_DialingOK (LPCSTR psz);
00325 CString Snd_DialingOK();
00326 void Snd_NoActiveDownloads (LPCSTR psz);
00327 CString Snd_NoActiveDownloads();
00328 void Snd_DownloadAdded (LPCSTR psz);
00329 CString Snd_DownloadAdded();
00330 void Snd_DownloadComplete (LPCSTR psz);
00331 CString Snd_DownloadComplete();
00332 BOOL Monitor_IEMenu_DLSelected();
00333 void Monitor_IEMenu_DLSelected (BOOL b);
00334 BOOL Monitor_IEMenu_DLAll();
00335 void Monitor_IEMenu_DLAll (BOOL b);
00336 BOOL Monitor_IEMenu_DLPage();
00337 void Monitor_IEMenu_DLPage (BOOL b);
00338 void Monitor_IEMenu_DLThis (BOOL b);
00339 BOOL Monitor_IEMenu_DLThis();
00340 void Monitor_Silent (BOOL b);
00341 BOOL Monitor_Silent();
00342 UINT NewDL_GroupId ();
00343 void NewDL_GroupId (UINT n);
00344 CString NewDL_Group_old ();
00345 void NewDL_Group_old (LPCSTR psz);
00346 void View_FloatingInfoWindow (BOOL b);
00347 BOOL View_FloatingInfoWindow();
00348 void Mirr_DontSearchIfSizeUnk (BOOL b);
00349 BOOL Mirr_DontSearchIfSizeUnk();
00350 void Mirr_FileMinSize (UINT u);
00351 UINT Mirr_FileMinSize();
00352 void Mirr_RecalcSpeedTime (UINT u);
00353 UINT Mirr_RecalcSpeedTime();
00354 void Mirr_CalcSpeed (BOOL b);
00355 BOOL Mirr_CalcSpeed();
00356 void Mirr_MaxCount (UINT u);
00357 UINT Mirr_MaxCount();
00358 void Mirr_AutoSearch (BOOL b);
00359 BOOL Mirr_AutoSearch();
00360 void Notif_BalloonTimeout (DWORD dw);
00361 DWORD Notif_BalloonTimeout();
00362 void Notif_UseBalloon (BOOL b);
00363 BOOL Notif_UseBalloon();
00364 void Network_Br_SettingsSaved (BOOL b);
00365 BOOL Network_Br_SettingsSaved();
00366 void NewVerExists (BOOL b);
00367 BOOL NewVerExists();
00368 void Spider_SavePagesUnderHTM (BOOL b);
00369 BOOL Spider_SavePagesUnderHTM();
00370 void Avir_Exts (LPCSTR psz);
00371 CString Avir_Exts();
00372 void Avir_Args (LPCSTR psz);
00373 CString Avir_Args();
00374 void Avir_Name (LPCSTR psz);
00375 CString Avir_Name();
00376 void Avir_Perform (BOOL b);
00377 BOOL Avir_Perform();
00378 void View_SizesInBytes (BOOL b);
00379 BOOL View_SizesInBytes ();
00380 void Download_CreateExt (LPCSTR psz);
00381 CString Download_CreateExt();
00382 void Monitor_AllowDownload (BOOL b);
00383 BOOL Monitor_AllowDownload ();
00384 void Monitor_FirefoxPDInstalledTo (LPCSTR psz);
00385 CString Monitor_FirefoxPDInstalledTo();
00386 void Monitor_NetscapePDInstalledTo (LPCSTR psz);
00387 CString Monitor_NetscapePDInstalledTo();
00388 void Monitor_OperaPDInstalledTo (LPCSTR psz);
00389 CString Monitor_OperaPDInstalledTo();
00390 void DetLog (BOOL b);
00391 BOOL DetLog();
00392 void View_FloatingWindow(BOOL b);
00393 BOOL View_FloatingWindow();
00394 void DropBoxWndBlend (BYTE b);
00395 BYTE DropBoxWndBlend ();
00396 void DownloadsInfoWndBlend (BYTE b);
00397 BYTE DownloadsInfoWndBlend ();
00398 void TUMManage (fsTUMManage en);
00399 fsTUMManage TUMManage();
00400 void View_DldInfoCurTab (int i);
00401 int View_DldInfoCurTab ();
00402 void Last_Autostart (int i);
00403 int Last_Autostart();
00404 void Spider_ImgExtsType (fsWPDExtsType en);
00405 fsWPDExtsType Spider_ImgExtsType();
00406 void Spider_ImgExts (LPCSTR psz);
00407 CString Spider_ImgExts();
00408 void Spider_DownloadStyles (BOOL b);
00409 BOOL Spider_DownloadStyles();
00410 void Spider_ExtsType (fsWPDExtsType en);
00411 fsWPDExtsType Spider_ExtsType();
00412 void Spider_Exts (LPCSTR psz);
00413 CString Spider_Exts();
00414 void Spider_Depth (int i);
00415 int Spider_Depth();
00416 void Spider_DownloadImages (BOOL b);
00417 BOOL Spider_DownloadImages();
00418 void Spider_DownloadFiles (BOOL b);
00419 BOOL Spider_DownloadFiles();
00420 void Spider_NotAllImages (BOOL b);
00421 BOOL Spider_NotAllImages();
00422 void Spider_NotAllFiles (BOOL b);
00423 BOOL Spider_NotAllFiles();
00424 void Spider_NotAllPages (BOOL b);
00425 BOOL Spider_NotAllPages();
00426 void Spider_HTMLExts (LPCSTR psz);
00427 CString Spider_HTMLExts();
00428 void View_SpiderTree (BOOL b);
00429 BOOL View_SpiderTree();
00430 void Dial_Auto (BOOL b);
00431 BOOL Dial_Auto();
00432 void Dial_LastEntry (LPCSTR);
00433 CString Dial_LastEntry();
00434 CString View_Language();
00435 void View_Language (LPCSTR pszLang);
00436 void View_SplitterRatio (LPCSTR pszName, float fRatio);
00437 float View_SplitterRatio (LPCSTR pszName);
00438 void View_ReadWndPlacement (CWnd* pWnd, LPCSTR pszName, BOOL bInitiallyHidden = FALSE);
00439 void View_SaveWndPlacement (CWnd* pWnd, LPCSTR pszName);
00440 void View_ReadWndSize(CWnd *pWnd, LPCSTR pszName);
00441 void View_SaveWndSize (CWnd* pWnd, LPCSTR pszName);
00442 void View_Statusbar (BOOL b);
00443 BOOL View_Statusbar ();
00444 void View_Toolbar (BOOL b);
00445 BOOL View_Toolbar();
00446 void View_HFELog (BOOL b);
00447 BOOL View_HFELog();
00448 void View_SchedulerLog (BOOL b);
00449 BOOL View_SchedulerLog ();
00450 void View_DLInfo (BOOL b);
00451 BOOL View_DLInfo();
00452 void View_AllGroups (BOOL b);
00453 BOOL View_AllGroups();
00454 void View_SWBar (BOOL b);
00455 BOOL View_SWBar();
00456 void Update_LastCheck (SYSTEMTIME time);
00457 BOOL Update_LastCheck (SYSTEMTIME* time);
00458 void Update_URL (LPCSTR psz);
00459 CString Update_URL();
00460 void Prg_MinToTray (BOOL b);
00461 BOOL Prg_MinToTray();
00462 void Prg_CloseAsMinimize (BOOL b);
00463 BOOL Prg_CloseAsMinimize();
00464 void Prg_StartMinimized (BOOL b);
00465 BOOL Prg_StartMinimized();
00466 void Monitor_ALTShouldPressed (BOOL b);
00467 BOOL Monitor_ALTShouldPressed();
00468 void Monitor_Clipboard (BOOL b);
00469 BOOL Monitor_Clipboard();
00470 void Monitor_IE2 (BOOL b);
00471 BOOL Monitor_IE2();
00472 void Monitor_IE1 (BOOL b);
00473 BOOL Monitor_IE1();
00474 void Monitor_SkipExts (LPCSTR psz);
00475 CString Monitor_SkipExts();
00476 void HFE_FtpPassiveMode (BOOL b);
00477 BOOL HFE_FtpPassiveMode();
00478 void RetreiveInfoWhileGettingList (BOOL b);
00479 BOOL RetreiveInfoWhileGettingList();
00480 void CreateDld_IdOfLastGrpSelected (UINT n);
00481 UINT CreateDld_IdOfLastGrpSelected();
00482 void ActivePlugin (int i);
00483 int ActivePlugin();
00484 void NOW (int i);
00485 int NOW();
00486 void AutosaveInterval (UINT nVal);
00487 UINT AutosaveInterval ();
00488 BOOL AutoDelCompleted();
00489 void AutoDelCompleted (BOOL b);
00490 fsDeleteDownloadReaction DDR();
00491 void DDR (fsDeleteDownloadReaction en);
00492 void CurrentTUM (fsTUM i);
00493 fsTUM CurrentTUM();
00494 BOOL Get_TUM(fsTrafficUsageMode aTUM[3]);
00495 void Set_TUM (fsTrafficUsageMode aTUM [3]);
00496 void AdditionalExtension (LPCSTR pszExt);
00497 CString AdditionalExtension();
00498 void SizeChangeReaction (fsSizeChangeReaction val);
00499 fsSizeChangeReaction SizeChangeReaction();
00500 void AlreadyExistReaction (fsAlreadyExistReaction val);
00501 fsAlreadyExistReaction AlreadyExistReaction();
00502 void AccDeniedReaction (fsDownloadFileErrorProcessing val);
00503 fsDownloadFileErrorProcessing AccDeniedReaction();
00504 void NotFoundReaction (fsDownloadFileErrorProcessing val);
00505 fsDownloadFileErrorProcessing NotFoundReaction();
00506 void UseSocksProxy (BOOL bUse);
00507 BOOL UseSocksProxy();
00508 void ASCIIExts (LPCSTR psz);
00509 CString ASCIIExts ();
00510 void UseCookie(BOOL b);
00511 BOOL UseCookie();
00512 void SocksProxy_Password (LPCSTR psz);
00513 CString SocksProxy_Password ();
00514 void SocksProxy_UserName (LPCSTR psz);
00515 CString SocksProxy_UserName ();
00516 void SocksProxy_Name (LPCSTR psz);
00517 CString SocksProxy_Name ();
00518 void FtpProxy_Password (LPCSTR psz);
00519 CString FtpProxy_Password ();
00520 void FtpProxy_UserName (LPCSTR psz);
00521 CString FtpProxy_UserName ();
00522 void FtpProxy_Name (LPCSTR psz);
00523 CString FtpProxy_Name ();
00524 void HttpsProxy_Password (LPCSTR psz);
00525 CString HttpsProxy_Password ();
00526 void HttpsProxy_UserName (LPCSTR psz);
00527 CString HttpsProxy_UserName ();
00528 void HttpsProxy_Name (LPCSTR psz);
00529 CString HttpsProxy_Name ();
00530 void HttpProxy_Password (LPCSTR psz);
00531 CString HttpProxy_Password ();
00532 void HttpProxy_UserName (LPCSTR psz);
00533 CString HttpProxy_UserName ();
00534 void HttpProxy_Name (LPCSTR psz);
00535 CString HttpProxy_Name ();
00536 void Timeout (UINT u);
00537 UINT Timeout();
00538 void ReserveDiskSpace (BOOL b);
00539 BOOL ReserveDiskSpace();
00540 void Agent (LPCSTR psz);
00541 CString Agent();
00542 void RestartSpeedLow (BOOL b);
00543 BOOL RestartSpeedLow();
00544 void IgnoreRestrictions (BOOL b);
00545 BOOL IgnoreRestrictions();
00546 void MaxAttempts (UINT u);
00547 UINT MaxAttempts ();
00548 void TrafficRestriction (UINT u);
00549 UINT TrafficRestriction();
00550 void MaxSections (UINT u);
00551 UINT MaxSections();
00552 void SectionMinSize (UINT u);
00553 UINT SectionMinSize();
00554 void RetriesTime (UINT u);
00555 UINT RetriesTime();
00556 void FtpTransferType (fsFtpTransferType enType);
00557 fsFtpTransferType FtpTransferType();
00558 void FtpFlags (DWORD dw);
00559 DWORD FtpFlags ();
00560 void UseHttp11 (BOOL b);
00561 BOOL UseHttp11();
00562 void Referer (LPCTSTR pszStr);
00563 CString Referer ();
00564 void UserPassword (LPCTSTR pszStr);
00565 CString UserPassword ();
00566 void UserName (LPCTSTR pszStr);
00567 CString UserName();
00568 void InternetAccessType (fsInternetAccessTypeEx enType);
00569 fsInternetAccessTypeEx InternetAccessType();
00570 fsAppSettings();
00571 virtual ~fsAppSettings();
00572
00573 protected:
00574 vmsAppSettingsStore m_stgs;
00575
00576 DWORD m_dwWriteCacheSize;
00577 BOOL LoadStringList(LPCSTR pszSubKey, LPCSTR pszValue, CStringList *v);
00578 void SaveStringList(LPCSTR pszSubKey, LPCSTR pszValue, CStringList &v);
00579 };
00580
00581 #endif