1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 20:22:13 +01:00

Define an AudacityException subclass for user cancellation of progress

This commit is contained in:
Paul Licameli
2016-12-02 12:32:29 -05:00
parent 195509a033
commit acf3c018bb
6 changed files with 76 additions and 0 deletions

24
src/UserException.cpp Normal file
View File

@@ -0,0 +1,24 @@
//
// UserException.cpp
//
//
// Created by Paul Licameli on 11/27/16.
//
//
#include "Audacity.h"
#include "UserException.h"
UserException::~UserException()
{
}
std::unique_ptr< AudacityException > UserException::Move()
{
return std::unique_ptr< AudacityException >
{ safenew UserException{ std::move( *this ) } };
}
void UserException::DelayedHandlerAction()
{
}