-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 9adf3e4
Showing
48 changed files
with
4,104 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,17 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"${workspaceFolder}/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "/usr/bin/clang-9", | ||
"cStandard": "c11", | ||
"cppStandard": "c++14", | ||
"intelliSenseMode": "linux-clang-x64", | ||
"compileCommands": "${workspaceFolder}/build/compile_commands.json" | ||
} | ||
], | ||
"version": 4 | ||
} |
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,30 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "g++ - Build and debug active file", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/build/LIBREMM", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "Make", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"visualizerFile": "/home/merdak/.config/Code/User/workspaceStorage/598ae159f6ad3f48c34c73a9f4284657/tonka3000.qtvsctools/qt.natvis.xml" | ||
} | ||
] | ||
} |
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,80 @@ | ||
{ | ||
"files.associations": { | ||
"iostream": "cpp", | ||
"filesystem": "cpp", | ||
"any": "cpp", | ||
"array": "cpp", | ||
"atomic": "cpp", | ||
"bit": "cpp", | ||
"*.tcc": "cpp", | ||
"bitset": "cpp", | ||
"cctype": "cpp", | ||
"cfenv": "cpp", | ||
"charconv": "cpp", | ||
"chrono": "cpp", | ||
"cinttypes": "cpp", | ||
"clocale": "cpp", | ||
"cmath": "cpp", | ||
"codecvt": "cpp", | ||
"complex": "cpp", | ||
"condition_variable": "cpp", | ||
"csetjmp": "cpp", | ||
"csignal": "cpp", | ||
"cstdarg": "cpp", | ||
"cstddef": "cpp", | ||
"cstdint": "cpp", | ||
"cstdio": "cpp", | ||
"cstdlib": "cpp", | ||
"cstring": "cpp", | ||
"ctime": "cpp", | ||
"cuchar": "cpp", | ||
"cwchar": "cpp", | ||
"cwctype": "cpp", | ||
"deque": "cpp", | ||
"forward_list": "cpp", | ||
"list": "cpp", | ||
"map": "cpp", | ||
"set": "cpp", | ||
"unordered_map": "cpp", | ||
"unordered_set": "cpp", | ||
"vector": "cpp", | ||
"exception": "cpp", | ||
"algorithm": "cpp", | ||
"functional": "cpp", | ||
"iterator": "cpp", | ||
"memory": "cpp", | ||
"memory_resource": "cpp", | ||
"numeric": "cpp", | ||
"optional": "cpp", | ||
"random": "cpp", | ||
"ratio": "cpp", | ||
"regex": "cpp", | ||
"string": "cpp", | ||
"string_view": "cpp", | ||
"system_error": "cpp", | ||
"tuple": "cpp", | ||
"type_traits": "cpp", | ||
"utility": "cpp", | ||
"fstream": "cpp", | ||
"future": "cpp", | ||
"initializer_list": "cpp", | ||
"iomanip": "cpp", | ||
"iosfwd": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"mutex": "cpp", | ||
"new": "cpp", | ||
"ostream": "cpp", | ||
"scoped_allocator": "cpp", | ||
"shared_mutex": "cpp", | ||
"sstream": "cpp", | ||
"stdexcept": "cpp", | ||
"streambuf": "cpp", | ||
"thread": "cpp", | ||
"typeindex": "cpp", | ||
"typeinfo": "cpp", | ||
"valarray": "cpp", | ||
"variant": "cpp" | ||
}, | ||
"C_Cpp.errorSquiggles": "Disabled" | ||
} |
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 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "CMake", // calistirilacak komut | ||
"type": "shell", | ||
"command": "cmake", | ||
"options": { // cmake kodunun nerede calisirilacagi | ||
"cwd": "${workspaceFolder}/build" | ||
}, | ||
"args": [ // cmake e verilen arguman (. ve ya ..) | ||
"${workspaceFolder}", | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"dependsOn": [ // baska taska bagla | ||
"createbuildFolder" | ||
] | ||
}, | ||
{ | ||
"label": "createbuildFolder", // build dosyasi olusturur | ||
"type": "shell", | ||
"command": "mkdir", | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"args": [ | ||
"-p", // mkdir ayni dizin altina var olan dosyayi olusturamaz ama p arg verirsen bunu hata olarak dondurmez | ||
"build" // olusturulucak klasor ismi | ||
] | ||
}, | ||
{ | ||
"label": "Make", | ||
"type": "shell", | ||
"command": "make", | ||
"options": { | ||
"cwd": "${workspaceFolder}/build" | ||
}, | ||
"args": [ | ||
"-l" // kac core varsa ona gore paralelliyor | ||
] | ||
} | ||
|
||
] | ||
|
||
} |
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,40 @@ | ||
if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) | ||
cmake_minimum_required(VERSION 3.16) | ||
endif() | ||
|
||
project(LIBREMM LANGUAGES CXX) | ||
|
||
set(CMAKE_AUTOMOC ON) # auto generate qt moc rules | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
|
||
set(PROJECT_DIR ${CMAKE_SOURCE_DIR}) | ||
|
||
set(PROJECT_SOURCE_DIR ${PROJECT_DIR}/src) | ||
set(PROJECT_INCLUDE_DIR ${PROJECT_DIR}/inc) | ||
|
||
set(PROJECT_SOURCES | ||
${PROJECT_SOURCE_DIR}/main.cpp | ||
${PROJECT_SOURCE_DIR}/backoffice.cpp | ||
${PROJECT_SOURCE_DIR}/playlistmodal.cpp | ||
) | ||
set(PROJECT_HEADERS | ||
${PROJECT_INCLUDE_DIR}/backoffice.h | ||
${PROJECT_INCLUDE_DIR}/srtparser.h | ||
${PROJECT_INCLUDE_DIR}/playlistmodal.h | ||
${PROJECT_INCLUDE_DIR}/iconv.hpp | ||
) | ||
|
||
find_package(Qt5 COMPONENTS Quick Qml QuickWidgets Multimedia REQUIRED) | ||
|
||
find_package(Iconv REQUIRED) | ||
|
||
qt5_add_resources(RSCS qml/qml.qrc icons/icons.qrc) | ||
|
||
include_directories(${PROJECT_INCLUDE_DIR}) | ||
|
||
add_executable(${PROJECT_NAME} ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${RSCS}) | ||
|
||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Quick Qt5::Qml Qt5::QuickWidgets Qt5::Multimedia iconv) | ||
|
||
install(TARGETS LIBREMM DESTINATION bin) |
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,7 @@ | ||
## LIBREMM PLAYER | ||
QML based lightweight media player. | ||
|
||
### How to build for Linux | ||
`sudo ./install.sh` | ||
|
||
Call in cli with `LIBREMM` |
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 @@ | ||
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1}]} |
Oops, something went wrong.