update emoji autocorrect entries from po-files
[LibreOffice.git] / jvmfwk / plugins / sunmajor / pluginlib / vendorlist.hxx
blob5709e79a8f7ae8f4894080627e64e5e65ad5bca0
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_JVMFWK_PLUGINS_SUNMAJOR_PLUGINLIB_VENDORLIST_HXX
20 #define INCLUDED_JVMFWK_PLUGINS_SUNMAJOR_PLUGINLIB_VENDORLIST_HXX
22 #include "rtl/ref.hxx"
23 #include "vendorbase.hxx"
24 #include "com/sun/star/uno/Sequence.hxx"
26 namespace jfw_plugin
29 typedef char const * const * (* getJavaExePaths_func)(int*);
30 typedef rtl::Reference<VendorBase> (* createInstance_func) ();
32 struct VendorSupportMapEntry
34 char const * sVendorName;
35 getJavaExePaths_func getJavaFunc;
36 createInstance_func createFunc;
39 #define BEGIN_VENDOR_MAP() \
40 VendorSupportMapEntry gVendorMap[] ={
42 #define VENDOR_MAP_ENTRY(x,y) \
43 {x, & y::getJavaExePaths, & y::createInstance},
45 #define END_VENDOR_MAP() \
46 {NULL, NULL, NULL} };
48 /* Examines if the vendor supplied in parameter sVendor is part of the
49 list of supported vendors. That is the arry of VendorSupportMapEntry
50 is search for an respective entry.
52 bool isVendorSupported(const OUString & sVendor);
55 #endif
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */