update credits
[LibreOffice.git] / desktop / source / deployment / dp_services.cxx
blob3a5c514b870fcedc947810f2a90a564be6654fd2
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 .
21 #define COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS 12
22 #include "comphelper/servicedecl.hxx"
24 using namespace com::sun::star;
25 namespace sdecl = comphelper::service_decl;
27 namespace dp_registry {
28 namespace backend {
30 namespace configuration {
31 extern sdecl::ServiceDecl const serviceDecl;
34 namespace component {
35 extern sdecl::ServiceDecl const serviceDecl;
38 namespace script {
39 extern sdecl::ServiceDecl const serviceDecl;
42 namespace sfwk {
43 extern sdecl::ServiceDecl const serviceDecl;
46 namespace help {
47 extern sdecl::ServiceDecl const serviceDecl;
50 namespace executable {
51 extern sdecl::ServiceDecl const serviceDecl;
54 } // namespace backend
55 } // namespace dp_registry
57 namespace dp_manager {
58 namespace factory {
59 extern sdecl::ServiceDecl const serviceDecl;
61 extern sdecl::ServiceDecl const serviceDecl;
64 namespace dp_log {
65 extern sdecl::ServiceDecl const serviceDecl;
68 namespace dp_info {
69 extern sdecl::ServiceDecl const serviceDecl;
72 extern "C" {
74 SAL_DLLPUBLIC_EXPORT void * SAL_CALL deployment_component_getFactory(
75 sal_Char const * pImplName,
76 lang::XMultiServiceFactory * pServiceManager,
77 registry::XRegistryKey * pRegistryKey )
79 return component_getFactoryHelper(
80 pImplName, pServiceManager, pRegistryKey,
81 dp_registry::backend::configuration::serviceDecl,
82 dp_registry::backend::component::serviceDecl,
83 dp_registry::backend::help::serviceDecl,
84 dp_registry::backend::script::serviceDecl,
85 dp_registry::backend::sfwk::serviceDecl,
86 dp_registry::backend::executable::serviceDecl,
87 dp_manager::factory::serviceDecl,
88 dp_log::serviceDecl,
89 dp_info::serviceDecl,
90 dp_manager::serviceDecl);
93 } // extern "C"
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */