summaryrefslogtreecommitdiff
path: root/sc/inc/docuno.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-22 20:27:48 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-25 20:43:28 +0100
commit6c71102545beccd0a4f8ec8ee7123d3c63e1b09d (patch)
treea4160b4bfadef83a0657774ba52d0fadfee71006 /sc/inc/docuno.hxx
parent6e4a4af525923eb6c2b24f6ac0c9936efe827ca3 (diff)
provide UNO API for OpenCL selection
Change-Id: If5eb71e9298cefdac3dda98cb1ff67fe913ad3c3
Diffstat (limited to 'sc/inc/docuno.hxx')
-rw-r--r--sc/inc/docuno.hxx20
1 files changed, 19 insertions, 1 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 9be1ee22e7b3..a3b7680f7142 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -45,6 +45,7 @@
#include <com/sun/star/sheet/XSheetAnnotations.hpp>
#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/util/XChangesNotifier.hpp>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx>
@@ -81,7 +82,8 @@ class SC_DLLPUBLIC ScModelObj : public SfxBaseModel,
public com::sun::star::beans::XPropertySet,
public SvxFmMSFactory, ///< derived from XMultiServiceFactory
public com::sun::star::lang::XServiceInfo,
- public ::com::sun::star::util::XChangesNotifier
+ public ::com::sun::star::util::XChangesNotifier,
+ public com::sun::star::sheet::opencl::XOpenCLSelection
{
private:
SfxItemPropertySet aPropSet;
@@ -315,6 +317,22 @@ public:
virtual void SAL_CALL removeChangesListener( const ::com::sun::star::uno::Reference<
::com::sun::star::util::XChangesListener >& aListener )
throw (::com::sun::star::uno::RuntimeException);
+
+ // XOpenCLSelection
+ virtual sal_Bool SAL_CALL isOpenCLEnabled()
+ throw(::com::sun::star::uno::RuntimeException);
+
+ virtual void SAL_CALL enableOpenCL(sal_Bool bEnable)
+ throw(::com::sun::star::uno::RuntimeException);
+
+ virtual void SAL_CALL selectOpenCLDevice( sal_Int32 platform, sal_Int32 device )
+ throw(::com::sun::star::uno::RuntimeException);
+
+ virtual sal_Int32 SAL_CALL getPlatformID()
+ throw(::com::sun::star::uno::RuntimeException);
+
+ virtual sal_Int32 SAL_CALL getDeviceID()
+ throw(::com::sun::star::uno::RuntimeException);
};