Feature #430 ยป configdir.diff
MOD/src/extrecmenu/tools.c 2011-09-13 16:50:49.229267000 +0200 | ||
---|---|---|
// --- SortList ---------------------------------------------------------------
|
||
void SortList::ReadConfigFile()
|
||
{
|
||
string configfile(cPlugin::ConfigDirectory());
|
||
configfile+=CONFIGFILE;
|
||
string configfile;
|
||
configfile = AddDirectory(cPlugin::ConfigDirectory(PLUGIN_NAME_I18N), CONFIGFILE);
|
||
ifstream in(configfile.c_str());
|
||
if(in)
|
||
... | ... | |
void SortList::WriteConfigFile()
|
||
{
|
||
string configfile(cPlugin::ConfigDirectory());
|
||
configfile+=CONFIGFILE;
|
||
string configfile;
|
||
configfile = AddDirectory(cPlugin::ConfigDirectory(PLUGIN_NAME_I18N), CONFIGFILE);
|
||
ofstream outfile(configfile.c_str());
|
||