Subversion Repositories filter_foundry

Rev

Rev 520 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 520 Rev 536
1
/*
1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
5
 
5
 
6
    This program is free software; you can redistribute it and/or modify
6
    This program is free software; you can redistribute it and/or modify
7
    it under the terms of the GNU General Public License as published by  
7
    it under the terms of the GNU General Public License as published by  
8
    the Free Software Foundation; either version 2 of the License, or
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
9
    (at your option) any later version.
10
 
10
 
11
    This program is distributed in the hope that it will be useful,
11
    This program is distributed in the hope that it will be useful,
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
    GNU General Public License for more details.
14
    GNU General Public License for more details.
15
 
15
 
16
    You should have received a copy of the GNU General Public License  
16
    You should have received a copy of the GNU General Public License  
17
    along with this program; if not, write to the Free Software
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
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
*/
19
*/
20
 
20
 
21
#include "mactypes.r"
21
#include "mactypes.r"
22
#include "AEDataModel.r"
22
#include "AEDataModel.r"
23
 
23
 
24
#include "PIResDefines.h"	// Defines plug-in versions.
24
#include "PIResDefines.h"	// Defines plug-in versions.
25
#include "PiPL.r"
25
#include "PiPL.r"
26
 
26
 
27
#include "ui.h"
27
#include "ui.h"
28
#include "version.h"
28
#include "version.h"
29
 
29
 
30
resource 'PiPL' (16000, purgeable)
30
resource 'PiPL' (16000, purgeable)
31
{
31
{
32
	{
32
	{
33
		Category { "Telegraphics" },
33
		Category { "Telegraphics" },
34
		Name { "Filter FoundryƉ" },
34
		Name { "Filter FoundryƉ" },
35
		Component { MainComponentVersion, "Filter Foundry" },
35
		Component { MainComponentVersion, "Filter Foundry" },
36
		HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
36
		HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
37
 
37
 
38
		CodePowerPC { 0, 0, "" },
38
		CodePowerPC { 0, 0, "" },
39
		#ifdef BUILD68K
39
		#ifdef BUILD68K
40
		Code68K { Filter, 16000 },
40
		Code68K { Filter, 16000 },
41
		#endif
41
		#endif
42
		#include "pipl_common.r"
42
		#include "pipl_common.r"
43
 
43
 
44
		// TODO: How to do that?
44
		// TODO: How to do that?
45
		//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
45
		//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
46
	}
46
	}
47
};
47
};
48
 
48
 
49
type 'tpLT' as 'PiPL';
49
type 'tpLT' as 'PiPL';
50
resource 'tpLT' (16000, purgeable)
50
resource 'tpLT' (16000, purgeable)
51
{
51
{
52
	{
52
	{
53
		CodePowerPC { 0, 0, "" },
53
		CodePowerPC { 0, 0, "" },
54
		#ifdef BUILD68K
54
		#ifdef BUILD68K
55
		Code68K { Filter, 16000 },
55
		Code68K { Filter, 16000 },
56
		#endif
56
		#endif
57
		#include "pipl_common.r"
57
		#include "pipl_common.r"
58
	}
58
	}
59
};
59
};
60
 
60
 
61
 
61
 
62
#ifdef BUILD68K
62
#ifdef BUILD68K
63
	include "68k.rsrc" ;
63
	include "68k.rsrc" ;
64
 
64
 
65
	#include "PiMI.r"
65
	#include "PiMI.r"
66
	
66
	
67
	resource 'PiMI' (16000, purgeable)
67
	resource 'PiMI' (16000, purgeable)
68
	{
68
	{
69
		latestFilterVersion, latestFilterSubVersion,
69
		latestFilterVersion, latestFilterSubVersion,
70
		0,
70
		0,
71
		supportsGrayScale|supportsRGBColor|supportsMultichannel,
71
		supportsGrayScale|supportsRGBColor|supportsMultichannel,
72
		'    ',
72
		'    ',
73
		{ }
73
		{ }
74
	};
74
	};
75
 
75
 
76
#endif
76
#endif
77
 
77
 
78
resource 'vers' (1){
78
resource 'vers' (1){
79
	VERS_RSRC 
79
	VERS_RSRC 
80
#ifdef BUILDFAT
80
#ifdef BUILDFAT
81
	" (Classic/68K)"
81
	" (Classic/68K)"
82
#else
82
#else
83
	" (Classic)"
83
	" (Classic)"
84
#endif
84
#endif
85
};
85
};