MCPcopy Create free account
hub / github.com/ImpulseAdventure/JPEGsnoop / CSnoopConfig

Method CSnoopConfig

SnoopConfig.cpp:28–130  ·  view source on GitHub ↗

Define the defaults for the application configuration

Source from the content-addressed store, hash-verified

26
27// Define the defaults for the application configuration
28CSnoopConfig::CSnoopConfig(void)
29{
30
31 // Debug log
32 strDebugLogFname = _T(".\\JPEGsnoop-debug.log");
33 fpDebugLog = NULL;
34 bDebugLogEnable = false;
35
36 // Default to showing message dialogs
37 bInteractive = true;
38
39 // Command-line modes
40 bGuiMode = true;
41 bCmdLineOpenEn = false;
42 strCmdLineOpenFname = _T("");
43 bCmdLineOutputEn = false; // No output file specified
44 strCmdLineOutputFname = _T("");
45 bCmdLineBatchEn = false;
46 strCmdLineBatchDirName = _T("");
47 bCmdLineBatchRec = false;
48 bCmdLineExtractEn = false;
49 bCmdLineExtractDhtAvi = false;
50 bCmdLineBatchSrch = false;
51 bCmdLineDoneMsg = false;
52
53 eCmdLineOffset = DEC_OFFSET_START;
54 nCmdLineOffsetPos = 0;
55
56 bCmdLineHelp = false;
57
58 nPosStart = 0;
59
60 // --------------------------------
61 // Registry settings
62 bDirty = false; // Have the registry options been dirtied?
63 bEulaAccepted = false;
64 bUpdateAuto = true;
65 nUpdateAutoDays = 14; // Check every 14 days
66 strUpdateLastChk = _T("");
67 strDbDir = _T("");
68 bReprocessAuto = false;
69 bDecodeScanImg = true;
70 bDecodeScanImgAc = false; // Coach message will be shown just in case
71 bSigSearch = true;
72
73 bOutputScanDump = false; // Print snippet of scan data
74 bOutputDHTexpand = false; // Print expanded huffman tables
75 bDecodeMaker = false;
76 bDumpHistoY = false;
77
78 // Difference in performance: 1dsmk2 image:
79 // Performance boost ~ 25%
80 bHistoEn = false; // Histogram & clipping stats enabled?
81
82 bStatClipEn = false; // UNUSED: Enable Scan Decode clip stats?
83
84 bDbSubmitNet = true; // Default to submit new DB entries to web
85

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected