![]() |
Adobe Photoshop SDK |
|
PIGetPathSuite.hGo 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 00089 //------------------------------------------------------------------------------- 00090 // GetPath suite version 1. 00091 //------------------------------------------------------------------------------- 00092 00094 #define kPSGetPathSuiteVersion1 1 00095 00097 typedef struct 00098 { 00099 GetPathNameProc GetPathName; 00100 } PSGetPathSuite1; 00101 00104 //------------------------------------------------------------------------------- 00105 // C++ wrapper. 00106 //------------------------------------------------------------------------------- 00107 #ifdef __cplusplus 00108 } 00109 #endif 00110 00111 //------------------------------------------------------------------------------- 00112 #endif // PIGetPathSuite |