tahoma2d/toonz/sources/include/movsettings.h

81 lines
1.7 KiB
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#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
2017-05-31 07:56:11 +12:00
#if !defined(x64) && !defined(__LP64__) && !defined(LINUX) && !(defined(__GNUC__) && defined(_WIN32))
2016-03-19 06:57:51 +13:00
2016-04-15 17:11:23 +12:00
#ifdef _WIN32
2016-03-19 06:57:51 +13:00
#define list QuickTime_list
#define map QuickTime_map
#define iterator QuickTime_iterator
#define float_t QuickTime_float_t
#define GetProcessInformation QuickTime_GetProcessInformation
#define int_fast8_t QuickTime_int_fast8_t
#define int_fast16_t QuickTime_int_fast16_t
#define uint_fast16_t QuickTime_uint_fast16_t
2016-03-19 06:57:51 +13:00
#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
#undef int_fast8_t
#undef int_fast16_t
#undef uint_fast16_t
2016-03-19 06:57:51 +13:00
#include "texception.h"
#include "tpropertytype.h"
//#include "timageinfo.h"
//#include "tlevel_io.h"
#include "tproperty.h"
2016-06-15 18:43:10 +12:00
#else // _WIN32
2016-03-19 06:57:51 +13:00
#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
2016-06-15 18:43:10 +12:00
#endif // !_WIN32
2016-03-19 06:57:51 +13:00
void DVAPI fromPropertiesToAtoms(TPropertyGroup &pg, QTAtomContainer &atoms);
2016-06-15 18:43:10 +12:00
void DVAPI fromAtomsToProperties(const QTAtomContainer &atoms,
TPropertyGroup &pg);
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
#endif //! 64 bit
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
void DVAPI openMovSettingsPopup(TPropertyGroup *props,
bool macBringToFront = false);
2016-03-19 06:57:51 +13:00
#endif