LibreOffice
LibreOffice 4.2 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XOpenCLSelection.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
11 
12 module com { module sun { module star { module sheet { module opencl {
13 
15 {
16 
20  boolean isOpenCLEnabled();
21 
25  void enableOpenCL( [in] boolean enable );
26 
31  void enableAutomaticDeviceSelection( [in] boolean force );
32 
36  void disableAutomaticDeviceSelection();
37 
42  void selectOpenCLDevice( [in] long platform, [in] long device );
43 
47  long getPlatformID();
48 
52  long getDeviceID();
53 
57  sequence< OpenCLPlatform > getOpenCLPlatforms();
58 
59 };
60 
61 }; }; }; }; };
62 
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: XOpenCLSelection.idl:14
base interface of all UNO interfaces
Definition: XInterface.idl:47