summaryrefslogtreecommitdiff
path: root/XMPCommon/source/DefaultErrorNotifierImpl.cpp
blob: 83c724109e55690092d444ed370226655fe558d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// =================================================================================================
// Copyright Adobe
// Copyright 2020 Adobe
// All Rights Reserved
//
// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it. 
// =================================================================================================


#define IMPLEMENTATION_HEADERS_CAN_BE_INCLUDED 1
	#include "XMPCommon/ImplHeaders/DefaultErrorNotifierImpl.h"
#undef IMPLEMENTATION_HEADERS_CAN_BE_INCLUDED

#include "XMPCommon/Interfaces/IError.h"

namespace XMP_COMPONENT_INT_NAMESPACE {

	bool APICALL DefaultErrorNotifierImpl::Notify( const spcIError & error ) {
		if ( error->GetSeverity() > IError_v1::kESWarning )
			return false;
		return true;
	}

}