Subversion Repositories filter_foundry

Rev

Rev 375 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 375 Rev 520
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.com.au
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
/* PiPL resource (Carbon Mach-O) */
20
/* PiPL resource (Carbon Mach-O) */
21
 
21
 
22
#include "mactypes.r"
22
#include "mactypes.r"
23
#include "AEDataModel.r"
23
#include "AEDataModel.r"
24
 
24
 
25
#include "PIResDefines.h"	// Defines plug-in versions.
25
#include "PIResDefines.h"	// Defines plug-in versions.
26
#include "PiPL.r"
26
#include "PiPL.r"
27
 
27
 
28
#include "ui.h"
28
#include "ui.h"
29
#include "version.h"
29
#include "version.h"
30
 
30
 
31
resource 'PiPL' (16000, purgeable)
31
resource 'PiPL' (16000, purgeable)
32
{
32
{
33
	{
33
	{
34
		Category { "Telegraphics" },
34
		Category { "Telegraphics" },
35
		Name { "Filter FoundryƉ" },
35
		Name { "Filter FoundryƉ" },
36
 
-
 
37
#include "PiPL_common.r"
36
		Component { MainComponentVersion, "Filter Foundry" },
-
 
37
		HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
38
 
38
 
39
#if (defined(__x86_64__))
39
		#if (defined(__x86_64__))
40
		CodeMacIntel64 { "PluginMain" },
40
		CodeMacIntel64 { "PluginMain" },
41
#endif
41
		#endif
42
#if (defined(__i386__))
42
		#if (defined(__i386__))
43
		CodeMacIntel32 { "PluginMain" },
43
		CodeMacIntel32 { "PluginMain" },
44
#endif
44
		#endif
45
#if (defined(__ppc__))
45
		#if (defined(__ppc__))
46
		CodeMachOPowerPC { 0, 0, "PluginMain" },
46
		CodeMachOPowerPC { 0, 0, "PluginMain" },
47
#endif
47
		#endif
-
 
48
		#include "PiPL_common.r"
48
 
49
 
-
 
50
		// TODO: How to do that?
49
		HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
51
		//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
50
	}
52
	}
51
};
53
};
52
 
54
 
53
type 'tpLT' as 'PiPL';
55
type 'tpLT' as 'PiPL';
54
resource 'tpLT' (16000, purgeable)
56
resource 'tpLT' (16000, purgeable)
55
{
57
{
56
	{
58
	{
57
#include "pipl_common.r"
-
 
58
 
-
 
59
#if (defined(__x86_64__))
59
		#if (defined(__x86_64__))
60
		CodeMacIntel64 { "PluginMain" },
60
		CodeMacIntel64 { "PluginMain" },
61
#endif
61
		#endif
62
#if (defined(__i386__))
62
		#if (defined(__i386__))
63
		CodeMacIntel32 { "PluginMain" },
63
		CodeMacIntel32 { "PluginMain" },
64
#endif
64
		#endif
65
#if (defined(__ppc__))
65
		#if (defined(__ppc__))
66
		CodeMachOPowerPC { 0, 0, "PluginMain" },
66
		CodeMachOPowerPC { 0, 0, "PluginMain" },
67
#endif
67
		#endif
-
 
68
		#include "pipl_common.r"
68
	}
69
	}
69
};
70
};
70
 
71
 
71
resource 'vers' (1){
72
resource 'vers' (1){
72
	VERS_RSRC " (Carbon Mach-O)"
73
	VERS_RSRC " (Carbon Mach-O)"
73
};
74
};