office-gobmx/ios/qa/sc
Tor Lillqvist 25d114eec4 Initial experiments with static linking of (some) components / services
Start with the first service needed when running sc's filters_test:
the UniversalContentBroker. It might not be typical as ucb uses the
deprecated XSingleServiceFactory.

This commit is not at all a complete solution, far from it, just an
initial hack. Naturally once I come up with some generic enough way to
do the static linking the necessary macros etc will be added to some
general header.

The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended
so that it in the disable-dynamic-linking case also emits a function
whose assembler name equal contains the service name. This function
returns the XSingleServiceFactory for the service. Where the service
is instantiated we link directly to that function.

But probably this will be reworked a couple of times... Maybe it would
be better to simply have the service name specific entry point be a
pointer to the component's component_getFactory() function? Those all
have the same prototype.
2012-03-21 00:00:11 +02:00
..
lo-qa-sc-filters-test.xcodeproj Add Xcode project 2012-03-07 07:35:32 +02:00
filters-test.m Further hacks: include rdb and component files in .app, pass more -env params 2012-03-21 00:00:07 +02:00
lo-qa-sc-filters-test-Info.plist Add Xcode project 2012-03-07 07:35:32 +02:00
Makefile Initial experiments with static linking of (some) components / services 2012-03-21 00:00:11 +02:00