| 72 | |
| 73 | namespace { |
| 74 | void RegisterMenuItems() |
| 75 | { |
| 76 | // Get here only after the module version check passes |
| 77 | using namespace MenuRegistry; |
| 78 | // We add two new commands into the Analyze menu. |
| 79 | static AttachedItem sAttachment{ wxT("Analyze"), |
| 80 | ( FinderScope( ident ), Section( wxT("NullModule"), |
| 81 | Command( |
| 82 | _T("A New Command"), // internal name |
| 83 | XXO("1st Experimental Command..."), //displayed name |
| 84 | ModNullFN( OnFuncFirst ), |
| 85 | AudioIONotBusyFlag() ), |
| 86 | Command( |
| 87 | _T("Another New Command"), |
| 88 | XXO("2nd Experimental Command"), |
| 89 | ModNullFN( OnFuncSecond ), |
| 90 | AudioIONotBusyFlag() ) |
| 91 | ) ) |
| 92 | }; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // This is the function that connects us to Audacity. |
no test coverage detected