1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-28 22:49:29 +02:00
audacity/src/effects/Repair.h
Paul Licameli 990080ae7d Replace virtual with override wherever possible; eliminate needless virtual...
... for functions in final classes.

override is like const -- it's not necessary, but it helps the compiler to
catch mistakes.

There may be some overriding functions not explicitly declared virtual and I did
not identify such cases, in which I might also add override.
2016-02-26 12:35:38 -05:00

52 lines
1.0 KiB
C++

/**********************************************************************
Audacity: A Digital Audio Editor
Repair.h
Dominic Mazzoni
**********************************************************************/
#ifndef __AUDACITY_EFFECT_REPAIR__
#define __AUDACITY_EFFECT_REPAIR__
#include <wx/string.h>
#include "Effect.h"
#define REPAIR_PLUGIN_SYMBOL XO("Repair")
class WaveTrack;
class EffectRepair final : public Effect
{
public:
EffectRepair();
virtual ~EffectRepair();
// IdentInterface implementation
wxString GetSymbol() override;
wxString GetDescription() override;
// EffectIdentInterface implementation
EffectType GetType() override;
bool IsInteractive() override;
// Effect implementation
bool Process() override;
private:
// EffectRepair implementaion
bool ProcessOne(int count, WaveTrack * track,
sampleCount start,
sampleCount len,
sampleCount repairStart, sampleCount repairLen);
};
#endif // __AUDACITY_EFFECT_REPAIT__