InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICloudLibraryLinkedAssetPublicUtils.h
1 /*************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright 2021 Adobe
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe and its suppliers, if any. The intellectual
10 * and technical concepts contained herein are proprietary to Adobe
11 * and its suppliers and are protected by all applicable intellectual
12 * property laws, including trade secret and copyright laws.
13 * Dissemination of this information or reproduction of this material
14 * is strictly forbidden unless prior written permission is obtained
15 * from Adobe.
16 **************************************************************************/
17 
18 #ifndef ICloudLibraryLinkedAssetPublicUtils_h
19 #define ICloudLibraryLinkedAssetPublicUtils_h
20 
21 #include "IPMUnknown.h"
22 #include "ILinkResource.h"
23 
24 #include "LinksID.h"
25 
27 {
28 public:
29 
30  enum { kDefaultIID = IID_ICLOUDLIBRARYLINKEDASSETPUBLICUTILS };
31 
36  virtual bool IsInitialized() = 0;
37 
44  virtual bool DoesElementExist(const std::string& elementRef) = 0;
45 
51  virtual bool16 IsCloudLibraryAsset(const UIDRef& pageItem) = 0;
52 
58  virtual bool IsElementStock(const std::string& elementRef) = 0;
59 
65  virtual bool IsElementStockLicensed(const std::string& elementRef) = 0;
66 
71  virtual void LicenseStockElement(const std::string& elementRef) = 0;
72 
77  virtual bool16 IsCloudScheme(const URI& uri) = 0;
78 };
79 #endif /* ICloudLibraryLinkedAssetPublicUtils_h */
80