201,6 → 201,11 |
return e; |
} |
|
OSErr saveparams_guf(Handle h, Boolean useparm) { |
// TODO: implement |
return NULL; |
} |
|
OSErr savehandleintofile(Handle h,FILEREF r){ |
Ptr p; |
FILECOUNT n; |
214,7 → 219,7 |
return e; |
} |
|
Boolean savefile_afs_pff_picotxt(StandardFileReply *sfr){ |
Boolean savefile_afs_pff_picotxt_guf(StandardFileReply *sfr){ |
FILEREF r; |
Handle h; |
Boolean res = false; |
232,6 → 237,14 |
} |
} |
|
if (fileHasExtension(sfr, TEXT(".guf"))) { |
// GIMP UserFilter file |
if ((h = PINEWHANDLE(1))) { // don't set initial size to 0, since some hosts (e.g. GIMP/PSPI) are incompatible with that. |
res = !(saveparams_guf(h, false) || savehandleintofile(h, r)); |
PIDISPOSEHANDLE(h); |
} |
} |
|
if ((fileHasExtension(sfr, TEXT(".afs"))) || (fileHasExtension(sfr, TEXT(".pff")))) { |
if (fileHasExtension(sfr, TEXT(".pff"))) { |
// If it is a Premiere settings file, we need to swap the channels red and blue |