51 lines
1.5 KiB
C
51 lines
1.5 KiB
C
#ifndef VLCHEAD_H
|
|
#define VLCHEAD_H 1
|
|
|
|
# ifdef __cplusplus
|
|
extern "C" {
|
|
# endif
|
|
|
|
#ifdef vlc3
|
|
#include <libvlc.h>
|
|
#include <libvlc_renderer_discoverer.h>
|
|
#include <libvlc_media.h>
|
|
#include <libvlc_media_player.h>
|
|
#include <libvlc_media_list.h>
|
|
#include <libvlc_media_list_player.h>
|
|
#include <libvlc_media_library.h>
|
|
#include <libvlc_media_discoverer.h>
|
|
#include <libvlc_events.h>
|
|
#include <libvlc_dialog.h>
|
|
#include <libvlc_vlm.h>
|
|
#include <deprecated.h>
|
|
#else
|
|
#include <libvlc.h>
|
|
#include <libvlc_structures.h>
|
|
#include <libvlc_media.h>
|
|
#include <libvlc_media_player.h>
|
|
#include <libvlc_media_list.h>
|
|
#include <libvlc_media_list_player.h>
|
|
#include <libvlc_media_library.h>
|
|
#include <libvlc_media_discoverer.h>
|
|
#include <libvlc_events.h>
|
|
#include <libvlc_vlm.h>
|
|
#include <deprecated.h>
|
|
#endif
|
|
|
|
# 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 // VLCHEAD_H
|