Add photoshop exporter template.
This commit is contained in:
27
project/vc8/PhotoshopExporter/PhotoshopExporter.h
Normal file
27
project/vc8/PhotoshopExporter/PhotoshopExporter.h
Normal 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
|
Reference in New Issue
Block a user