]> Some of my projects - aniplayer2.git/commitdiff
Rename to aniplayer
authorAPTX <redacted>
Sat, 2 Mar 2013 15:06:48 +0000 (16:06 +0100)
committerAPTX <redacted>
Sat, 2 Mar 2013 15:06:48 +0000 (16:06 +0100)
13 files changed:
aniplayer.pro
aniplayer/aniplayer.h
aniplayer/aniplayer.pro
aniplayer/aniplayer_global.h
aniplayer/aniplayerapplication.h
aniplayer/videowidget.h
aniplayer/volumeslider.h
aniplayer_dshow/aniplayer_dshow.pri
aniplayer_dshow/aniplayer_dshow.pro
aniplayer_dshow/aniplayer_dshow_global.h
aniplayer_dshow/aniplayerdshow.h
aniplayer_dshow/videowidgetdshow.h
player/player.pro

index 83c1f96..7bff573 100644 (file)
@@ -3,6 +3,6 @@ CONFIG += ordered
 
 include(config.pri)
 
-SUBDIRS += aniplayer2
-win32: SUBDIRS += aniplayer2_dshow
+SUBDIRS += aniplayer
+win32: SUBDIRS += aniplayer_dshow
 SUBDIRS += player
index 3ba45e2..31d4676 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef ANIPLAYER_H
 #define ANIPLAYER_H
 
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
 
 #include <QObject>
 #include <QString>
@@ -11,7 +11,7 @@
 class VideoWidget;
 class QTimerEvent;
 
-struct ANIPLAYER2SHARED_EXPORT Chapter
+struct ANIPLAYERSHARED_EXPORT Chapter
 {
        QString name;
        qint64 time;
@@ -26,7 +26,7 @@ enum StreamType
        OtherStream
 };
 
-struct ANIPLAYER2SHARED_EXPORT Stream
+struct ANIPLAYERSHARED_EXPORT Stream
 {
        QString name;
        StreamType type;
@@ -34,7 +34,7 @@ struct ANIPLAYER2SHARED_EXPORT Stream
 };
 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)
index 9caf300..73438e1 100644 (file)
@@ -2,14 +2,14 @@ QT += core gui
 
 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 \
index c26d14c..fbf7237 100644 (file)
@@ -1,12 +1,12 @@
-#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
index 6682941..e49a6e6 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef ANIPLAYERAPPLICATION_H
 #define ANIPLAYERAPPLICATION_H
 
-#include "aniplayer2_global.h"
+#include "aniplayer_global.h"
 #include <QtSingleApplication>
 
 class AniPlayer;
@@ -11,7 +11,7 @@ class AniPlayer;
 #endif
 #define qApp (AniPlayerApplication::instance())
 
-class ANIPLAYER2SHARED_EXPORT AniPlayerApplication : public QtSingleApplication
+class ANIPLAYERSHARED_EXPORT AniPlayerApplication : public QtSingleApplication
 {
        Q_OBJECT
 public:
index 64b0075..cd9b702 100644 (file)
@@ -1,12 +1,12 @@
 #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)
index 25e8fc5..cc3b532 100644 (file)
@@ -1,13 +1,13 @@
 #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)
index 6a0e8e5..a5f86da 100644 (file)
@@ -1,5 +1,5 @@
 INCLUDEPATH += $$PWD
 INCLUDEPATH += $$PWD
 DEPENDPATH += $$PWD
-LIBS += -laniplayer2_dshow
+LIBS += -laniplayer_dshow
 LIBS += -L$$PWD/../build
index 43f1047..9c19b1b 100644 (file)
@@ -2,15 +2,15 @@ QT += core gui
 
 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 \
@@ -24,6 +24,6 @@ SOURCES += \
        videowidgetdshow.cpp
 
 include(../config.pri)
-include(../aniplayer2/aniplayer2.pri)
+include(../aniplayer/aniplayer.pri)
 
 LIBS += -lstrmiids -lole32 -lOleAut32 -lUser32
index b5d8367..14ccc79 100644 (file)
@@ -1,12 +1,12 @@
-#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
index 603dbab..6d55837 100644 (file)
@@ -1,14 +1,14 @@
 #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
index 399349a..afa7724 100644 (file)
@@ -1,12 +1,12 @@
 #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:
index b62b119..dbbcc5a 100644 (file)
@@ -22,8 +22,8 @@ FORMS    += mainwindow.ui \
        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