TTKMusicPlayer  4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicconsolemain.cpp
Go to the documentation of this file.
1 #include "musicconsolemodule.h"
2 #include "ttkinitialization.h"
3 #if TTK_QT_VERSION_CHECK(5,0,0)
4 # include <QGuiApplication>
5 using TTKApplication = QGuiApplication;
6 #else
7 # include <QApplication>
8 using TTKApplication = QApplication;
9 #endif
10 
11 int main(int argc, char *argv[])
12 {
13  TTKApplication app(argc, argv);
15 
16  MusicConsoleModule console;
17  return console.initialize() ? EXIT_SUCCESS : EXIT_FAILURE;
18 }
#define TTK_REGISTER_ORGANIZATION(ORG)
int main(int argc, char *argv[])
The class of the ttk application.
The class of the music console module.