TTKMusicPlayer  4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicqmmputils.h
Go to the documentation of this file.
1 #ifndef MUSICQMMPUTILS_H
2 #define MUSICQMMPUTILS_H
3 
4 /***************************************************************************
5  * This file is part of the TTK Music Player project
6  * Copyright (C) 2015 - 2026 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 "musicglobaldefine.h"
23 #include "musicpluginproperty.h"
24 
28 namespace TTK
29 {
30  namespace TTKQmmp
31  {
35  TTK_MODULE_EXPORT QString pluginPath(const QString &module, const QString &format);
36 
40  TTK_MODULE_EXPORT bool isVisualEnabled(const QString &name);
44  TTK_MODULE_EXPORT void setVisualEnabled(const QString &name, bool enabled, QWidget *parent);
45 
49  TTK_MODULE_EXPORT bool isEffectEnabled(const QString &name);
53  TTK_MODULE_EXPORT void setEffectEnabled(const QString &name, bool enabled);
57  TTK_MODULE_EXPORT void setEffectsEnabled(bool enabled);
61  TTK_MODULE_EXPORT MusicPluginPropertyList effectModules();
65  TTK_MODULE_EXPORT void showEffectSetting(const QString &name, QWidget *parent);
66 
78  TTK_MODULE_EXPORT void updateVoiceConfig(bool update, int &value);
79 
80 
81  }
82 }
83 
84 #endif // MUSICQMMPUTILS_H
#define TTK_MODULE_EXPORT
TTK_MODULE_EXPORT bool isVisualEnabled(const QString &name)
TTK_MODULE_EXPORT void setEffectsEnabled(bool enabled)
TTK_MODULE_EXPORT void updateVoiceConfig(bool update, int &value)
TTK_MODULE_EXPORT MusicPluginPropertyList effectModules()
const char * name
Definition: http_parser.c:458
The namespace of the application object.
Definition: ttkcompat.h:24
TTK_MODULE_EXPORT void setEffectEnabled(const QString &name, bool enabled)
TTK_MODULE_EXPORT void updateBlurConfig()
TTK_MODULE_EXPORT void updateBaseConfig()
TTK_MODULE_EXPORT void setVisualEnabled(const QString &name, bool enabled, QWidget *parent)
TTK_MODULE_EXPORT QString pluginPath(const QString &module, const QString &format)
TTK_MODULE_EXPORT void showEffectSetting(const QString &name, QWidget *parent)
TTK_MODULE_EXPORT bool isEffectEnabled(const QString &name)