fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / android / experimental / desktop / native-code.cxx
blob932112440174b7ec6445d4c27997dd97ea89020f
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 #include "osl/detail/android-bootstrap.h"
12 extern "C"
14 extern void * animcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
15 extern void * avmedia_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
16 extern void * cui_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
17 extern void * basprov_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
18 extern void * chartcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
19 extern void * dba_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
20 extern void * dbaxml_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
21 extern void * dlgprov_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
22 extern void * embobj_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
23 extern void * emboleobj_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
24 extern void * evtatt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
25 extern void * expwrap_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
26 extern void * fastsax_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
27 extern void * fileacc_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
28 extern void * filterconfig1_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
29 extern void * frm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
30 extern void * fsstorage_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
31 extern void * fwk_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
32 extern void * fwl_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
33 extern void * fwm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
34 extern void * hwp_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
35 extern void * hyphen_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
36 extern void * lng_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
37 extern void * lnth_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
38 extern void * protocolhandler_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
39 extern void * oox_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
40 extern void * sb_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
41 extern void * sc_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
42 extern void * scd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
43 extern void * scfilt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
44 extern void * scriptframe_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
45 extern void * sot_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
46 extern void * svt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
47 extern void * svx_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
48 extern void * svxcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
49 extern void * sd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
50 extern void * sdd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
51 extern void * sm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
52 extern void * smd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
53 extern void * spl_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
54 extern void * spell_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
55 extern void * stringresource_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
56 extern void * svgfilter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
57 extern void * sw_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
58 extern void * svx_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
59 extern void * swd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
60 extern void * t602filter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
61 extern void * textfd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
62 extern void * tk_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
63 extern void * ucppkg1_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
64 extern void * unoxml_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
65 extern void * unordf_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
66 extern void * uui_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
67 extern void * vbaswobj_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
68 extern void * vbaevents_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
69 extern void * wpftdraw_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
70 extern void * wpftwriter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
71 extern void * writerfilter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
72 extern void * xmlfd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
73 extern void * xmlsecurity_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
74 extern void * xo_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
75 extern void * xof_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey );
78 extern "C"
79 __attribute__ ((visibility("default")))
80 const lib_to_component_mapping *
81 lo_get_libmap(void)
83 static lib_to_component_mapping map[] = {
84 { "libanimcorelo.a", animcore_component_getFactory },
85 { "libavmedialo.a", avmedia_component_getFactory },
86 { "libbasprovlo.a", basprov_component_getFactory },
87 { "libchartcorelo.a", chartcore_component_getFactory },
88 { "libdlgprovlo.a", dlgprov_component_getFactory },
89 { "libdbalo.a", dba_component_getFactory },
90 { "libdbaxmllo.a", dbaxml_component_getFactory },
91 { "libcuilo.a", cui_component_getFactory },
92 { "libembobj.a", embobj_component_getFactory },
93 { "libemboleobj.a", emboleobj_component_getFactory },
94 { "libevtattlo.a", evtatt_component_getFactory },
95 { "libexpwraplo.a", expwrap_component_getFactory },
96 { "libfastsaxlo.a", fastsax_component_getFactory },
97 { "libfileacc.a", fileacc_component_getFactory },
98 { "libfilterconfiglo.a", filterconfig1_component_getFactory },
99 { "libfrmlo.a", frm_component_getFactory },
100 { "libfsstoragelo.a", fsstorage_component_getFactory },
101 { "libfwklo.a", fwk_component_getFactory },
102 { "libfwllo.a", fwl_component_getFactory },
103 { "libfwmlo.a", fwm_component_getFactory },
104 { "libhwplo.a", hwp_component_getFactory },
105 { "libhyphenlo.a", hyphen_component_getFactory },
106 { "liblnglo.a", lng_component_getFactory },
107 { "liblnthlo.a", lnth_component_getFactory },
108 { "libooxlo.a", oox_component_getFactory },
109 { "libprotocolhandlerlo.a", protocolhandler_component_getFactory },
110 { "libscdlo.a", scd_component_getFactory },
111 { "libscfiltlo.a", scfilt_component_getFactory },
112 { "libscriptframe.a", scriptframe_component_getFactory },
113 { "libsblo.a", sb_component_getFactory },
114 { "libsclo.a", sc_component_getFactory },
115 { "libsddlo.a", sdd_component_getFactory },
116 { "libsdlo.a", sd_component_getFactory },
117 { "libsmdlo.a", smd_component_getFactory },
118 { "libsmlo.a", sm_component_getFactory },
119 { "libspllo.a", spl_component_getFactory },
120 { "libsotlo.a", sot_component_getFactory },
121 { "libspelllo.a", spell_component_getFactory },
122 { "libscriptframe.a", scriptframe_component_getFactory },
123 { "libstringresourcelo.a", stringresource_component_getFactory },
124 { "libsvgfilterlo.a", svgfilter_component_getFactory },
125 { "libsvtlo.a", svt_component_getFactory },
126 { "libsvxlo.a", svx_component_getFactory },
127 { "libsvxcorelo.a", svxcore_component_getFactory },
128 { "libswdlo.a", swd_component_getFactory },
129 { "libswlo.a", sw_component_getFactory },
130 { "libt602filterlo.a", t602filter_component_getFactory },
131 { "libtextfdlo.a", textfd_component_getFactory },
132 { "libtklo.a", tk_component_getFactory },
133 { "libucppkg1.a", ucppkg1_component_getFactory },
134 { "libunordflo.a", unordf_component_getFactory },
135 { "libunoxmllo.a", unoxml_component_getFactory },
136 { "libuuilo.a", uui_component_getFactory },
137 { "libvbaswobjlo.a", vbaswobj_component_getFactory },
138 { "libvbaeventslo.a", vbaevents_component_getFactory },
139 { "libwpftdrawlo.a", wpftdraw_component_getFactory },
140 { "libwpftwriterlo.a", wpftwriter_component_getFactory },
141 { "libwriterfilterlo.a", writerfilter_component_getFactory },
142 { "libxmlfdlo.a", xmlfd_component_getFactory },
143 { "libxmlsecurity.a", xmlsecurity_component_getFactory },
144 { "libxoflo.a", xof_component_getFactory },
145 { "libxolo.a", xo_component_getFactory },
146 { NULL, NULL }
149 // Guard against possible function-level link-time pruning of
150 // "unused" code. We need to pull these in, too, as they aren't in
151 // any of the libs we link with -Wl,--whole-archive. Is this necessary?
152 extern void Java_org_libreoffice_android_AppSupport_runMain();
153 volatile void *p = (void *) Java_org_libreoffice_android_AppSupport_runMain;
155 extern void Java_org_libreoffice_android_AppSupport_renderVCL();
156 p = (void *) Java_org_libreoffice_android_AppSupport_renderVCL;
158 return map;
161 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */