Subversion Repositories filter_foundry

Rev

Rev 375 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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