Max 5 API Reference
00001 /* jit.graphicexport.h 00002 @2004 Cycling '74 00003 Jeremy Bernstein jeremy@bootsquad.com 00004 00005 Just a couple of small things used by a handful of objects which 00006 export single frames as quicktime images, using jit.qt.movie. They 00007 need to maintain a few settings outside of the momentarily-instantiated 00008 jit.qt.movie instance, and we don't want them to have to link to Quicktime.lib 00009 That's all. A bit of trouble to go to, but hell. 00010 */ 00011 00012 #ifndef __JIT_GRAPHICEXPORT_H__ 00013 #define __JIT_GRAPHICEXPORT_H__ 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 #if C74_PRAGMA_STRUCT_PACKPUSH 00020 #pragma pack(push, 2) 00021 #elif C74_PRAGMA_STRUCT_PACK 00022 #pragma pack(2) 00023 #endif 00024 00025 typedef struct _graphic_exportsettings 00026 { 00027 void *settings; // actually a QTAtomContainer 00028 unsigned long type; // actually an OSType 00029 } t_graphic_exportsettings; 00030 00031 //qt utils 00032 void jit_qt_utils_atomcontainer_new(void **atc); 00033 void jit_qt_utils_atomcontainer_dispose(void *atc); 00034 00035 #if C74_PRAGMA_STRUCT_PACKPUSH 00036 #pragma pack(pop) 00037 #elif C74_PRAGMA_STRUCT_PACK 00038 #pragma pack() 00039 #endif 00040 00041 #ifdef __cplusplus 00042 } 00043 #endif 00044 00045 #endif
Copyright © 2008, Cycling '74