![]() |
Adobe Photoshop SDK |
|
PIUXPSuite.h
Go to the documentation of this file.
00001 /*******************************************************************/ 00002 /* */ 00003 /* ADOBE CONFIDENTIAL */ 00004 /* _ _ _ _ _ _ _ _ _ _ _ _ _ */ 00005 /* */ 00006 /* Copyright 2020 Adobe Systems Incorporated */ 00007 /* All Rights Reserved. */ 00008 /* */ 00009 /* NOTICE: All information contained herein is, and remains the */ 00010 /* property of Adobe Systems Incorporated and its suppliers, if */ 00011 /* any. The intellectual and technical concepts contained */ 00012 /* herein are proprietary to Adobe Systems Incorporated and its */ 00013 /* suppliers and may be covered by U.S. and Foreign Patents, */ 00014 /* patents in process, and are protected by trade secret or */ 00015 /* copyright law. Dissemination of this information or */ 00016 /* reproduction of this material is strictly forbidden unless */ 00017 /* prior written permission is obtained from Adobe Systems */ 00018 /* Incorporated. */ 00019 /* */ 00020 /*******************************************************************/ 00035 #ifndef PIUXPSuite_h 00036 #define PIUXPSuite_h 00037 00038 #if PRAGMA_ONCE 00039 #pragma once 00040 #endif 00041 00042 #include "PIActions.h" 00043 #include "SPTypes.h" 00044 #include "SPPlugs.h" 00045 00046 #ifdef __cplusplus 00047 extern "C" { 00048 #endif 00049 00050 /******************************************************************************/ 00051 00053 #define kPSUXPSuite "Photoshop UXP Suite for Plug-ins" 00054 00055 /******************************************************************************/ 00056 00057 #define kPSUXPSuiteVersion1 1 00059 /******************************************************************************/ 00060 00061 typedef void (*PIUXPMessageNotifier)(PIActionDescriptor descriptor); 00062 00066 typedef struct PsUXPSuite1 00067 { 00068 SPAPI SPErr (*SendUXPMessage) (SPPluginRef selfRef, const char* uxpPluginId, PIActionDescriptor descriptor); 00069 00070 SPAPI SPErr (*AddUXPMessageListener) (SPPluginRef selfRef, PIUXPMessageNotifier notifier); 00071 00072 SPAPI SPErr (*RemoveUXPMessageListener) (SPPluginRef selfRef); 00073 00074 } PsUXPSuite1; 00075 00076 00077 #ifdef __cplusplus 00078 } 00079 #endif 00080 00081 #endif /* PIUXPSuite_h */ |