gstuno.cxx (80f267b3) gstuno.cxx (deb7b1c2)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34{
35 return uno::Reference< uno::XInterface >( *new ::avmedia::gst::Manager( rxFact ) );
36}
37
38// ------------------------------------------
39// - component_getImplementationEnvironment -
40// ------------------------------------------
41
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34{
35 return uno::Reference< uno::XInterface >( *new ::avmedia::gst::Manager( rxFact ) );
36}
37
38// ------------------------------------------
39// - component_getImplementationEnvironment -
40// ------------------------------------------
41
42extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
42extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
43{
44 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
45}
46
47// ------------------------
48// - component_getFactory -
49// ------------------------
50
43{
44 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
45}
46
47// ------------------------
48// - component_getFactory -
49// ------------------------
50
51extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ )
51extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ )
52{
53 uno::Reference< lang::XSingleServiceFactory > xFactory;
54 void* pRet = 0;
55
56 if( rtl_str_compare( pImplName, AVMEDIA_GSTREAMER_MANAGER_IMPLEMENTATIONNAME ) == 0 )
57 {
58 const ::rtl::OUString aServiceName( ::rtl::OUString::createFromAscii( AVMEDIA_GSTREAMER_MANAGER_SERVICENAME ) );
59

--- 14 unchanged lines hidden ---
52{
53 uno::Reference< lang::XSingleServiceFactory > xFactory;
54 void* pRet = 0;
55
56 if( rtl_str_compare( pImplName, AVMEDIA_GSTREAMER_MANAGER_IMPLEMENTATIONNAME ) == 0 )
57 {
58 const ::rtl::OUString aServiceName( ::rtl::OUString::createFromAscii( AVMEDIA_GSTREAMER_MANAGER_SERVICENAME ) );
59

--- 14 unchanged lines hidden ---