-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
258 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../../src/SkMultimedia/src/media/WFilterBarcode.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../../src/SkMultimedia/src/media/WFilterBarcode.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../../../src/SkMultimedia/src/media/WFilterBarcode_p.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../../../src/SkMultimedia/src/media/WFilterBarcode_p.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
SK = $$_PRO_FILE_PWD_/../.. | ||
|
||
CONFIG(debug, debug|release) { | ||
TARGET = SkMultimediaD | ||
} else { | ||
TARGET = SkMultimedia | ||
} | ||
|
||
DESTDIR = $$SK/lib | ||
|
||
TEMPLATE = lib | ||
|
||
QT += qml | ||
|
||
win32:CONFIG += dll | ||
|
||
# C++17 | ||
CONFIG += c++1z | ||
|
||
DEFINES += SK_MULTIMEDIA_LIBRARY | ||
|
||
unix:QMAKE_LFLAGS += "-Wl,-rpath,'\$$ORIGIN'" | ||
|
||
include(../Sk.pri) | ||
include(src/media/media.pri) | ||
|
||
INCLUDEPATH += $$SK/include/SkCore \ | ||
$$SK/include/SkCore/private \ | ||
$$SK/include/SkGui \ | ||
$$SK/include/SkGui/private \ | ||
$$SK/include/SkBarcode \ | ||
$$SK/include/SkBarcode/private \ | ||
$$SK/include | ||
|
||
android { | ||
CONFIG(debug, debug|release) { | ||
|
||
LIBS += -L$$SK/lib -lSkCoreD_$$ABI \ | ||
-L$$SK/lib -lSkGuiD_$$ABI \ | ||
-L$$SK/lib -lSkBarcodeD_$$ABI | ||
} else { | ||
LIBS += -L$$SK/lib -lSkCore_$$ABI \ | ||
-L$$SK/lib -lSkGui_$$ABI \ | ||
-L$$SK/lib -lSkBarcode_$$ABI | ||
} | ||
} else { | ||
CONFIG(debug, debug|release) { | ||
|
||
LIBS += -L$$SK/lib -lSkCoreD \ | ||
-L$$SK/lib -lSkGuiD \ | ||
-L$$SK/lib -lSkBarcodeD | ||
} else { | ||
LIBS += -L$$SK/lib -lSkCore \ | ||
-L$$SK/lib -lSkGui \ | ||
-L$$SK/lib -lSkBarcode | ||
} | ||
} | ||
|
||
macx { | ||
CONFIG(debug, debug|release) { | ||
QMAKE_POST_LINK = install_name_tool -change libSkCoreD.dylib \ | ||
@loader_path/libSkCoreD.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
|
||
QMAKE_POST_LINK += install_name_tool -change libSkGuiD.dylib \ | ||
@loader_path/libSkGuiD.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
|
||
QMAKE_POST_LINK += install_name_tool -change libSkBarcodeD.dylib \ | ||
@loader_path/libSkBarcodeD.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
} else { | ||
QMAKE_POST_LINK = install_name_tool -change libSkCore.dylib \ | ||
@loader_path/libSkCore.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
|
||
QMAKE_POST_LINK += install_name_tool -change libSkGui.dylib \ | ||
@loader_path/libSkGui.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
|
||
QMAKE_POST_LINK += install_name_tool -change libSkBarcode.dylib \ | ||
@loader_path/libSkBarcode.dylib $${DESTDIR}/lib$${TARGET}.dylib; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
//================================================================================================= | ||
/* | ||
Copyright (C) 2015-2020 Sky kit authors. <http://omega.gg/Sky> | ||
Author: Benjamin Arnaud. <http://bunjee.me> <[email protected]> | ||
This file is part of SkMultimedia. | ||
- GNU Lesser General Public License Usage: | ||
This file may be used under the terms of the GNU Lesser General Public License version 3 as | ||
published by the Free Software Foundation and appearing in the LICENSE.md file included in the | ||
packaging of this file. Please review the following information to ensure the GNU Lesser | ||
General Public License requirements will be met: https://www.gnu.org/licenses/lgpl.html. | ||
- Private License Usage: | ||
Sky kit licensees holding valid private licenses may use this file in accordance with the | ||
private license agreement provided with the Software or, alternatively, in accordance with the | ||
terms contained in written agreement between you and Sky kit authors. For further information | ||
contact us at [email protected]. | ||
*/ | ||
//================================================================================================= | ||
|
||
#include "WFilterBarcode.h" | ||
|
||
#ifndef SK_NO_FILTERBARCODE | ||
|
||
//------------------------------------------------------------------------------------------------- | ||
// Private | ||
//------------------------------------------------------------------------------------------------- | ||
|
||
#include "WFilterBarcode_p.h" | ||
|
||
WFilterBarcodePrivate::WFilterBarcodePrivate(WFilterBarcode * p) : WPrivate(p) {} | ||
|
||
void WFilterBarcodePrivate::init() {} | ||
|
||
//------------------------------------------------------------------------------------------------- | ||
// Ctor / dtor | ||
//------------------------------------------------------------------------------------------------- | ||
|
||
/* explicit */ WFilterBarcode::WFilterBarcode(QObject * parent) | ||
: QObject(parent), WPrivatable(new WFilterBarcodePrivate(this)) | ||
{ | ||
Q_D(WFilterBarcode); d->init(); | ||
} | ||
|
||
#endif // SK_NO_FILTERBARCODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
//================================================================================================= | ||
/* | ||
Copyright (C) 2015-2020 Sky kit authors. <http://omega.gg/Sky> | ||
Author: Benjamin Arnaud. <http://bunjee.me> <[email protected]> | ||
This file is part of SkMultimedia. | ||
- GNU Lesser General Public License Usage: | ||
This file may be used under the terms of the GNU Lesser General Public License version 3 as | ||
published by the Free Software Foundation and appearing in the LICENSE.md file included in the | ||
packaging of this file. Please review the following information to ensure the GNU Lesser | ||
General Public License requirements will be met: https://www.gnu.org/licenses/lgpl.html. | ||
- Private License Usage: | ||
Sky kit licensees holding valid private licenses may use this file in accordance with the | ||
private license agreement provided with the Software or, alternatively, in accordance with the | ||
terms contained in written agreement between you and Sky kit authors. For further information | ||
contact us at [email protected]. | ||
*/ | ||
//================================================================================================= | ||
|
||
#ifndef WFILTERBARCODE_H | ||
#define WFILTERBARCODE_H | ||
|
||
// Qt includes | ||
#include <QObject> | ||
|
||
// Sk includes | ||
#include <Sk> | ||
|
||
#ifndef SK_NO_FILTERBARCODE | ||
|
||
class WFilterBarcodePrivate; | ||
|
||
class SK_MULTIMEDIA_EXPORT WFilterBarcode : public QObject, public WPrivatable | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit WFilterBarcode(QObject * parent = NULL); | ||
|
||
private: | ||
W_DECLARE_PRIVATE(WFilterBarcode) | ||
}; | ||
|
||
#endif // SK_NO_FILTERBARCODE | ||
#endif // WFILTERBARCODE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
//================================================================================================= | ||
/* | ||
Copyright (C) 2015-2020 Sky kit authors. <http://omega.gg/Sky> | ||
Author: Benjamin Arnaud. <http://bunjee.me> <[email protected]> | ||
This file is part of SkMultimedia. | ||
- GNU Lesser General Public License Usage: | ||
This file may be used under the terms of the GNU Lesser General Public License version 3 as | ||
published by the Free Software Foundation and appearing in the LICENSE.md file included in the | ||
packaging of this file. Please review the following information to ensure the GNU Lesser | ||
General Public License requirements will be met: https://www.gnu.org/licenses/lgpl.html. | ||
- Private License Usage: | ||
Sky kit licensees holding valid private licenses may use this file in accordance with the | ||
private license agreement provided with the Software or, alternatively, in accordance with the | ||
terms contained in written agreement between you and Sky kit authors. For further information | ||
contact us at [email protected]. | ||
*/ | ||
//================================================================================================= | ||
|
||
#ifndef WFILTERBARCODE_P_H | ||
#define WFILTERBARCODE_P_H | ||
|
||
/* W A R N I N G | ||
------------- | ||
This file is not part of the Sk API. It exists purely as an | ||
implementation detail. This header file may change from version to | ||
version without notice, or even be removed. | ||
We mean it. | ||
*/ | ||
|
||
// Private includes | ||
#include <private/Sk_p> | ||
|
||
#ifndef SK_NO_FILTERBARCODE | ||
|
||
class SK_MULTIMEDIA_EXPORT WFilterBarcodePrivate : public WPrivate | ||
{ | ||
public: | ||
WFilterBarcodePrivate(WFilterBarcode * p); | ||
|
||
void init(); | ||
|
||
protected: | ||
W_DECLARE_PUBLIC(WFilterBarcode) | ||
}; | ||
|
||
#endif // SK_NO_FILTERBARCODE | ||
#endif // WFILTERBARCODE_P_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Media module | ||
|
||
HEADERS += src/media/WFilterBarcode.h \ | ||
src/media/WFilterBarcode_p.h \ | ||
|
||
SOURCES += src/media/WFilterBarcode.cpp \ |