Adobe.com
Contents Suites Classes Class Index Member Index

AIPlugin.h

Go to the documentation of this file.
00001 #ifndef __AIPlugin__
00002 #define __AIPlugin__
00003 
00004 /*
00005  *        Name: AIPlugin.h
00006  *   $Revision: 10 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Standard Plug-in Includes and Definitions
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00016  * in accordance with the terms of the Adobe license agreement 
00017  * accompanying it. If you have received this file from a source other 
00018  * than Adobe, then your use, modification, or distribution of it 
00019  * requires the prior written permission of Adobe.
00020  *
00021  */
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 
00035 #ifndef __SPAccess__
00036 #include "SPAccess.h"
00037 #endif
00038 
00039 #ifndef __SPInterf__
00040 #include "SPInterf.h"
00041 #endif
00042 
00043 #ifndef __SPProps__
00044 #include "SPProps.h"
00045 #endif
00046 
00047 
00048 #include "AIHeaderBegin.h"
00049 
00050 
00051 /*******************************************************************************
00052  **
00053  ** Constants
00054  **
00055  **/
00056 
00057 #define kAIPluginSuite                          "AI Plugin Suite"
00058 #define kAIPluginSuiteVersion           AIAPI_VERSION(5)
00059 
00064 #define kAIAllPluginStartedNotifier             "AI All Plug-ins Started Notifier"
00065 
00069 #define kAIPluginStoppingNotifier               "AI All Plug-ins Stopping Notifier"
00070 
00071 
00072 
00074 enum AIPluginOptions {
00084         kPluginWantsResultsAutoSelectedOption   = (1<<1),
00092         kPluginWantsPartialPathSelectionOption  = (1<<2)
00093 
00094 
00095 };
00096 
00109 typedef struct {
00110 
00116         AIAPI AIErr (*GetPluginOptions) ( SPPluginRef plugin, ai::int32 *options );
00117 
00122         AIAPI AIErr (*SetPluginOptions) ( SPPluginRef plugin, ai::int32 options );
00123 
00129         AIAPI AIErr (*SetupPluginData) ( SPPluginRef plugin, void *data );
00130 
00153         AIAPI AIErr (*CallPlugin) ( SPPluginRef plugin, const char *selector, void *message );
00154 
00161         AIAPI AIErr (*EmptyPluginData) ( SPPluginRef plugin, void *data );
00162 
00163 } AIPluginSuite;
00164 
00165 
00166 #include "AIHeaderEnd.h"
00167 
00168 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks