Add photoshop exporter template.

This commit is contained in:
castano
2008-06-19 00:37:15 +00:00
parent 6befe3505c
commit ce85eaff3e
3 changed files with 337 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#ifndef NV_PHOTOSHOP_EXPORTER_H
#define NV_PHOTOSHOP_EXPORTER_H
#include <PIExport.h> // Export Photoshop header file.
#include <PIUtilities.h> // SDK Utility library.
// Photoshop crazyness:
//#define gResult (*(globals->result))
#define gStuff (globals->exportParamBlock)
// This is our structure that we use to pass globals between routines:
struct Globals
{
short * result; // Must always be first in Globals.
ExportRecord * exportParamBlock; // Must always be second in Globals.
Boolean queryForParameters;
// ...
};
#endif // NV_PHOTOSHOP_EXPORTER_H