Rev 232 | Rev 259 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | toby | 1 | /* |
18 | toby | 2 | This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop |
192 | daniel-mar | 3 | Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au |
206 | daniel-mar | 4 | Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft |
2 | toby | 5 | |
6 | This program is free software; you can redistribute it and/or modify |
||
106 | dmarschall | 7 | it under the terms of the GNU General Public License as published by |
2 | toby | 8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. |
||
10 | |||
11 | This program is distributed in the hope that it will be useful, |
||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
14 | GNU General Public License for more details. |
||
15 | |||
106 | dmarschall | 16 | You should have received a copy of the GNU General Public License |
2 | toby | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
19 | */ |
||
20 | |||
21 | #include "PIResDefines.h" |
||
22 | #include "PIActions.h" |
||
23 | |||
24 | #include "ui.h" |
||
25 | #include "version.h" |
||
26 | |||
27 | #define LC(a,b,c,d) #d, #c, #b, #a |
||
28 | |||
212 | daniel-mar | 29 | /* 8BIM = Adobe Photoshop */ |
2 | toby | 30 | #define VENDORID LC(8,B,I,M) |
212 | daniel-mar | 31 | |
2 | toby | 32 | #define NULLID 0L |
33 | |||
212 | daniel-mar | 34 | /* Note: make_win.c writes language 0. So, this should be language 0, too, |
35 | otherwise the standalone filter would have 2 languages for this resource. */ |
||
133 | dmarschall | 36 | LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL |
2 | toby | 37 | 16000 PiPL DISCARDABLE |
38 | BEGIN |
||
39 | 0x0001, /* Reserved (for Photoshop) */ |
||
40 | 0L, /* kCurrentPiPLVersion */ |
||
232 | daniel-mar | 41 | 9L, /* Property Count */ |
106 | dmarschall | 42 | |
164 | dmarschall | 43 | VENDORID, LC(c,a,t,g), NULLID, 16L, "\014Telegraphics\0\0\0", /* PString */ |
44 | VENDORID, LC(n,a,m,e), NULLID, 20L, "\021Filter Foundry...\0\0", /* PString */ |
||
178 | dmarschall | 45 | |
210 | daniel-mar | 46 | /* HasTerminology { plugInClassID, plugInEventID, AETE_ID, vendorName " " plugInName }, */ |
212 | daniel-mar | 47 | VENDORID, LC(h,s,t,m), NULLID, 16L, /* = 3*4 + 2 + sizeof(c string) + padding */ |
178 | dmarschall | 48 | 0L, /* version */ |
210 | daniel-mar | 49 | LC(F,l,t,r), /* Class ID, always required. Must be eventFilter='Fltr' to show up in "Actions" tab. */ |
178 | dmarschall | 50 | LC(f,i,F,o), /* Event ID, or typeNULL if not Filter/Color Picker/Selection. */ |
51 | AETE_ID, /* Dictionary ('AETE') resource ID. (only 2 bytes long!) */ |
||
52 | |||
212 | daniel-mar | 53 | /*"Telegraphics FilterFoundry\0\0\0\0"*/ |
54 | /* Unique scope string, C format, long padded. If set, the plugin will only communicate with the host (Photoshop), not with AppleScript. */ |
||
232 | daniel-mar | 55 | /* Since 1.7.0.2, we accept AppleScript, since the AETE keys are now randomly chosen for each standalone plugin. */ |
212 | daniel-mar | 56 | "\0\0" |
178 | dmarschall | 57 | |
212 | daniel-mar | 58 | |
2 | toby | 59 | #include "PiPL_body.rc" |
106 | dmarschall | 60 | |
2 | toby | 61 | END |
62 | |||
133 | dmarschall | 63 | LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL |
243 | daniel-mar | 64 | 16000 TPLT DISCARDABLE |
2 | toby | 65 | BEGIN |
66 | 0x0001, /* Reserved (for Photoshop) */ |
||
67 | 0L, /* kCurrentPiPLVersion */ |
||
232 | daniel-mar | 68 | 6L, /* Property Count */ |
106 | dmarschall | 69 | |
2 | toby | 70 | #include "PiPL_body.rc" |
106 | dmarschall | 71 | |
2 | toby | 72 | END |