MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnInitDialog

Method OnInitDialog

editor/VirtualCompilerConfig.cpp:80–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80BOOL CVirtualCompilerConfig::OnInitDialog() {
81 CDialog::OnInitDialog();
82 char buffer[_MAX_PATH];
83 int len = _MAX_PATH;
84
85 if (Database->read("EditorCompiler", buffer, &len)) {
86 m_Compiler = buffer;
87 } else {
88 m_Compiler = "";
89 }
90
91 if (Database->read_int("EditorVCWarningLevel", &len)) {
92 m_WarningLevel = len;
93 } else {
94 m_WarningLevel = 0;
95 }
96
97 if (Database->read_int("EditorVCDebugLevel", &len)) {
98 m_DebugType = len;
99 } else {
100 m_DebugType = 0;
101 }
102
103 UpdateData(false);
104
105 return TRUE;
106}
107
108void CVirtualCompilerConfig::OnOK() {
109 char buffer[_MAX_PATH];

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected