summaryrefslogtreecommitdiff
path: root/android/experimental/LibreOffice4Android/native-code.cxx
blob: 44cb862da480fb117529b8506d666c777e03c14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#include "osl/detail/android-bootstrap.h"

extern "C"
__attribute__ ((visibility("default")))
const lib_to_factory_mapping *
lo_get_factory_map(void)
{
    static lib_to_factory_mapping map[] = {
        LO_EXTENDED_CORE_FACTORY_MAP
        LO_BASE_CORE_FACTORY_MAP
        LO_CALC_CORE_FACTORY_MAP
        LO_DRAW_CORE_FACTORY_MAP
        LO_MATH_FACTORY_MAP
        LO_WRITER_FACTORY_MAP
        { "libdlgprovlo.a", dlgprov_component_getFactory },
        { "libprotocolhandlerlo.a", protocolhandler_component_getFactory },
        { "libscriptframe.a", scriptframe_component_getFactory },
        { "libsblo.a", sb_component_getFactory },
        { "libscriptframe.a", scriptframe_component_getFactory },
        { "libstringresource.uno.a", stringresource_component_getFactory },
        { "libvbaswobj.uno.a", vbaswobj_component_getFactory },
        { "libvbaevents.uno.a", vbaevents_component_getFactory },
        { NULL, NULL }
    };

    return map;
}

extern "C"
__attribute__ ((visibility("default")))
const lib_to_constructor_mapping *
lo_get_constructor_map(void)
{
    static lib_to_constructor_mapping map[] = {
        NON_APP_SPECIFIC_CONSTRUCTOR_MAP
        { NULL, NULL }
    };

    return map;
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */