33 lines
787 B
C++
33 lines
787 B
C++
#ifndef RM_AVIREPAIR_H
|
|
#define RM_AVIREPAIR_H
|
|
|
|
#include <QObject>
|
|
//#include "rm_constants.h"
|
|
|
|
|
|
class RMAVIRepair : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit RMAVIRepair(QObject *parent = 0);
|
|
static bool repair(QString& filePath, QString& destPath);
|
|
#if (SUPPORT_AVI_FIX_DURL)
|
|
static bool repairV50(QString& filePath, QString& destPath);
|
|
#endif
|
|
|
|
static bool clipToPair(QString& filePath, QString& pairfilePath);
|
|
#if (REPAIR_CHECK_SUBTITLE)
|
|
// 파일명과 비교하여 30분이상 차이나면 처리하지 않음
|
|
static bool compare_subtitle_time(QString& filePath, char* subtitle);
|
|
#endif
|
|
// 명칭뒤에 _f 추가
|
|
#if (REPAIR_FAILED_TAG)
|
|
static void rename_failed(QString& filePath);
|
|
#endif
|
|
signals:
|
|
|
|
public slots:
|
|
};
|
|
|
|
#endif // RM_AVIREPAIR_H
|