Subversion Repositories filter_foundry

Rev

Rev 259 | Rev 439 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 259 Rev 334
Line -... Line 1...
-
 
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
 
1
/* Copyright 1993 - 1999 Adobe Systems Incorporated                */
21
/* Portions Copyright 1993 - 1999 Adobe Systems Incorporated */
2
/* All Rights Reserved.                                            */
22
/* All Rights Reserved.                                      */
3
 
23
 
4
#include <stddef.h>                             // Standard definitions.
24
#include <stddef.h>                     // Standard definitions.
5
//#include <Types.h>                            // Standard types.
25
//#include <Types.h>                    // Standard types.
6
 
26
 
Line 12... Line 32...
12
//#include "PIDefines.h"                        // Plug-in definitions.
32
//#include "PIDefines.h"                // Plug-in definitions.
13
//#include "FileUtilities.h"            // Simple file utilities.
33
//#include "FileUtilities.h"            // Simple file utilities.
14
 
34
 
15
Boolean HostDescriptorAvailable (PIDescriptorParameters *procs,
35
Boolean HostDescriptorAvailable (PIDescriptorParameters *procs,
16
                                                                 Boolean *outNewerVersion);
36
                                 Boolean *outNewerVersion);
-
 
37
 
17
OSErr HostCloseReader (PIDescriptorParameters *procs,
38
OSErr HostCloseReader (PIDescriptorParameters *procs,
18
                                           HandleProcs *hProcs,
39
                       HandleProcs *hProcs,
19
                                           PIReadDescriptor *token);
40
                       PIReadDescriptor *token);
-
 
41
 
20
OSErr   HostCloseWriter(PIDescriptorParameters *procs,
42
OSErr HostCloseWriter(PIDescriptorParameters *procs,
21
                                                HandleProcs *hProcs,
43
                      HandleProcs *hProcs,
22
                                                PIWriteDescriptor *token);
44
                      PIWriteDescriptor *token);
-
 
45
 
23
OSErr put_cstring(PIWriteDescriptor token,DescriptorKeyID key,char *s);
46
OSErr put_cstring(PIWriteDescriptor token, DescriptorKeyID key, char *s);
-
 
47
 
24
char *get_cstring(PIReadDescriptor token);
48
char *get_cstring(PIReadDescriptor token);
25
 
49
 
26
enum ScriptingShowDialog {
50
enum ScriptingShowDialog {
27
        SCR_NO_SCRIPT,
51
        SCR_NO_SCRIPT,
28
        SCR_SHOW_DIALOG,
52
        SCR_SHOW_DIALOG,
29
        SCR_HIDE_DIALOG
53
        SCR_HIDE_DIALOG
30
};
54
};
31
 
55
 
32
enum ScriptingShowDialog ReadScriptParamsOnRead(void);
56
enum ScriptingShowDialog ReadScriptParamsOnRead(void);
-
 
57
 
33
OSErr WriteScriptParamsOnRead(void);
58
OSErr WriteScriptParamsOnRead(void);
34
 
59
 
35
OSType getAeteKey(char c, PARM_T *parm);
60
OSType getAeteKey(char c, PARM_T *parm);
36
 
61
 
37
//-------------------------------------------------------------------------------
62
//-------------------------------------------------------------------------------