GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / animations / source / animcore / factreg.cxx
blobd95798109f07a3cb1c612e19acca552578068ac5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <osl/diagnose.h>
21 #include <cppuhelper/factory.hxx>
22 #include <cppuhelper/implementationentry.hxx>
24 #include <com/sun/star/registry/XRegistryKey.hpp>
26 using namespace ::rtl;
27 using namespace ::cppu;
28 using namespace ::com::sun::star::uno;
29 using namespace ::com::sun::star::lang;
30 using namespace ::com::sun::star::registry;
32 #include "factreg.hxx"
34 using namespace animcore;
36 #define IMPLEMENTATION_ENTRY(N)\
38 createInstance_##N, getImplementationName_##N ,\
39 getSupportedServiceNames_##N, createSingleComponentFactory ,\
40 0, 0\
43 static const struct ImplementationEntry g_entries[] =
45 IMPLEMENTATION_ENTRY( PAR ),
46 IMPLEMENTATION_ENTRY( SEQ ),
47 IMPLEMENTATION_ENTRY( ITERATE ),
48 IMPLEMENTATION_ENTRY( ANIMATE ),
49 IMPLEMENTATION_ENTRY( SET ),
50 IMPLEMENTATION_ENTRY( ANIMATECOLOR ),
51 IMPLEMENTATION_ENTRY( ANIMATEMOTION ),
52 IMPLEMENTATION_ENTRY( ANIMATETRANSFORM ),
53 IMPLEMENTATION_ENTRY( TRANSITIONFILTER ),
54 IMPLEMENTATION_ENTRY( AUDIO ),
55 IMPLEMENTATION_ENTRY( COMMAND ),
56 IMPLEMENTATION_ENTRY( TargetPropertiesCreator ),
57 { 0, 0, 0, 0, 0, 0 }
60 extern "C"
63 SAL_DLLPUBLIC_EXPORT void * SAL_CALL animcore_component_getFactory(
64 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
66 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */