27 lines
862 B
C
27 lines
862 B
C
#ifndef MPVINCLUDE_H
|
|
#define MPVINCLUDE_H
|
|
|
|
# ifdef __cplusplus
|
|
extern "C" {
|
|
# endif
|
|
|
|
#include <client.h>
|
|
#include <render_gl.h>
|
|
|
|
# ifdef __cplusplus
|
|
}
|
|
# endif
|
|
|
|
#include "qdatetime.h"
|
|
#pragma execution_character_set("utf-8")
|
|
|
|
#define TIMEMS qPrintable(QTime::currentTime().toString("HH:mm:ss zzz"))
|
|
#define TIME qPrintable(QTime::currentTime().toString("HH:mm:ss"))
|
|
#define QDATE qPrintable(QDate::currentDate().toString("yyyy-MM-dd"))
|
|
#define QTIME qPrintable(QTime::currentTime().toString("HH-mm-ss"))
|
|
#define DATETIME qPrintable(QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss"))
|
|
#define STRDATETIME qPrintable(QDateTime::currentDateTime().toString("yyyy-MM-dd-HH-mm-ss"))
|
|
#define STRDATETIMEMS qPrintable(QDateTime::currentDateTime().toString("yyyy-MM-dd-HH-mm-ss-zzz"))
|
|
|
|
#endif // MPVINCLUDE_H
|