AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
implementationentry.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_CPPUHELPER_IMPLEMENTATIONENTRY_HXX
4 #define INCLUDED_CPPUHELPER_IMPLEMENTATIONENTRY_HXX
5 
6 #include "cppuhelper/factory.hxx"
8 
9 namespace cppu
10 {
15 {
19 
23  rtl::OUString (SAL_CALL * getImplementationName)();
24 
28  css::uno::Sequence< rtl::OUString > (SAL_CALL * getSupportedServiceNames) ();
29 
35  css::uno::Reference< css::lang::XSingleComponentFactory >
36  (SAL_CALL * createFactory)(
38  ::rtl::OUString const & rImplementationName,
39  css::uno::Sequence< ::rtl::OUString > const & rServiceNames,
40  rtl_ModuleCount * pModCount );
41 
46 
50  sal_Int32 nFlags;
51 };
52 
68  void *pServiceManager, void *pRegistryKey , const struct ImplementationEntry entries[] );
69 
87  const char * pImplName,
88  void * pServiceManager,
89  void * pRegistryKey,
90  const struct ImplementationEntry entries[] );
91 
92 }
93 #endif
94 
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
One struct instance represents all data necessary for registering one service implementation.
Definition: implementationentry.hxx:14
unsigned char sal_Bool
Definition: types.h:18
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:182
css::uno::Reference< css::uno::XInterface >(* ComponentFactoryFunc)(css::uno::Reference< css::uno::XComponentContext > const &xContext)
Function pointer declaration.
Definition: factory.hxx:114
CPPUHELPER_DLLPUBLIC sal_Bool component_writeInfoHelper(void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[])
Helper function for implementation of the component_writeInfo()-function.
struct SAL_DLLPUBLIC_RTTI _rtl_ModuleCount rtl_ModuleCount
Backwards-compatibility remainder of a removed library unloading feature.
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:567
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:12
CPPUHELPER_DLLPUBLIC void * component_getFactoryHelper(const char *pImplName, void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[])
Helper function for implementation of the component_getFactory()-function, that must be implemented b...
ComponentFactoryFunc create
Function that creates an instance of the implementation.
Definition: implementationentry.hxx:18
sal_Int32 nFlags
Must be set to 0 ! For future extensions.
Definition: implementationentry.hxx:50
rtl_ModuleCount * moduleCounter
Backwards-compatibility remainder of a removed library unloading feature; always set to null...
Definition: implementationentry.hxx:45