Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / inc / platforminfo.hxx
blob71206e01a94bda7bb850a1556775d53bd0508440
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_PLATFORM_INFO_HXX
11 #define SC_PLATFORM_INFO_HXX
13 #include <vector>
15 #include <rtl/ustring.hxx>
17 #include "scdllapi.h"
19 namespace sc {
21 struct SC_DLLPUBLIC OpenclDeviceInfo
23 void* device;
24 OUString maName;
25 OUString maVendor;
26 OUString maDriver;
27 size_t mnMemory;
28 size_t mnComputeUnits;
29 size_t mnFrequency;
31 OpenclDeviceInfo();
34 struct SC_DLLPUBLIC OpenclPlatformInfo
36 void* platform;
37 OUString maVendor;
38 OUString maName;
39 std::vector<OpenclDeviceInfo> maDevices;
41 OpenclPlatformInfo();
46 #endif