update dev300-m58
[ooovba.git] / animations / source / animcore / factreg.hxx
blob3347c26367b8275552d5eddd16a79b76619fca9a
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: factreg.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include <rtl/unload.h>
32 namespace animcore {
34 extern rtl_StandardModuleCount g_moduleCount;
36 #define DECL_NODE_FACTORY(N)\
37 extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance_##N( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rSMgr ) throw (::com::sun::star::uno::Exception);\
38 extern ::rtl::OUString getImplementationName_##N();\
39 extern ::com::sun::star::uno::Sequence< ::rtl::OUString> getSupportedServiceNames_##N(void)
41 DECL_NODE_FACTORY( PAR );
42 DECL_NODE_FACTORY( SEQ );
43 DECL_NODE_FACTORY( ITERATE );
44 DECL_NODE_FACTORY( ANIMATE );
45 DECL_NODE_FACTORY( SET );
46 DECL_NODE_FACTORY( ANIMATECOLOR );
47 DECL_NODE_FACTORY( ANIMATEMOTION );
48 DECL_NODE_FACTORY( ANIMATETRANSFORM );
49 DECL_NODE_FACTORY( TRANSITIONFILTER );
50 DECL_NODE_FACTORY( AUDIO );
51 DECL_NODE_FACTORY( COMMAND );
52 DECL_NODE_FACTORY( TargetPropertiesCreator );