InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UXPEventHandler.h
1 //========================================================================================
2 // ADOBE CONFIDENTIAL
3 //
4 // Copyright 2025 Adobe Systems Incorporated. All rights reserved.
5 //
6 // NOTICE: All information contained herein is, and remains
7 // the property of Adobe Systems Incorporated and its suppliers,
8 // if any. The intellectual and technical concepts contained
9 // herein are proprietary to Adobe Systems Incorporated and its
10 // suppliers and may be covered by U.S. and Foreign Patents,
11 // patents in process, and are protected by trade secret or copyright law.
12 // Dissemination of this information or reproduction of this material
13 // is strictly forbidden unless prior written permission is obtained
14 // from Adobe Systems Incorporated.
15 //
16 //========================================================================================
17 
18 #ifndef __UXPEventHandler__
19 #define __UXPEventHandler__
20 
21 #define kIDEnigmaCode "IDSN"
22 #define kICEnigmaCode "AICY"
23 
24 namespace UXPEventHandler
25 {
26  enum UXPEventErrorCode
27  {
29  kEventErrorCode_Success = 0,
30 
32  kEventErrorCode_OperationFailed,
33 
35  kEventErrorCode_Unknown,
36 
37  kEventErrorCode_LastValue = 0x7FFFFFFF
38  };
39 
40  struct UXPEvent
41  {
44  std::string appId;
47  std::string extensionId;
49  std::string type;
51  std::string data;
52  };
53 };
54 
55 #endif