summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-28 22:20:13 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-28 22:20:53 +0100
commit01b913387b03bda1dd4585ee0a3294122a7bdc63 (patch)
tree32cea0d20d69b0593ea85c385a820b76f1b177f8 /sd/source
parent7d6085a259a2be90a123c020645d74f2c9c27070 (diff)
sd: BluetoothServer: appease MSVC's appetite for type definitions
Change-Id: I05a0cc7534e6504c73ad1ccee42ca6e9ecb489ed
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 475e0c1838b7..926e4b23731a 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -579,6 +579,11 @@ registerWithDefaultAdapter( DBusConnection *pConnection )
return pService;
}
+#else
+
+// MSVC needs this definition even though it's never used
+struct sd::BluetoothServerImpl { };
+
#endif // LINUX_BLUETOOTH
BluetoothServer::BluetoothServer( std::vector<Communicator*>* pCommunicators )