PIFeatureSuite.h
Go to the documentation of this file.
00001 // ADOBE SYSTEMS INCORPORATED
00002 // Copyright  1993 - 2007 Adobe Systems Incorporated
00003 // All Rights Reserved
00004 //
00005 // NOTICE:  Adobe permits you to use, modify, and distribute this 
00006 // file in accordance with the terms of the Adobe license agreement
00007 // accompanying it.  If you have received this file from a source
00008 // other than Adobe, then your use, modification, or distribution
00009 // of it requires the prior written permission of Adobe.
00010 //-------------------------------------------------------------------
00025 #ifndef __PIFeatureSuite__
00026 #define __PIFeatureSuite__
00027 
00028 #if PRAGMA_ONCE
00029 #pragma once
00030 #endif
00031 
00032 #include "PIGeneral.h"
00033 #include "PIActions.h"
00034 #include "SPFiles.h"
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 /******************************************************************************/
00041 
00043 #define kPSFeatureSuite             "Photoshop Feature Suite for Plug-ins"
00044 
00045 //-------------------------------------------------------------------------
00046 //  Useful feature query strings
00047 //-------------------------------------------------------------------------
00048 
00049 #define kPSExtendedEdition          "photoshop/extended"
00050 #define kPSStandardEdition          "photoshop/standard"
00051 #define kPSTrialEdition             "photoshop/trial"
00052 
00053 //-------------------------------------------------------------------------
00054 //  Feature suite typedefs 
00055 //-------------------------------------------------------------------------
00056 
00061 typedef SPAPI SPBoolean  (*Feature_IsActive) (const char *id);
00062 
00063 //-------------------------------------------------------------------------
00064 //  Feature suite version 1
00065 //-------------------------------------------------------------------------
00066 
00067 #define kPSFeatureSuiteVersion1     1
00068 
00069 typedef struct
00070 {
00071     Feature_IsActive                    IsFeatureActive;        
00072 } PSFeatureSuite1;
00073 
00074 
00075 /******************************************************************************/
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 
00082 #endif  // __PIFeatureSuite__