aboutsummaryrefslogtreecommitdiff
path: root/tests/dbus-types
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-21 11:53:31 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-21 11:53:31 +0200
commitae0602ca11090c6c70cdf289ce3871766d36519c (patch)
tree2a8591780c403f3dc0d416d800df4f6abfffb02e /tests/dbus-types
parent913282e093a723b7e3a7bb899a77a068edafcd01 (diff)
downloadayatana-indicator-sound-ae0602ca11090c6c70cdf289ce3871766d36519c.tar.gz
ayatana-indicator-sound-ae0602ca11090c6c70cdf289ce3871766d36519c.tar.bz2
ayatana-indicator-sound-ae0602ca11090c6c70cdf289ce3871766d36519c.zip
code cleanup
Diffstat (limited to 'tests/dbus-types')
-rw-r--r--tests/dbus-types/dbus-types.h4
-rw-r--r--tests/dbus-types/org.freedesktop.DBus.Properties.xml1
-rw-r--r--tests/dbus-types/pulseaudio-volume.h4
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/dbus-types/dbus-types.h b/tests/dbus-types/dbus-types.h
index 8c7f253..4abe9ff 100644
--- a/tests/dbus-types/dbus-types.h
+++ b/tests/dbus-types/dbus-types.h
@@ -39,4 +39,6 @@ namespace DBusTypes
static constexpr char const* STREAM_RESTORE_PATH = "/org/pulseaudio/stream_restore1";
static constexpr char const* STREAM_RESTORE_ENTRY_NAME = "org.PulseAudio.Ext.StreamRestore1.RestoreEntry";
-}
+
+} // namespace DBusTypes
+
diff --git a/tests/dbus-types/org.freedesktop.DBus.Properties.xml b/tests/dbus-types/org.freedesktop.DBus.Properties.xml
index 19a1b90..bdf6cad 100644
--- a/tests/dbus-types/org.freedesktop.DBus.Properties.xml
+++ b/tests/dbus-types/org.freedesktop.DBus.Properties.xml
@@ -5,6 +5,7 @@
<arg direction="in" type="s" name="property" />
<arg direction="in" type="v" name="value" />
</method>
+
<method name="Get">
<arg direction="in" type="s" name="entry" />
<arg direction="in" type="s" name="property" />
diff --git a/tests/dbus-types/pulseaudio-volume.h b/tests/dbus-types/pulseaudio-volume.h
index e9fe73d..6d5a222 100644
--- a/tests/dbus-types/pulseaudio-volume.h
+++ b/tests/dbus-types/pulseaudio-volume.h
@@ -42,9 +42,6 @@ private:
unsigned int volume_;
};
-Q_DECLARE_METATYPE(PulseaudioVolume)
-
-
class PulseaudioVolumeArray
{
public:
@@ -68,4 +65,5 @@ private:
QVector<PulseaudioVolume> volume_array_;
};
+Q_DECLARE_METATYPE(PulseaudioVolume)
Q_DECLARE_METATYPE(PulseaudioVolumeArray)