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:
24
src/UserException.cpp
Normal file
24
src/UserException.cpp
Normal 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()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user