| XMP Toolkit SDK 6.0.0

ICoreConfigurationManager.h
Go to the documentation of this file.
1 #ifndef ICoreConfigurationManager_h__
2 #define ICoreConfigurationManager_h__ 1
3
4 // =================================================================================================
5 // Copyright Adobe
6 // Copyright 2015 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
15 #include "XMPCore/XMPCoreFwdDeclarations.h"
16 #include "XMPCommon/Interfaces/IConfigurationManager.h"
17
18 namespace AdobeXMPCore {
24 class XMP_PUBLIC ICoreConfigurationManager_v1
25 : public virtual IConfigurationManager_v1
26 {
27 public:
28
31
37 virtual pICoreConfigurationManager APICALL GetActualICoreConfigurationManager() __NOTHROW__ = 0;
38 XMP_PRIVATE pcICoreConfigurationManager GetActualICoreConfigurationManager() const __NOTHROW__ {
39 return const_cast< ICoreConfigurationManager_v1 * >( this )->GetActualICoreConfigurationManager();
40 }
43
49 virtual AdobeXMPCore_Int::pICoreConfigurationManager_I APICALL GetICoreConfigurationManager_I() __NOTHROW__ = 0;
50
51 XMP_PRIVATE AdobeXMPCore_Int::pcICoreConfigurationManager_I GetICoreConfigurationManager_I() const __NOTHROW__ {
52 return const_cast< ICoreConfigurationManager_v1 * >( this )->GetICoreConfigurationManager_I();
53 }
56
63 XMP_PRIVATE static spICoreConfigurationManager MakeShared( pICoreConfigurationManager_base ptr );
64 XMP_PRIVATE static spcICoreConfigurationManager MakeShared( pcICoreConfigurationManager_base ptr ) {
65 return MakeShared( const_cast< pICoreConfigurationManager_base >( ptr ) );
66 }
69
74 XMP_PRIVATE static uint64 GetInterfaceID() { return kICoreConfigurationManagerID; }
75
80 XMP_PRIVATE static uint32 GetInterfaceVersion() { return 1; }
82
83 // static factory functions
84
89 XMP_PRIVATE static spICoreConfigurationManager GetCoreConfigurationManager();
90
91
92 protected:
96 virtual ~ICoreConfigurationManager_v1() __NOTHROW__ {}
97
99
100 #ifdef FRIEND_CLASS_DECLARATION
101 FRIEND_CLASS_DECLARATION();
102 #endif
103 REQ_FRIEND_CLASS_DECLARATION();
105
106 };
107 }
108 #endif // ICoreConfigurationManager_h__
109
AdobeXMPCore::spICoreConfigurationManager
shared_ptr< ICoreConfigurationManager > spICoreConfigurationManager
Definition: XMPCoreFwdDeclarations.h:215
XMP_PRIVATE
#define XMP_PRIVATE
Definition: XMP_Environment.h:222
__NOTHROW__
#define __NOTHROW__
Definition: XMPCommonDefines.h:147
XMP_PUBLIC
#define XMP_PUBLIC
Definition: XMP_Environment.h:221
AdobeXMPCore_Int::pcICoreConfigurationManager_I
const typedef ICoreConfigurationManager_I * pcICoreConfigurationManager_I
Definition: XMPCoreFwdDeclarations.h:318
AdobeXMPCore
Definition: IArrayNode.h:18
IConfigurationManager.h
AdobeXMPCore::ICoreConfigurationManager_v1
Version1 of the interface that represents configuration settings controllable by the client.
Definition: ICoreConfigurationManager.h:24
AdobeXMPCommon::uint32
XMP_Uns32 uint32
Definition: XMPCommonDefines.h:174
XMPCoreFwdDeclarations.h
AdobeXMPCore::ICoreConfigurationManager_v1::~ICoreConfigurationManager_v1
virtual ~ICoreConfigurationManager_v1() __NOTHROW__
Definition: ICoreConfigurationManager.h:96
AdobeXMPCore::pcICoreConfigurationManager
const typedef ICoreConfigurationManager * pcICoreConfigurationManager
Definition: XMPCoreFwdDeclarations.h:214
AdobeXMPCommon::IConfigurationManager_v1
Version1 of the interface that represents configuration settings controllable by the client.
Definition: IConfigurationManager.h:32
AdobeXMPCore::spcICoreConfigurationManager
shared_ptr< const ICoreConfigurationManager > spcICoreConfigurationManager
Definition: XMPCoreFwdDeclarations.h:216
REQ_FRIEND_CLASS_DECLARATION
#define REQ_FRIEND_CLASS_DECLARATION()
Definition: XMPCommonDefines.h:137
AdobeXMPCore::pcICoreConfigurationManager_base
const typedef ICoreConfigurationManager_v1 * pcICoreConfigurationManager_base
Definition: XMPCoreFwdDeclarations.h:211
AdobeXMPCore::pICoreConfigurationManager
ICoreConfigurationManager * pICoreConfigurationManager
Definition: XMPCoreFwdDeclarations.h:213
AdobeXMPCore_Int::pICoreConfigurationManager_I
ICoreConfigurationManager_I * pICoreConfigurationManager_I
Definition: XMPCoreFwdDeclarations.h:316
AdobeXMPCore::kICoreConfigurationManagerID
static const uint64 kICoreConfigurationManagerID(0x63436f6e664d6772)
AdobeXMPCommon::uint64
XMP_Uns64 uint64
Definition: XMPCommonDefines.h:172