forked from len0rd/rockbox
rbutil: first attempt to talk file creator. also pushed version to 3.2.6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13906 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
798e0d5525
commit
1ad4b2c809
10 changed files with 414 additions and 8 deletions
|
@ -266,6 +266,9 @@ void rbutilFrmApp::ReadUserConfig()
|
|||
if (gv->UserConfig->Read(wxT("curplatform"), &str) ) gv->curplat = str;
|
||||
if (gv->UserConfig->Read(wxT("curfirmware"), &str) ) gv->curfirmware = str;
|
||||
if (gv->UserConfig->Read(wxT("proxy_url"), &str) ) gv->proxy_url = str;
|
||||
|
||||
if (gv->UserConfig->Read(wxT("pathToTts"), &str) ) gv->pathToTts = str;
|
||||
if (gv->UserConfig->Read(wxT("pathToEnc"), &str) ) gv->pathToEnc = str;
|
||||
gv->UserConfig->SetPath(stack);
|
||||
}
|
||||
|
||||
|
@ -276,6 +279,8 @@ void rbutilFrmApp::WriteUserConfig()
|
|||
gv->UserConfig->Write(wxT("curplatform"), gv->curplat);
|
||||
gv->UserConfig->Write(wxT("curfirmware"), gv->curfirmware);
|
||||
gv->UserConfig->Write(wxT("proxy_url"), gv->proxy_url);
|
||||
gv->UserConfig->Write(wxT("pathToTts"), gv->pathToTts);
|
||||
gv->UserConfig->Write(wxT("pathToEnc"), gv->pathToEnc);
|
||||
|
||||
delete gv->UserConfig;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue