You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#ifndef MPVHEAD_H
|
|
|
|
|
|
#define MPVHEAD_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 // MPVHEAD_H
|