1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00
Files
audacity/src/commands/GetTrackInfoCommand.h
2020-01-19 19:21:12 -05:00

43 lines
1.2 KiB
C++

/**********************************************************************
Audacity - A Digital Audio Editor
Copyright 1999-2009 Audacity Team
License: wxwidgets
Dan Horgan
Marty Goddard
******************************************************************//**
\file GetTrackInfoCommand.h
\brief Declarations of GetTrackInfoCommand and GetTrackInfoCommandType classes
*//*******************************************************************/
#ifndef __GETTRACKINFOCOMMAND__
#define __GETTRACKINFOCOMMAND__
#include "Command.h"
#include "CommandType.h"
class GetTrackInfoCommand final : public AudacityCommand
{
public:
static const ComponentInterfaceSymbol Symbol;
GetTrackInfoCommand();
// ComponentInterface overrides
ComponentInterfaceSymbol GetSymbol() override {return Symbol;};
TranslatableString GetDescription() override {return XO("Gets track values as JSON.");};
bool DefineParams( ShuttleParams & S ) override;
void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#get_track_info");};
bool Apply(const CommandContext &context ) override;
public:
int mInfoType;
};
#endif /* End of include guard: __GETTRACKINFOCOMMAND__ */