summaryrefslogtreecommitdiffstats
path: root/src/PulseAudioQt/module.h
blob: ef778d06c11c6be12fc7494615b5c792ceb18ce0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
    SPDX-FileCopyrightText: 2017 David Rosca <nowrep@gmail.com>

    SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

#ifndef MODULE_H
#define MODULE_H

#include "indexedpulseobject.h"
#include "pulseaudioqt_export.h"

struct pa_module_info;

namespace PulseAudioQt
{
class PULSEAUDIOQT_EXPORT Module : public IndexedPulseObject
{
    Q_OBJECT
    Q_PROPERTY(QString argument READ argument NOTIFY argumentChanged)

public:
    ~Module();

    QString argument() const;

Q_SIGNALS:
    void argumentChanged();

private:
    explicit Module(QObject *parent);

    class ModulePrivate *const d;
    friend class MapBase<Module, pa_module_info>;
};

} // PulseAudioQt

#endif // MODULE_H