Definition at line 72 of file ExportCL.cpp.
◆ ExtendPath()
anonymous_namespace{ExportCL.cpp}::ExtendPath::ExtendPath |
( |
| ) |
|
|
inline |
Definition at line 77 of file ExportCL.cpp.
78 {
79
80 wxString paths[] = {
wxT(
"HKEY_LOCAL_MACHINE\\Software\\Lame for Audacity"),
81 wxT(
"HKEY_LOCAL_MACHINE\\Software\\FFmpeg for Audacity")};
82 wxString npath;
84
87
88 for (int i = 0; i < WXSIZEOF(paths); i++) {
89 reg.SetName(paths[i]);
90
92 wxString ipath;
93 reg.QueryValue(
wxT(
"InstallPath"), ipath);
94 if (!ipath.empty()) {
95 npath += wxPATH_SEP + ipath;
96 }
97 }
98 }
99
100 wxSetEnv(
wxT(
"PATH"),npath);
101 };
BuiltinCommandsModule::Registration< CompareAudioCommand > reg
References anonymous_namespace{CompareAudioCommand.cpp}::reg, and wxT().
◆ ~ExtendPath()
anonymous_namespace{ExportCL.cpp}::ExtendPath::~ExtendPath |
( |
| ) |
|
|
inline |
◆ opath
wxString anonymous_namespace{ExportCL.cpp}::ExtendPath::opath |
The documentation for this struct was generated from the following file: