1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 16:43:52 +01:00

AudacityApp::ParseCommandLine returns smart pointer

This commit is contained in:
Paul Licameli
2016-04-09 23:02:25 -04:00
parent 4022d1d5b2
commit 414d0faa65
2 changed files with 14 additions and 28 deletions

View File

@@ -16,6 +16,7 @@
#include "Audacity.h"
#include "MemoryX.h"
#include <wx/app.h>
#include <wx/cmdline.h>
#include <wx/dir.h>
@@ -100,6 +101,7 @@ class BlockFile;
class AudacityApp final : public wxApp {
public:
AudacityApp();
~AudacityApp();
bool OnInit(void) override;
int OnExit(void) override;
void OnFatalException() override;
@@ -217,7 +219,7 @@ class AudacityApp final : public wxApp {
bool InitTempDir();
bool CreateSingleInstanceChecker(const wxString &dir);
wxCmdLineParser *ParseCommandLine();
std::unique_ptr<wxCmdLineParser> ParseCommandLine();
bool mWindowRectAlreadySaved;