Definition at line 304 of file ExportCL.cpp.
◆ ExtendPath()
ExportCL::ExtendPath::ExtendPath |
( |
| ) |
|
|
inline |
Definition at line 309 of file ExportCL.cpp.
310 {
311
312 wxString paths[] = {
wxT(
"HKEY_LOCAL_MACHINE\\Software\\Lame for Audacity"),
313 wxT(
"HKEY_LOCAL_MACHINE\\Software\\FFmpeg for Audacity")};
314 wxString npath;
316
319
320 for (int i = 0; i < WXSIZEOF(paths); i++) {
321 reg.SetName(paths[i]);
322
324 wxString ipath;
325 reg.QueryValue(
wxT(
"InstallPath"), ipath);
326 if (!ipath.empty()) {
327 npath += wxPATH_SEP + ipath;
328 }
329 }
330 }
331
332 wxSetEnv(
wxT(
"PATH"),npath);
333 };
BuiltinCommandsModule::Registration< CompareAudioCommand > reg
References opath, anonymous_namespace{CompareAudioCommand.cpp}::reg, and wxT().
◆ ~ExtendPath()
ExportCL::ExtendPath::~ExtendPath |
( |
| ) |
|
|
inline |
◆ opath
wxString ExportCL::ExtendPath::opath |
The documentation for this struct was generated from the following file: