diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:16:31 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:16:31 +0200 |
commit | 2753bc1eff1bc595131a59518c1f7e131824b10d (patch) | |
tree | fe9c7afab098d0cb4dd175fb35652d160ce42b46 /ios | |
parent | 48f625b899b2c7774548af078f25dfccd7602d27 (diff) |
Adapt TiledLibreOffice to the new library name to component mapping API
Change-Id: I96e2931763c277d72ff1bb7ebdf5b71c0d6e091b
Diffstat (limited to 'ios')
-rw-r--r-- | ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm | 74 |
1 files changed, 14 insertions, 60 deletions
diff --git a/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm b/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm index d9f724c19fbb..074e4723096c 100644 --- a/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm +++ b/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm @@ -16,69 +16,12 @@ #include <osl/process.h> #include <touch/touch.h> -extern "C" { - extern void * analysis_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * animcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * avmedia_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * chartcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * cui_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * date_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * dba_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * dbaxml_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * embobj_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * emboleobj_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * evtatt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * expwrap_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * filterconfig1_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * frm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * fsstorage_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * fwk_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * fwl_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * fwm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * hwp_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * hyphen_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * lng_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * lnth_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * oox_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * pricing_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sc_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * scd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * scfilt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sdd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sm_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * smd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sot_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * spell_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * spl_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * svgfilter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * svt_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * svx_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * svxcore_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * sw_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * swd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * t602filter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * textfd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * tk_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * ucppkg1_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * unordf_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * unoxml_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * uui_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * wpftdraw_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * wpftwriter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * writerfilter_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * xmlfd_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * xmlsecurity_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * xo_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * xof_component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey ); - -} - extern "C" const lib_to_component_mapping * -lo_get_libmap(void) +lo_get_library_map(void) { static lib_to_component_mapping map[] = { + NON_APP_SPECIFIC_COMPONENT_MAP { "libanalysislo.a", analysis_component_getFactory }, { "libanimcorelo.a", animcore_component_getFactory }, { "libavmedialo.a", avmedia_component_getFactory }, @@ -90,7 +33,6 @@ lo_get_libmap(void) { "libembobj.a", embobj_component_getFactory }, { "libemboleobj.a", emboleobj_component_getFactory }, { "libevtattlo.a", evtatt_component_getFactory }, - { "libexpwraplo.a", expwrap_component_getFactory }, { "libfilterconfiglo.a", filterconfig1_component_getFactory }, { "libfrmlo.a", frm_component_getFactory }, { "libfsstoragelo.a", fsstorage_component_getFactory }, @@ -139,6 +81,18 @@ lo_get_libmap(void) return map; } +extern "C" +const lib_to_component_mapping * +lo_get_implementation_map(void) +{ + static lib_to_component_mapping map[] = { + NON_APP_SPECIFIC_DIRECT_COMPONENT_MAP + { NULL, NULL } + }; + + return map; +} + static NSString *createPaths(NSString *base, NSString *appRootEscaped, NSArray *fileNames) { NSString *result; |