Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / core / opencl / opencl_device.hxx
blobe013943f68c7105183be0666602bad9e8c02070c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef SC_OPENCL_DEVICE_HXX
11 #define SC_OPENCL_DEVICE_HXX
13 #pragma once
14 #include "opencl_device_selection.h"
16 namespace sc { namespace OpenCLDevice {
18 ds_device getDeviceSelection(const char* pFileName, bool bForceSelection = false);
19 bool selectedDeviceIsOpenCL(ds_device device);
20 bool selectedDeviceIsNativeCPU(ds_device device);
24 #endif
26 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */