XMP Toolkit SDK  6.0.0
IErrorNotifier.h
Go to the documentation of this file.
1 #ifndef IErrorNotifier_h__
2 #define IErrorNotifier_h__ 1
3 
4 // =================================================================================================
5 // Copyright Adobe
6 // Copyright 2014 Adobe
7 // All Rights Reserved
8 //
9 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
10 // of the Adobe license agreement accompanying it. If you have received this file from a source other
11 // than Adobe, then your use, modification, or distribution of it requires the prior written permission
12 // of Adobe.
13 // =================================================================================================
14 
16 
17 namespace AdobeXMPCommon {
18 
30  {
31  public:
38  virtual bool APICALL Notify( const spcIError & error ) = 0;
39  virtual ~IErrorNotifier_v1() {}
40 
41  protected:
43  virtual uint32 APICALL notify( pcIError_base error, uint32 & exceptionThrown ) __NOTHROW__;
45 
46  #ifdef FRIEND_CLASS_DECLARATION
47  FRIEND_CLASS_DECLARATION();
48  #endif
51  };
52 }
53 
54 #endif // IErrorNotifier_h__
__NOTHROW__
#define __NOTHROW__
Definition: XMPCommonDefines.h:147
XMP_PUBLIC
#define XMP_PUBLIC
Definition: XMP_Environment.h:221
AdobeXMPCommon
Definition: IConfigurable.h:21
XMPCommonFwdDeclarations.h
AdobeXMPCommon::uint32
XMP_Uns32 uint32
Definition: XMPCommonDefines.h:174
AdobeXMPCommon::spcIError
shared_ptr< const IError > spcIError
Definition: XMPCommonFwdDeclarations.h:69
REQ_FRIEND_CLASS_DECLARATION
#define REQ_FRIEND_CLASS_DECLARATION()
Definition: XMPCommonDefines.h:137
AdobeXMPCommon::IErrorNotifier_v1::~IErrorNotifier_v1
virtual ~IErrorNotifier_v1()
Definition: IErrorNotifier.h:39
AdobeXMPCommon::IErrorNotifier_v1
Version1 of the interface that represents an interface to be implemented by client in case he is inte...
Definition: IErrorNotifier.h:29
AdobeXMPCommon::pcIError_base
const typedef IError_v1 * pcIError_base
Definition: XMPCommonFwdDeclarations.h:64