TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicabstractnetwork.h
Go to the documentation of this file.
1 #ifndef MUSICABSTRACTNETWORK_H
2 #define MUSICABSTRACTNETWORK_H
3 
4 /***************************************************************************
5  * This file is part of the TTK Music Player project
6  * Copyright (C) 2015 - 2024 Greedysky Studio
7 
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17 
18  * You should have received a copy of the GNU General Public License along
19  * with this program; If not, see <http://www.gnu.org/licenses/>.
20  ***************************************************************************/
21 
22 #include "ttkabstractnetwork.h"
23 #include "musicnetworkthread.h"
24 #include "musicnetworkdefines.h"
25 #include "musicnumberutils.h"
26 #include "musicstringutils.h"
27 #include "musicalgorithmutils.h"
28 #include "musicsettingmanager.h"
29 
30 #include "qjson/parser.h"
31 
36 {
37  Q_OBJECT
39 public:
43  explicit MusicAbstractNetwork(QObject *parent = nullptr);
44 
45 public Q_SLOTS:
49  virtual void replyError(QNetworkReply::NetworkError error) override;
50 #ifndef QT_NO_SSL
51 
54  virtual void sslErrors(QNetworkReply *reply, const QList<QSslError> &errors) override;
55 #endif
56 
57 };
58 
59 #endif // MUSICABSTRACTNETWORK_H
#define TTK_MODULE_EXPORT
#define TTK_DECLARE_MODULE(Class)
Definition: ttkqtglobal.h:152
The class of the abstract network.
virtual void replyError(QNetworkReply::NetworkError error)
The class of the ttk abstract network.
virtual void sslErrors(QNetworkReply *reply, const QList< QSslError > &errors)