diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-17 20:36:45 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-17 23:51:45 +0200 |
commit | 4b60da5d1d25b7cdef001dabac3bbd09d1686718 (patch) | |
tree | 169ae8f9c4f9060891b8ac9c1b9e0268bbaa886b /canvas | |
parent | f3423eab7815827857149995e69d00c7b641282d (diff) |
add more component prefixes
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_services.cxx | 10 | ||||
-rw-r--r-- | canvas/source/cairo/cairocanvas.component | 2 | ||||
-rw-r--r-- | canvas/source/directx/directx5canvas.component | 2 | ||||
-rw-r--r-- | canvas/source/directx/directx9canvas.component | 2 | ||||
-rw-r--r-- | canvas/source/directx/dx_canvas.cxx | 11 | ||||
-rw-r--r-- | canvas/source/directx/dx_spritecanvas.cxx | 10 | ||||
-rw-r--r-- | canvas/source/directx/gdipluscanvas.component | 2 | ||||
-rw-r--r-- | canvas/source/factory/canvasfactory.component | 2 | ||||
-rw-r--r-- | canvas/source/factory/cf_service.cxx | 2 | ||||
-rw-r--r-- | canvas/source/null/null_spritecanvas.cxx | 10 | ||||
-rw-r--r-- | canvas/source/simplecanvas/simplecanvas.component | 2 | ||||
-rw-r--r-- | canvas/source/simplecanvas/simplecanvasimpl.cxx | 10 | ||||
-rw-r--r-- | canvas/source/vcl/services.cxx | 10 | ||||
-rw-r--r-- | canvas/source/vcl/vclcanvas.component | 2 |
14 files changed, 62 insertions, 15 deletions
diff --git a/canvas/source/cairo/cairo_services.cxx b/canvas/source/cairo/cairo_services.cxx index 77f053dcb305..7a817eaf3ad3 100644 --- a/canvas/source/cairo/cairo_services.cxx +++ b/canvas/source/cairo/cairo_services.cxx @@ -81,6 +81,14 @@ namespace cairocanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(cairocanvas::cairoCanvasDecl, cairocanvas::cairoSpriteCanvasDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL cairocanvas_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, cairocanvas::cairoCanvasDecl, cairocanvas::cairoSpriteCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/cairo/cairocanvas.component b/canvas/source/cairo/cairocanvas.component index 126ad2b44ee1..b21197d0e4e8 100644 --- a/canvas/source/cairo/cairocanvas.component +++ b/canvas/source/cairo/cairocanvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="cairocanvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.Canvas.Cairo"> <service name="com.sun.star.rendering.Canvas.Cairo"/> diff --git a/canvas/source/directx/directx5canvas.component b/canvas/source/directx/directx5canvas.component index 80133e724df6..f7bcdbffe517 100644 --- a/canvas/source/directx/directx5canvas.component +++ b/canvas/source/directx/directx5canvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="directx5canvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.SpriteCanvas.DX5"> <service name="com.sun.star.rendering.SpriteCanvas.DX5"/> diff --git a/canvas/source/directx/directx9canvas.component b/canvas/source/directx/directx9canvas.component index 0d395892d4cb..dc0349bfbf96 100644 --- a/canvas/source/directx/directx9canvas.component +++ b/canvas/source/directx/directx9canvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="directx9canvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.SpriteCanvas.DX9"> <service name="com.sun.star.rendering.SpriteCanvas.DX9"/> diff --git a/canvas/source/directx/dx_canvas.cxx b/canvas/source/directx/dx_canvas.cxx index c29319b3974e..18d894035560 100644 --- a/canvas/source/directx/dx_canvas.cxx +++ b/canvas/source/directx/dx_canvas.cxx @@ -252,7 +252,14 @@ namespace dxcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(dxcanvas::dxCanvasDecl, - dxcanvas::dxBitmapCanvasDecl); +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL gdipluscanvas_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, dxcanvas::dxCanvasDecl, dxcanvas::dxBitmapCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx index 430f4639cb92..6c4739203caa 100644 --- a/canvas/source/directx/dx_spritecanvas.cxx +++ b/canvas/source/directx/dx_spritecanvas.cxx @@ -209,6 +209,14 @@ namespace dxcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(dxcanvas::dxSpriteCanvasDecl); +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL directx9canvas_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, dxcanvas::dxSpriteCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/directx/gdipluscanvas.component b/canvas/source/directx/gdipluscanvas.component index e39e77444d59..8845e8c6dfc2 100644 --- a/canvas/source/directx/gdipluscanvas.component +++ b/canvas/source/directx/gdipluscanvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="gdipluscanvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.BitmapCanvas.GDI+"> <service name="com.sun.star.rendering.BitmapCanvas.GDI+"/> diff --git a/canvas/source/factory/canvasfactory.component b/canvas/source/factory/canvasfactory.component index 3896f4197d2f..d8bdd526346b 100644 --- a/canvas/source/factory/canvasfactory.component +++ b/canvas/source/factory/canvasfactory.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="canvasfactory" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.CanvasFactory"> <service name="com.sun.star.rendering.CanvasFactory"/> diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx index 316c4b7aecff..7b8e876e7c00 100644 --- a/canvas/source/factory/cf_service.cxx +++ b/canvas/source/factory/cf_service.cxx @@ -527,7 +527,7 @@ const ::cppu::ImplementationEntry s_entries [] = { extern "C" { -SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( +SAL_DLLPUBLIC_EXPORT void * SAL_CALL canvasfactory_component_getFactory( sal_Char const * pImplName, lang::XMultiServiceFactory * pServiceManager, registry::XRegistryKey * pRegistryKey ) diff --git a/canvas/source/null/null_spritecanvas.cxx b/canvas/source/null/null_spritecanvas.cxx index 509e3656f8fa..794b692d4a65 100644 --- a/canvas/source/null/null_spritecanvas.cxx +++ b/canvas/source/null/null_spritecanvas.cxx @@ -164,6 +164,14 @@ namespace nullcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(nullcanvas::nullCanvasDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, nullcanvas::nullCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/simplecanvas/simplecanvas.component b/canvas/source/simplecanvas/simplecanvas.component index 3a00b407375e..ef290927a679 100644 --- a/canvas/source/simplecanvas/simplecanvas.component +++ b/canvas/source/simplecanvas/simplecanvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="simplecanvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.SimpleCanvas"> <service name="com.sun.star.rendering.SimpleCanvas"/> diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx index f41ee45269f2..ea61bb49f703 100644 --- a/canvas/source/simplecanvas/simplecanvasimpl.cxx +++ b/canvas/source/simplecanvas/simplecanvasimpl.cxx @@ -398,6 +398,14 @@ namespace } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(simpleCanvasDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL simplecanvas_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, simpleCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/services.cxx b/canvas/source/vcl/services.cxx index f482c841ea74..2755f81acdfe 100644 --- a/canvas/source/vcl/services.cxx +++ b/canvas/source/vcl/services.cxx @@ -88,6 +88,14 @@ namespace vclcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL vclcanvas_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/vclcanvas.component b/canvas/source/vcl/vclcanvas.component index f7e0bb8c0266..eb1246706a4d 100644 --- a/canvas/source/vcl/vclcanvas.component +++ b/canvas/source/vcl/vclcanvas.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="vclcanvas" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.rendering.Canvas.VCL"> <service name="com.sun.star.rendering.Canvas.VCL"/> |