TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicabstractdjradiorequest.h
Go to the documentation of this file.
1 #ifndef MUSICABSTRACTDJRADIOREQUEST_H
2 #define MUSICABSTRACTDJRADIOREQUEST_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 "musicwyqueryinterface.h"
24 
25 static constexpr const char *DJ_CATEGORY_URL = "NVkzVk1qY3JGODB1MEpMWEVWMzBkVGZKcFkzK0ppcks1L0tKdnc5emZWUndFYWtjNEZTbWo0dytIakRJNWJyTE5pOXExUT09";
26 static constexpr const char *DJ_RADIO_LIST_URL = "RkpnbVYvN3RUOUFZY2J2RXpBMFNZLy9lTHU2bnF6dUp1M1VIUjkzSDJJNzJYZVFiSWx3cHFqbjlNSkRhU1JuRERHamVoWWRiZ3RNb000VXQ3Y0dJbm1CMnpUbz0=";
27 static constexpr const char *DJ_DETAIL_URL = "WjRXcVYzQktuOHlRaHlYWVR3bXpUcnpHTmVYS1c5SkVBTktmQ1AvbDBqMUNWYnRiRUh3eDRzclhibnp4SDZ2OGsweWxkQT09";
28 static constexpr const char *DJ_DETAIL_DATA_URL = "RldscFN4UXIreThMWlNOSWZ1TFRuZGp2dWlDL2xRZGJtY3EzM0kxVlFrNGVLUGhO";
29 static constexpr const char *DJ_RECOMMEND_URL = "Rko5M01xTW9ldnUyM0NZbDJjL2RvVVZicGEvVmE4Ky9wZU5KQjUzdkZ6Myt0bVZpa1N0TEZwbjZkUnl5UnZZT0E4V3R4dz09";
30 static constexpr const char *DJ_HOT_URL = "UklIY0duakY0L0lPcktkSU90N0huckNuRHY0ZWh0Q0lzbndaZ0IvakhwMjhHdVBEa0poQ0dDMFZvTjR0OGdoVA==";
31 static constexpr const char *DJ_HOT_DATA_URL = "NEZ4U1hlQnQ4SW1MQnNidE9ycytIWTZLR1E0PQ==";
32 
33 
38 {
39  Q_OBJECT
41 public:
45  explicit MusicAbstractDJRadioRequest(QObject *parent = nullptr);
46 
50  inline const MusicResultDataItemList& items() const { return m_items; }
51 
52 Q_SIGNALS:
56  void createProgramItem(const MusicResultDataItem &item);
57 
58 protected:
59  MusicResultDataItemList m_items;
60 
61 };
62 
63 #endif // MUSICABSTRACTDJRADIOREQUEST_H
#define TTK_MODULE_EXPORT
The class of the search result data item.
static constexpr const char * DJ_HOT_DATA_URL
static constexpr const char * DJ_RADIO_LIST_URL
static constexpr const char * DJ_HOT_URL
static constexpr const char * DJ_RECOMMEND_URL
The class of the music dj radio request abstract.
static constexpr const char * DJ_DETAIL_URL
static constexpr const char * DJ_CATEGORY_URL
static constexpr const char * DJ_DETAIL_DATA_URL
#define TTK_DECLARE_MODULE(Class)
Definition: ttkqtglobal.h:152
const MusicResultDataItemList & items() const
The class of the abstract network.