Audacity 3.2.0
GetTrackInfoCommand.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity - A Digital Audio Editor
4 Copyright 1999-2009 Audacity Team
5 License: wxwidgets
6
7 Dan Horgan
8 Marty Goddard
9******************************************************************//*******************************************************************/
15
16#ifndef __GETTRACKINFOCOMMAND__
17#define __GETTRACKINFOCOMMAND__
18
19#include "Command.h"
20#include "CommandType.h"
21
23{
24public:
26
28 // ComponentInterface overrides
29 ComponentInterfaceSymbol GetSymbol() const override {return Symbol;};
30 TranslatableString GetDescription() const override {return XO("Gets track values as JSON.");};
31 template<bool Const> bool VisitSettings( SettingsVisitorBase<Const> &S );
32 bool VisitSettings( SettingsVisitor & S ) override;
33 bool VisitSettings( ConstSettingsVisitor & S ) override;
34 void PopulateOrExchange(ShuttleGui & S) override;
35
36 // AudacityCommand overrides
37 ManualPageID ManualPage() override {return L"Extra_Menu:_Tools#get_track_info";}
38
39 bool Apply(const CommandContext &context ) override;
40public:
42};
43
44#endif /* End of include guard: __GETTRACKINFOCOMMAND__ */
Contains declaration of Command base class.
Contains declarations for CommandType class.
XO("Cut/Copy/Paste")
#define S(N)
Definition: ToChars.cpp:64
Base class for command in Audacity.
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Obsolete. GetInfo now does it.
static const ComponentInterfaceSymbol Symbol
bool Apply(const CommandContext &context) override
bool VisitSettings(SettingsVisitorBase< Const > &S)
TranslatableString GetDescription() const override
ComponentInterfaceSymbol GetSymbol() const override
void PopulateOrExchange(ShuttleGui &S) override
ManualPageID ManualPage() override
Visitor of effect or command parameters. This is a base class with lots of virtual functions that do ...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
Holds a msgid for the translation catalog; may also bind format arguments.