1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 06:22:58 +02:00

Remove some naked new amd delete in: commands

This commit is contained in:
Paul Licameli
2016-08-07 14:56:54 -04:00
parent c3e53ea26e
commit 57afa1399e
9 changed files with 58 additions and 70 deletions

View File

@@ -17,6 +17,7 @@
#define __COMMANDTYPE__
#include "CommandMisc.h"
#include "CommandSignature.h"
#include "../MemoryX.h"
class Command;
@@ -28,13 +29,13 @@ class wxString;
class CommandType /* not final */
{
private:
wxString *mName;
CommandSignature *mSignature;
wxString mName;
Maybe<CommandSignature> mSignature;
public:
CommandType();
virtual ~CommandType();
wxString GetName();
const wxString &GetName();
CommandSignature &GetSignature();
wxString Describe();