![]() |
Adobe Photoshop SDK |
|
PIGetPathSuite.h
Go to the documentation of this file.
00001 // ADOBE SYSTEMS INCORPORATED 00002 // Copyright 1993 - 2005 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 //------------------------------------------------------------------- 00052 #ifndef __PIGetPathSuite__ 00053 #define __PIGetPathSuite__ 00054 00055 #if PRAGMA_ONCE 00056 #pragma once 00057 #endif 00058 00059 //------------------------------------------------------------------------------- 00060 // Includes. 00061 //------------------------------------------------------------------------------- 00062 #include "PIGeneral.h" 00063 00064 //------------------------------------------------------------------------------- 00065 // C++ wrapper. 00066 //------------------------------------------------------------------------------- 00067 #ifdef __cplusplus 00068 extern "C" { 00069 #endif 00070 00071 //------------------------------------------------------------------------------- 00072 // UI GetPath suite. 00073 //------------------------------------------------------------------------------- 00074 00076 #define kPSGetPathSuite "Photoshop GetPath Suite for Plug-ins" 00077 00078 //------------------------------------------------------------------------------- 00079 // 00080 //------------------------------------------------------------------------------- 00081 00087 typedef SPAPI void (*GetPathNameProc) (SPPlatformFileSpecification* fileSpec, char* path, int16 maxLength ); 00088 typedef SPAPI void (*GetXPlatPathNameProc) (XPlatFileSpec* fileSpec, char* path, int16 maxLength ); 00089 00090 //------------------------------------------------------------------------------- 00091 // GetPath suite version 1. 00092 //------------------------------------------------------------------------------- 00093 00095 #define kPSGetPathSuiteVersion1 1 00096 #define kPSGetPathSuiteVersion2 2 00097 00099 typedef struct 00100 { 00101 GetPathNameProc GetPathName; 00102 } PSGetPathSuite1; 00103 00107 typedef struct 00108 { 00109 GetXPlatPathNameProc GetPathName; 00110 } PSGetPathSuite2; 00111 00114 //------------------------------------------------------------------------------- 00115 // C++ wrapper. 00116 //------------------------------------------------------------------------------- 00117 #ifdef __cplusplus 00118 } 00119 #endif 00120 00121 //------------------------------------------------------------------------------- 00122 #endif // PIGetPathSuite |