diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-11-23 20:02:26 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-11-25 20:43:49 +0100 |
commit | 4e736a8b8ce4d69c5be924b77bb07bd19b1e4d73 (patch) | |
tree | c340781615eb272ea9e6a3cf852e27aaf3dc39c6 /sc/inc | |
parent | 6c71102545beccd0a4f8ec8ee7123d3c63e1b09d (diff) |
add API to retrieve all available OpenCL platforms and devices
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/docuno.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index a3b7680f7142..1228afe10a47 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -46,6 +46,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/sheet/XCellRangesAccess.hpp> #include <com/sun/star/sheet/opencl/XOpenCLSelection.hpp> +#include <com/sun/star/sheet/opencl/OpenCLPlatform.hpp> #include <com/sun/star/util/XChangesNotifier.hpp> #include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase3.hxx> @@ -333,6 +334,10 @@ public: virtual sal_Int32 SAL_CALL getDeviceID() throw(::com::sun::star::uno::RuntimeException); + + virtual com::sun::star::uno::Sequence< com::sun::star::sheet::opencl::OpenCLPlatform > + SAL_CALL getOpenCLPlatforms() + throw(::com::sun::star::uno::RuntimeException); }; |