[go: up one dir, main page]

Menu

[r25]: / Settings.cpp  Maximize  Restore  History

Download this file

39 lines (30 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Settings.cpp: implementation of the Settings class.
//
//////////////////////////////////////////////////////////////////////
//#include "res.h"
#include "Settings.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Settings::Settings(RegKey &rootkey):
root(rootkey),
AutoAdvance(root,TEXT("Options\\AutoAdvance")),
AutoSearch(root,TEXT("Options\\AutoSearch")),
NoSound(root,TEXT("Options\\NoSound")),
LongFormat(root,TEXT("Options\\LongFormat")),
Retries(root,TEXT("Options\\Retries")),
ThreadLimit(root,TEXT("Options\\ThreadLimit")),
NetManSizer(root,TEXT("Position\\NetManSizer")),
CopySource(root,TEXT("Recent\\Source")),
CopyDestination(root,TEXT("Recent\\Destination")),
Mask(root,TEXT("Recent\\Mask"))
{
}
Settings::~Settings()
{
}