11 #ifndef OPENSHOT_QT_UTILITIES_H 12 #define OPENSHOT_QT_UTILITIES_H 16 #include <QTextStream> 20 #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) 22 using TextStreamFunction = QTextStream& (*)(QTextStream&);
23 constexpr TextStreamFunction endl = ::endl;
30 static inline void cleanUpBuffer(
void *info)
35 uint8_t *qbuffer =
reinterpret_cast<uint8_t *
>(info);
40 #endif // OPENSHOT_QT_UTILITIES_H This namespace is the default namespace for all code in the openshot library.