include(config.pri)
-SUBDIRS += aniplayer2
-win32: SUBDIRS += aniplayer2_dshow
+SUBDIRS += aniplayer
+win32: SUBDIRS += aniplayer_dshow
SUBDIRS += player
#ifndef ANIPLAYER_H
#define ANIPLAYER_H
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
#include <QObject>
#include <QString>
class VideoWidget;
class QTimerEvent;
-struct ANIPLAYER2SHARED_EXPORT Chapter
+struct ANIPLAYERSHARED_EXPORT Chapter
{
QString name;
qint64 time;
OtherStream
};
-struct ANIPLAYER2SHARED_EXPORT Stream
+struct ANIPLAYERSHARED_EXPORT Stream
{
QString name;
StreamType type;
};
typedef QList<Stream *> StreamList;
-class ANIPLAYER2SHARED_EXPORT AniPlayer : public QObject
+class ANIPLAYERSHARED_EXPORT AniPlayer : public QObject
{
Q_OBJECT
Q_PROPERTY(State state READ state NOTIFY stateChanged)
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-TARGET = aniplayer2
+TARGET = aniplayer
DESTDIR = ../build
TEMPLATE = lib
-DEFINES += ANIPLAYER2_LIBRARY
+DEFINES += ANIPLAYER_LIBRARY
-HEADERS += aniplayer2_global.h \
+HEADERS += aniplayer_global.h \
constants.h \
aniplayerapplication.h \
aniplayer.h \
-#ifndef ANIPLAYER2_GLOBAL_H
-#define ANIPLAYER2_GLOBAL_H
+#ifndef ANIPLAYER_GLOBAL_H
+#define ANIPLAYER_GLOBAL_H
#include <QtCore/qglobal.h>
-#if defined(ANIPLAYER2_LIBRARY)
-# define ANIPLAYER2SHARED_EXPORT Q_DECL_EXPORT
+#if defined(ANIPLAYER_LIBRARY)
+# define ANIPLAYERSHARED_EXPORT Q_DECL_EXPORT
#else
-# define ANIPLAYER2SHARED_EXPORT Q_DECL_IMPORT
+# define ANIPLAYERSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // LIBANIPLAYER2_GLOBAL_H
#ifndef ANIPLAYERAPPLICATION_H
#define ANIPLAYERAPPLICATION_H
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
#include <QtSingleApplication>
class AniPlayer;
#endif
#define qApp (AniPlayerApplication::instance())
-class ANIPLAYER2SHARED_EXPORT AniPlayerApplication : public QtSingleApplication
+class ANIPLAYERSHARED_EXPORT AniPlayerApplication : public QtSingleApplication
{
Q_OBJECT
public:
#ifndef VIDEOWIDGET_H
#define VIDEOWIDGET_H
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
#include <QWidget>
class AniPlayer;
-class ANIPLAYER2SHARED_EXPORT VideoWidget : public QWidget
+class ANIPLAYERSHARED_EXPORT VideoWidget : public QWidget
{
Q_OBJECT
Q_PROPERTY(bool fullScreen READ isFullScreen WRITE setFullScreen NOTIFY fullScreenChanged)
#ifndef VOLUMESLIDER_H
#define VOLUMESLIDER_H
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
#include <QWidget>
class QSlider;
class QPushButton;
-class ANIPLAYER2SHARED_EXPORT VolumeSlider : public QWidget
+class ANIPLAYERSHARED_EXPORT VolumeSlider : public QWidget
{
Q_OBJECT
Q_PROPERTY(double volume READ volume WRITE setVolume NOTIFY volumeChanged USER true)
INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
-LIBS += -laniplayer2_dshow
+LIBS += -laniplayer_dshow
LIBS += -L$$PWD/../build
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-TARGET = aniplayer2_dshow
+TARGET = aniplayer_dshow
DESTDIR = ../build
TEMPLATE = lib
-DEFINES += ANIPLAYER2_DSHOW_LIBRARY
+DEFINES += ANIPLAYER_DSHOW_LIBRARY
-HEADERS += aniplayer2_dshow_global.h
+HEADERS += aniplayer_dshow_global.h
HEADERS += \
aniplayerdshow.h \
videowidgetdshow.cpp
include(../config.pri)
-include(../aniplayer2/aniplayer2.pri)
+include(../aniplayer/aniplayer.pri)
LIBS += -lstrmiids -lole32 -lOleAut32 -lUser32
-#ifndef ANIPLAYER2_DSHOW_GLOBAL_H
-#define ANIPLAYER2_DSHOW_GLOBAL_H
+#ifndef ANIPLAYER_DSHOW_GLOBAL_H
+#define ANIPLAYER_DSHOW_GLOBAL_H
#include <QtCore/qglobal.h>
-#if defined(ANIPLAYER2_DSHOW_LIBRARY)
-# define ANIPLAYER2_DSHOWSHARED_EXPORT Q_DECL_EXPORT
+#if defined(ANIPLAYER_DSHOW_LIBRARY)
+# define ANIPLAYER_DSHOWSHARED_EXPORT Q_DECL_EXPORT
#else
-# define ANIPLAYER2_DSHOWSHARED_EXPORT Q_DECL_IMPORT
+# define ANIPLAYER_DSHOWSHARED_EXPORT Q_DECL_IMPORT
#endif
-#endif // ANIPLAYER2_DSHOW_GLOBAL_H
+#endif // ANIPLAYER_DSHOW_GLOBAL_H
#ifndef ANIPLAYERDSHOW_H
#define ANIPLAYERDSHOW_H
-#include "aniplayer2_dshow_global.h"
+#include "aniplayer_dshow_global.h"
#include <aniplayer.h>
class VideoWidgetDShow;
struct AniPlayerDShowInternal;
-class ANIPLAYER2_DSHOWSHARED_EXPORT AniPlayerDShow : public AniPlayer
+class ANIPLAYER_DSHOWSHARED_EXPORT AniPlayerDShow : public AniPlayer
{
friend struct AniPlayerDShowInternal;
Q_OBJECT
#ifndef VIDEOWIDGETDSHOW_H
#define VIDEOWIDGETDSHOW_H
-#include "aniplayer2_dshow_global.h"
+#include "aniplayer_dshow_global.h"
#include <videowidget.h>
class AniPlayerDShow;
-class ANIPLAYER2_DSHOWSHARED_EXPORT VideoWidgetDShow : public VideoWidget
+class ANIPLAYER_DSHOWSHARED_EXPORT VideoWidgetDShow : public VideoWidget
{
Q_OBJECT
public:
menu.ui
include(../config.pri)
-include(../aniplayer2/aniplayer2.pri)
-win32:include(../aniplayer2_dshow/aniplayer2_dshow.pri)
+include(../aniplayer/aniplayer.pri)
+win32:include(../aniplayer_dshow/aniplayer_dshow.pri)
win32 {
CONFIG -= embed_manifest_exe