From 8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:07:15 +0200 Subject: 3.7 --- shared/fileError.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/fileError.h') diff --git a/shared/fileError.h b/shared/fileError.h index ac47dfed..210d1029 100644 --- a/shared/fileError.h +++ b/shared/fileError.h @@ -12,19 +12,21 @@ namespace FreeFileSync { -class FileError //Exception class used to notify file/directory copy/delete errors +class FileError //Exception base class used to notify file/directory copy/delete errors { public: FileError(const wxString& message) : errorMessage(message) {} + virtual ~FileError() {} + const wxString& show() const { return errorMessage; } private: - wxString errorMessage; + const wxString errorMessage; }; } -- cgit