tahoma2d/toonz/sources/include/movsettings.h
Toshihiro Shimizu 890dddabbd first commit
2016-03-19 02:57:51 +09:00

72 lines
1.3 KiB
C

#ifndef TMOVSETTINGS_INCLUDED
#define TMOVSETTINGS_INCLUDED
#undef DVAPI
#undef DVVAR
#ifdef TNZCORE_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif
#if !(defined(x64) || defined(__LP64__))
#ifdef WIN32
#define list List
#define map Map
#define iterator Iterator
#define float_t Float_t
#define GetProcessInformation GetProcessInformation_
#include "QTML.h"
#include "Movies.h"
#include "Script.h"
#include "FixMath.h"
#include "Sound.h"
#include "QuickTimeComponents.h"
#include "tquicktime.h"
#undef list
#undef map
#undef iterator
#undef float_t
#undef GetProcessInformation
#include "texception.h"
#include "tpropertytype.h"
//#include "timageinfo.h"
//#include "tlevel_io.h"
#include "tproperty.h"
#else //WIN32
#define list List
#define map Map
#define iterator Iterator
#undef float_t
#include <Carbon/Carbon.h>
#include <QuickTime/Movies.h>
#include <QuickTime/ImageCompression.h>
#include <QuickTime/QuickTimeComponents.h>
#undef list
#undef map
#undef iterator
#undef float_t
#endif //!WIN32
void DVAPI fromPropertiesToAtoms(TPropertyGroup &pg, QTAtomContainer &atoms);
void DVAPI fromAtomsToProperties(const QTAtomContainer &atoms, TPropertyGroup &pg);
#endif //!64 bit
void DVAPI openMovSettingsPopup(TPropertyGroup *props, bool macBringToFront = false);
#endif