summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-12 19:00:36 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-12 21:50:01 +0200
commit44643be33e25d3949d019000412f5ecea1fbb5cf (patch)
treeec758bebd99dc8af3e46c5bfa1c40f13f3c4b294 /sc/inc
parent95bb07b1be264660174b25d316f7fb91fec35a7a (diff)
Add output operators for SAL_INFO convenience
Change-Id: Iee3be5f4847f12f3463438435b1713c5ad74d3d0
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/platforminfo.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/platforminfo.hxx b/sc/inc/platforminfo.hxx
index c7bb377ec33d..8fd0ee2aeabc 100644
--- a/sc/inc/platforminfo.hxx
+++ b/sc/inc/platforminfo.hxx
@@ -10,6 +10,7 @@
#ifndef INCLUDED_SC_INC_PLATFORMINFO_HXX
#define INCLUDED_SC_INC_PLATFORMINFO_HXX
+#include <ostream>
#include <vector>
#include <rtl/ustring.hxx>
@@ -43,4 +44,7 @@ struct SC_DLLPUBLIC OpenCLPlatformInfo
}
+SC_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const sc::OpenCLPlatformInfo& rPlatform);
+SC_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const sc::OpenCLDeviceInfo& rDevice);
+
#endif