21#include "com/sun/star/uno/Exception.hpp"
22#include "com/sun/star/uno/Reference.hxx"
23#include "com/sun/star/uno/Sequence.hxx"
24#include "com/sun/star/uno/XComponentContext.hpp"
25#include "com/sun/star/uno/XInterface.hpp"
30#include "rtl/ustring.h"
31#include "rtl/ustring.hxx"
33#include "uno/environment.h"
35#include "test/types/TestException.hpp"
36#include "test/types/XTest.hpp"
46 rtl::OUString(
"test"),
59css::uno::Reference< css::uno::XInterface >
create(
60 css::uno::Reference< css::uno::XComponentContext >
const &)
66 return rtl::OUString(
"test.cpp.cpptest.Component");
70 rtl::OUString s(
"test.types.CppTest");
71 return css::uno::Sequence< rtl::OUString >(&s, 1);
77 { CppTest::create, CppTest::getImplementationName,
80 { 0, 0, 0, 0, 0, 0 } };
85 char const * implName,
void * serviceManager,
void * registryKey)
88 implName, serviceManager, registryKey, entries);
OWeakObject &SAL_CALL operator=(const OWeakObject &)
SAL_DLLPUBLIC_EXPORT void *SAL_CALL component_getFactory(char const *implName, void *serviceManager, void *registryKey)
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
css::uno::Reference< css::uno::XInterface >(SAL_CALL *ComponentFactoryFunc)(css CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleComponentFactory > SAL_CALL createSingleComponentFactory(ComponentFactoryFunc fptr, ::rtl::OUString const &rImplementationName, css::uno::Sequence< ::rtl::OUString > const &rServiceNames, rtl_ModuleCount *pModCount=NULL)
void * component_getFactoryHelper(char const *pImplName, SAL_UNUSED_PARAMETER void *, SAL_UNUSED_PARAMETER void *, const struct ImplementationEntry entries[])
void SAL_CALL throwException(Any const &exc)
css::uno::Reference< css::deployment::XPackageRegistry > create(css::uno::Reference< css::deployment::XPackageRegistry > const &xRootRegistry, OUString const &context, OUString const &cachePath, css::uno::Reference< css::uno::XComponentContext > const &xComponentContext)