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
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_comphelper.hxx"
26 
27 #include "comphelper_module.hxx"
28 
29 //--------------------------------------------------------------------
30 extern void createRegistryInfo_OPropertyBag();
31 extern void createRegistryInfo_SequenceOutputStream();
32 extern void createRegistryInfo_SequenceInputStream();
33 extern void createRegistryInfo_UNOMemoryStream();
34 extern void createRegistryInfo_IndexedPropertyValuesContainer();
35 extern void createRegistryInfo_NamedPropertyValuesContainer();
36 extern void createRegistryInfo_AnyCompareFactory();
37 extern void createRegistryInfo_OfficeInstallationDirectories();
38 extern void createRegistryInfo_OInstanceLocker();
39 extern void createRegistryInfo_Map();
40 extern void createRegistryInfo_OSimpleLogRing();
41 extern void createRegistryInfo_OOfficeRestartManager();
42 
43 //........................................................................
44 namespace comphelper { namespace module
45 {
46 //........................................................................
47 
initializeModule()48     static void initializeModule()
49     {
50         static bool bInitialized( false );
51         if ( !bInitialized )
52         {
53             ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
54             if ( !bInitialized )
55             {
56                 createRegistryInfo_OPropertyBag();
57                 createRegistryInfo_SequenceOutputStream();
58                 createRegistryInfo_SequenceInputStream();
59                 createRegistryInfo_UNOMemoryStream();
60                 createRegistryInfo_IndexedPropertyValuesContainer();
61                 createRegistryInfo_NamedPropertyValuesContainer();
62                 createRegistryInfo_AnyCompareFactory();
63                 createRegistryInfo_OfficeInstallationDirectories();
64                 createRegistryInfo_OInstanceLocker();
65                 createRegistryInfo_Map();
66                 createRegistryInfo_OSimpleLogRing();
67                 createRegistryInfo_OOfficeRestartManager();
68             }
69         }
70     }
71 
72 //........................................................................
73 } } // namespace comphelper::module
74 //........................................................................
75 
76 IMPLEMENT_COMPONENT_LIBRARY_API( ::comphelper::module::ComphelperModule, ::comphelper::module::initializeModule )
77