Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d4f2bbc0 authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Jonathan Marten

MixerToolBox: Fix visibility for Clang (and build on FreeBSD)

Setting visibility on a namespace is a GCC extension.  Need to set the
visibility instead on all symbols within the namespace.

Differential Revision: https://phabricator.kde.org/D17933
parent 29564e3f
......@@ -38,15 +38,15 @@ class Mixer;
* very different and cannot be changed (e.g. KPanelApplet) without major headache.
*/
namespace MixerToolBox KMIXCORE_EXPORT
namespace MixerToolBox
{
QString initMixer(bool multiDriverFlag, const QStringList &backendList, bool hotplug);
KMIXCORE_EXPORT QString initMixer(bool multiDriverFlag, const QStringList &backendList, bool hotplug);
void deinitMixer();
bool possiblyAddMixer(Mixer *mixer);
void removeMixer(Mixer *mixer);
void setMixerIgnoreExpression(const QString &ignoreExpr);
QString mixerIgnoreExpression();
KMIXCORE_EXPORT void deinitMixer();
KMIXCORE_EXPORT bool possiblyAddMixer(Mixer *mixer);
KMIXCORE_EXPORT void removeMixer(Mixer *mixer);
KMIXCORE_EXPORT void setMixerIgnoreExpression(const QString &ignoreExpr);
KMIXCORE_EXPORT QString mixerIgnoreExpression();
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment