summaryrefslogtreecommitdiff
path: root/XMPCommon/source/DefaultErrorNotifierImpl.cpp
blob: 245f2d5df7f33ff01c3f3ebe212faa1546c16209 (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
26
27
// =================================================================================================
// Copyright Adobe
// Copyright 2014 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. If you have received this file from a source other 
// than Adobe, then your use, modification, or distribution of it requires the prior written permission
// of Adobe.
// =================================================================================================


#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;
	}

}