LibreOffice Module i18npool (master) 1
Macros | Functions | Variables
registerservices.cxx File Reference
#include <config_locales.h>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/weak.hxx>
#include <servicename.hxx>
#include <transliteration_body.hxx>
#include <transliteration_OneToOne.hxx>
#include <textToPronounce_zh.hxx>
#include <numtotext_cjk.hxx>
#include <numtochar.hxx>
#include <texttonum.hxx>
#include <chartonum.hxx>
#include <calendarImpl.hxx>
#include <calendar_gregorian.hxx>
#include <calendar_hijri.hxx>
#include <calendar_jewish.hxx>
#include <breakiterator_cjk.hxx>
#include <breakiterator_th.hxx>
#include <indexentrysupplier.hxx>
#include <indexentrysupplier_asian.hxx>
#include <indexentrysupplier_ja_phonetic.hxx>
#include <indexentrysupplier_default.hxx>
#include <chaptercollator.hxx>
#include <collator_unicode.hxx>
#include <inputsequencechecker_th.hxx>
#include <inputsequencechecker_hi.hxx>
#include <textconversion.hxx>
Include dependency graph for registerservices.cxx:

Go to the source code of this file.

Macros

#define IMPL_CREATEINSTANCE(ImplName)
 
#define IMPL_TRANSLITERATION_ITEM(implName)
 
#define IMPL_UNO_CONSTRUCTOR(ImplName)
 
#define IMPL_UNO_CONSTRUCTOR_CTX(ImplName)
 

Functions

SAL_DLLPUBLIC_EXPORT void * i18npool_component_getFactory (const char *sImplementationName, void *_pServiceManager, SAL_UNUSED_PARAMETER void *)
 

Variables

const InstancesArray aInstances []
 

Macro Definition Documentation

◆ IMPL_CREATEINSTANCE

#define IMPL_CREATEINSTANCE (   ImplName)
Value:
static uno::Reference< uno::XInterface > \
ImplName##_CreateInstance( \
SAL_UNUSED_PARAMETER const uno::Reference< \
lang::XMultiServiceFactory >& ) \
{ \
return uno::Reference < \
uno::XInterface >( static_cast<cppu::OWeakObject*>( \
new ImplName) ); \
}

Definition at line 63 of file registerservices.cxx.

◆ IMPL_TRANSLITERATION_ITEM

#define IMPL_TRANSLITERATION_ITEM (   implName)
Value:
TRLT_IMPLNAME_PREFIX #implName, \
&implName##_CreateInstance }
#define TRLT_SERVICELNAME_L10N
Definition: servicename.hxx:59
const char * implName

Definition at line 74 of file registerservices.cxx.

◆ IMPL_UNO_CONSTRUCTOR

#define IMPL_UNO_CONSTRUCTOR (   ImplName)
Value:
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * \
i18npool_##ImplName##_get_implementation( \
css::uno::XComponentContext *, \
css::uno::Sequence<css::uno::Any> const &) \
{ \
return cppu::acquire(new ImplName()); \
}

Definition at line 79 of file registerservices.cxx.

◆ IMPL_UNO_CONSTRUCTOR_CTX

#define IMPL_UNO_CONSTRUCTOR_CTX (   ImplName)
Value:
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * \
i18npool_##ImplName##_get_implementation( \
css::uno::XComponentContext * context, \
css::uno::Sequence<css::uno::Any> const &) \
{ \
return cppu::acquire(new ImplName(context)); \
}

Definition at line 88 of file registerservices.cxx.

Function Documentation

◆ i18npool_component_getFactory()

SAL_DLLPUBLIC_EXPORT void * i18npool_component_getFactory ( const char *  sImplementationName,
void *  _pServiceManager,
SAL_UNUSED_PARAMETER void *   
)

Definition at line 381 of file registerservices.cxx.

References aInstances, aServiceNames, sImplementationName, and xFactory.

Variable Documentation

◆ aInstances

const InstancesArray aInstances[]

Definition at line 270 of file registerservices.cxx.

Referenced by i18npool_component_getFactory().