1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

New library lib-exceptions

This commit is contained in:
Paul Licameli
2021-02-17 21:11:45 -05:00
parent e6c109b2cd
commit 0683d3c158
12 changed files with 45 additions and 19 deletions

View File

@@ -0,0 +1,26 @@
/*!
@file UserException.h
@brief An AudacityException with no visible message
Created by Paul Licameli on 11/27/16.
*/
#ifndef __AUDACITY_USER_EXCEPTION__
#define __AUDACITY_USER_EXCEPTION__
#include "AudacityException.h"
//! Can be thrown when user cancels operations, as with a progress dialog. Delayed handler does nothing
/*! This class does not inherit from MessageBoxException. */
class EXCEPTIONS_API UserException final : public AudacityException
{
public:
UserException() {}
~UserException() override;
void DelayedHandlerAction() override;
};
#endif