MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / Load

Method Load

sourcecommon/saveini.cpp:87–106  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

85}
86//---------------------------------------------------------------------------
87bool TSaveParamsINI::Load(AnsiString inFile)
88{
89 bool rv = false;
90 try
91 {
92 if( f )
93 {
94 // ���� ���� ��������� � ����� - ������� ���
95 Save();
96 delete f;
97 f = NULL;
98 }
99 fFile = inFile;
100 f = new TMYIniFile(inFile.c_str(), true, fCreateNewFile);
101 rv = true;
102 }
103 catch(...)
104 {}
105 return rv;
106}
107//---------------------------------------------------------------------------
108bool TSaveParamsINI::Save(void)
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected