/* This file is part of SGI Format, a File Format plugin for Adobe Photoshop Copyright (C) 2003-2010 Toby Thain, toby@telegraphics.com.au This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "PIResDefines.h" #include "version.h" #include "ui.h" // masks for 2nd byte of 'mode' info #define flagSupportsGray16 0x2000 #define flagSupportsRGB48 0x1000 #define flagSupportsLab48 0x0800 #define flagSupportsCMYK64 0x0400 #define flagSupportsDeepMultichannel 0x0200 #define flagSupportsDuotone16 0x0100 #define LC(a,b,c,d) #d, #c, #b, #a #define VENDORID LC(8,B,I,M) #define NULLID 0L 16000 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 10L, /* Property Count */ VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,I,F), /* File Format module */ VENDORID, LC(v,e,r,s), NULLID, 4L, latestFormatSubVersion,latestFormatVersion, /* Version Number */ VENDORID, LC(n,a,m,e), NULLID, 4L, "\003SGI", /* PString */ #ifdef _WIN64 VENDORID, LC(8,6,6,4), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ #else VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ #endif VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsGrayScale|flagSupportsRGBColor|flagSupportsMultichannel |flagSupportsGray16|flagSupportsRGB48|flagSupportsDeepMultichannel,0, VENDORID, LC(R,d,E,x), NULLID, 24L, "SGI ","BW ","RGB ","RGBA","INT ","INTA", VENDORID, LC(W,r,E,x), NULLID, 4L, "SGI ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x30,0, VENDORID, LC(m,x,c,h), NULLID, 30L, 0,16,0,16,0,0,0,16,0,0, 16,16,0,0,16, /* HasTerminology { plugInClassID, plugInEventID, AETE_ID, vendorName " " plugInName }, */ VENDORID, LC(h,s,t,m), NULLID, 38L, /* = 14 + sizeof(c string) */ 0L, /* version */ RC_plugInClassID, /* Class ID, always required. Can be Suite ID. */ RC_plugInEventID, /* Event ID, or typeNULL if not Filter/Color Picker/Selection. */ AETE_ID, /* Dictionary ('AETE') resource ID. */ "Telegraphics SGI Format\0", /* Unique scope string, C format, long padded. */ 0L // padding END #include "scripting.rc" #include "ui_win.rc" /* Version info resource see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_VERSIONINFO_Resource.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/versioninfo_resource.asp */ #include "winver.h" VS_VERSION_INFO VERSIONINFO FILEVERSION VI_VERS_NUM PRODUCTVERSION VI_VERS_NUM FILEFLAGSMASK 0x3fL FILEFLAGS VI_FLAGS FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "04090000" BEGIN VALUE "Comments", VI_COMMENTS VALUE "CompanyName", "Telegraphics Pty Ltd, www.telegraphics.com.au\0" VALUE "FileDescription", "SGI Format plugin for Photoshop(R)\0" VALUE "FileVersion", VERSION_STR "\0" /*VALUE "InternalName", "SGIFormat\0"*/ VALUE "LegalCopyright", "Copyright (C) 2003-2010 Toby Thain\0" VALUE "License", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\0" /*VALUE "LegalTrademarks", "\0"*/ VALUE "OriginalFilename", "SGIFormat.8bi\0" /*VALUE "PrivateBuild", "\0"*/ VALUE "ProductName", "SGI Format\0" VALUE "ProductVersion", VERSION_STR "\0" /*VALUE "SpecialBuild", "\0"*/ END END BLOCK "VarFileInfo" /* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_tools_VarFileInfo_Block.asp */ BEGIN VALUE "Translation", 0x0809, 1200 /* UK English, Unicode */ END END