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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user