Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 :
21 : #define COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS 12
22 : #include "comphelper/servicedecl.hxx"
23 :
24 : using namespace com::sun::star;
25 : namespace sdecl = comphelper::service_decl;
26 :
27 : namespace dp_registry {
28 : namespace backend {
29 :
30 : namespace configuration {
31 : extern sdecl::ServiceDecl const serviceDecl;
32 : }
33 :
34 : namespace component {
35 : extern sdecl::ServiceDecl const serviceDecl;
36 : }
37 :
38 : namespace script {
39 : extern sdecl::ServiceDecl const serviceDecl;
40 : }
41 :
42 : namespace sfwk {
43 : extern sdecl::ServiceDecl const serviceDecl;
44 : }
45 :
46 : namespace help {
47 : extern sdecl::ServiceDecl const serviceDecl;
48 : }
49 :
50 : namespace executable {
51 : extern sdecl::ServiceDecl const serviceDecl;
52 : }
53 :
54 : } // namespace backend
55 : } // namespace dp_registry
56 :
57 : namespace dp_manager {
58 : namespace factory {
59 : extern sdecl::ServiceDecl const serviceDecl;
60 : }
61 : extern sdecl::ServiceDecl const serviceDecl;
62 : }
63 :
64 : namespace dp_log {
65 : extern sdecl::ServiceDecl const serviceDecl;
66 : }
67 :
68 : namespace dp_info {
69 : extern sdecl::ServiceDecl const serviceDecl;
70 : }
71 :
72 : extern "C" {
73 :
74 0 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL deployment_component_getFactory(
75 : sal_Char const * pImplName,
76 : lang::XMultiServiceFactory * pServiceManager,
77 : registry::XRegistryKey * pRegistryKey )
78 : {
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 0 : dp_manager::serviceDecl);
91 : }
92 :
93 : } // extern "C"
94 :
95 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|