1f8e2c85aSAndrew Rist /**************************************************************
2*ae77b8caSAriel Constenla-Haile  *
3f8e2c85aSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4f8e2c85aSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5f8e2c85aSAndrew Rist  * distributed with this work for additional information
6f8e2c85aSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7f8e2c85aSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8f8e2c85aSAndrew Rist  * "License"); you may not use this file except in compliance
9f8e2c85aSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*ae77b8caSAriel Constenla-Haile  *
11f8e2c85aSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*ae77b8caSAriel Constenla-Haile  *
13f8e2c85aSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14f8e2c85aSAndrew Rist  * software distributed under the License is distributed on an
15f8e2c85aSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16f8e2c85aSAndrew Rist  * KIND, either express or implied.  See the License for the
17f8e2c85aSAndrew Rist  * specific language governing permissions and limitations
18f8e2c85aSAndrew Rist  * under the License.
19*ae77b8caSAriel Constenla-Haile  *
20f8e2c85aSAndrew Rist  *************************************************************/
21f8e2c85aSAndrew Rist 
22cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
23cdf0e10cSrcweir #include "precompiled_shell.hxx"
24cdf0e10cSrcweir 
25*ae77b8caSAriel Constenla-Haile #include "syscmdmail.hxx"
26cdf0e10cSrcweir 
27*ae77b8caSAriel Constenla-Haile #include <cppuhelper/factory.hxx>
28*ae77b8caSAriel Constenla-Haile #include <cppuhelper/implementationentry.hxx>
29cdf0e10cSrcweir 
30*ae77b8caSAriel Constenla-Haile namespace shell
31cdf0e10cSrcweir {
32*ae77b8caSAriel Constenla-Haile     static ::cppu::ImplementationEntry const unxsysmail_impl_entries[] =
33*ae77b8caSAriel Constenla-Haile     {
34*ae77b8caSAriel Constenla-Haile         {
35*ae77b8caSAriel Constenla-Haile             SystemCommandMail::Create,
36*ae77b8caSAriel Constenla-Haile             SystemCommandMail::getImplementationName_static,
37*ae77b8caSAriel Constenla-Haile             SystemCommandMail::getSupportedServiceNames_static,
38*ae77b8caSAriel Constenla-Haile             ::cppu::createSingleComponentFactory,
39*ae77b8caSAriel Constenla-Haile             0,
40*ae77b8caSAriel Constenla-Haile             0
41*ae77b8caSAriel Constenla-Haile         },
42*ae77b8caSAriel Constenla-Haile         { 0, 0, 0, 0, 0, 0 }
43*ae77b8caSAriel Constenla-Haile     };
44cdf0e10cSrcweir }
45cdf0e10cSrcweir 
46*ae77b8caSAriel Constenla-Haile extern "C"
47cdf0e10cSrcweir {
component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,uno_Environment **)48*ae77b8caSAriel Constenla-Haile     SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
49*ae77b8caSAriel Constenla-Haile         const sal_Char **ppEnvTypeName, uno_Environment ** )
50cdf0e10cSrcweir     {
51*ae77b8caSAriel Constenla-Haile         *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
52cdf0e10cSrcweir     }
53cdf0e10cSrcweir 
component_getFactory(const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey)54*ae77b8caSAriel Constenla-Haile     SAL_DLLPUBLIC_EXPORT void *SAL_CALL component_getFactory(
55*ae77b8caSAriel Constenla-Haile         const sal_Char *pImplName, void *pServiceManager, void *pRegistryKey )
56*ae77b8caSAriel Constenla-Haile     {
57*ae77b8caSAriel Constenla-Haile         return ::cppu::component_getFactoryHelper( pImplName,
58*ae77b8caSAriel Constenla-Haile                 pServiceManager,
59*ae77b8caSAriel Constenla-Haile                 pRegistryKey ,
60*ae77b8caSAriel Constenla-Haile                 shell::unxsysmail_impl_entries );
61*ae77b8caSAriel Constenla-Haile     }
62cdf0e10cSrcweir }
63