Subversion Repositories filter_foundry

Rev

Rev 520 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft

    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 "mactypes.r"
#include "AEDataModel.r"

#include "PIResDefines.h"       // Defines plug-in versions.
#include "PiPL.r"

#include "ui.h"
#include "version.h"

resource 'PiPL' (16000, purgeable)
{
        {
                Category { "Telegraphics" },
                Name { "Filter FoundryƉ" },
                Component { MainComponentVersion, "Filter Foundry" },
                HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },

                CodePowerPC { 0, 0, "" },
                #ifdef BUILD68K
                Code68K { Filter, 16000 },
                #endif
                #include "pipl_common.r"

                // TODO: How to do that?
                //ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
        }
};

type 'tpLT' as 'PiPL';
resource 'tpLT' (16000, purgeable)
{
        {
                CodePowerPC { 0, 0, "" },
                #ifdef BUILD68K
                Code68K { Filter, 16000 },
                #endif
                #include "pipl_common.r"
        }
};


#ifdef BUILD68K
        include "68k.rsrc" ;

        #include "PiMI.r"
        
        resource 'PiMI' (16000, purgeable)
        {
                latestFilterVersion, latestFilterSubVersion,
                0,
                supportsGrayScale|supportsRGBColor|supportsMultichannel,
                '    ',
                { }
        };

#endif

resource 'vers' (1){
        VERS_RSRC 
#ifdef BUILDFAT
        " (Classic/68K)"
#else
        " (Classic)"
#endif
};