1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: registerservices.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_framework.hxx"
33 //_________________________________________________________________________________________________________________
34 // includes of my own project
35 //_________________________________________________________________________________________________________________
36 #include <macros/registration.hxx>
38 /*=================================================================================================================
39 Add new include and new register info to for new services.
43 #ifndef __YOUR_SERVICE_1_HXX_
44 #include <service1.hxx>
47 #ifndef __YOUR_SERVICE_2_HXX_
48 #include <service2.hxx>
51 COMPONENTGETIMPLEMENTATIONENVIRONMENT
53 COMPONENTWRITEINFO ( COMPONENTINFO( Service1 )
54 COMPONENTINFO( Service2 )
57 COMPONENTGETFACTORY ( IFFACTORIE( Service1 )
59 IFFACTORIE( Service2 )
61 =================================================================================================================*/
62 #include <services/urltransformer.hxx>
63 #include <services/desktop.hxx>
64 //#include <services/tabwindowservice.hxx>
65 #include <services/frame.hxx>
66 #include <services/modulemanager.hxx>
67 //#include <dispatch/oxt_handler.hxx>
68 #include <jobs/jobexecutor.hxx>
69 //#include <recording/dispatchrecordersupplier.hxx>
70 //#include <recording/dispatchrecorder.hxx>
71 //#include <dispatch/mailtodispatcher.hxx>
72 //#include <dispatch/servicehandler.hxx>
73 #include <jobs/jobdispatch.hxx>
74 #include <services/backingcomp.hxx>
75 //#include <services/dispatchhelper.hxx>
76 #include <services/layoutmanager.hxx>
77 //#include <services/license.hxx>
78 #include <uifactory/uielementfactorymanager.hxx>
79 #include <uifactory/popupmenucontrollerfactory.hxx>
80 //#include <uielement/fontmenucontroller.hxx>
81 //#include <uielement/fontsizemenucontroller.hxx>
82 #include <uielement/objectmenucontroller.hxx>
83 //#include <uielement/headermenucontroller.hxx>
84 //#include <uielement/footermenucontroller.hxx>
85 #include <uielement/controlmenucontroller.hxx>
86 //#include <uielement/macrosmenucontroller.hxx>
87 #include <uielement/uicommanddescription.hxx>
88 #include <uiconfiguration/uiconfigurationmanager.hxx>
89 #include <uiconfiguration/moduleuicfgsupplier.hxx>
90 #include <uiconfiguration/moduleuiconfigurationmanager.hxx>
91 #include <uifactory/menubarfactory.hxx>
92 #include <accelerators/globalacceleratorconfiguration.hxx>
93 #include <accelerators/moduleacceleratorconfiguration.hxx>
94 #include <accelerators/documentacceleratorconfiguration.hxx>
95 #include <uifactory/toolboxfactory.hxx>
96 #include <uifactory/addonstoolboxfactory.hxx>
97 #include "uiconfiguration/windowstateconfiguration.hxx"
98 //#include <uielement/toolbarsmenucontroller.hxx>
99 #include "uifactory/toolbarcontrollerfactory.hxx"
100 #include "uifactory/statusbarcontrollerfactory.hxx"
101 #include <services/autorecovery.hxx>
102 #include <helper/statusindicatorfactory.hxx>
103 #include <uielement/recentfilesmenucontroller.hxx>
104 #include <uifactory/statusbarfactory.hxx>
105 #include <uiconfiguration/uicategorydescription.hxx>
106 #include <services/sessionlistener.hxx>
107 //#include <uielement/logoimagestatusbarcontroller.hxx>
108 //#include <uielement/logotextstatusbarcontroller.hxx>
109 //#include <uielement/newmenucontroller.hxx>
110 #include <services/taskcreatorsrv.hxx>
111 //#include <uielement/simpletextstatusbarcontroller.hxx>
112 //#include <services/uriabbreviation.hxx>
114 #include <uielement/langselectionstatusbarcontroller.hxx>
115 //#include <uielement/langselectionmenucontroller.hxx>
116 #include <uiconfiguration/imagemanager.hxx>
117 #include <uifactory/windowcontentfactorymanager.hxx>
118 #include <services/substitutepathvars.hxx>
119 #include <services/pathsettings.hxx>
121 COMPONENTGETIMPLEMENTATIONENVIRONMENT
123 COMPONENTWRITEINFO ( COMPONENTINFO( ::framework::URLTransformer
)
124 COMPONENTINFO( ::framework::Desktop
)
125 COMPONENTINFO( ::framework::Frame
)
126 //COMPONENTINFO( ::framework::Oxt_Handler )
127 COMPONENTINFO( ::framework::JobExecutor
)
128 //COMPONENTINFO( ::framework::DispatchRecorderSupplier )
129 //COMPONENTINFO( ::framework::DispatchRecorder )
130 //COMPONENTINFO( ::framework::MailToDispatcher )
131 //COMPONENTINFO( ::framework::ServiceHandler )
132 COMPONENTINFO( ::framework::JobDispatch
)
133 COMPONENTINFO( ::framework::BackingComp
)
134 //COMPONENTINFO( ::framework::DispatchHelper )
135 COMPONENTINFO( ::framework::LayoutManager
)
136 //COMPONENTINFO( ::framework::License )
137 COMPONENTINFO( ::framework::UIElementFactoryManager
)
138 COMPONENTINFO( ::framework::PopupMenuControllerFactory
)
139 //COMPONENTINFO( ::framework::FontMenuController )
140 //COMPONENTINFO( ::framework::FontSizeMenuController )
141 COMPONENTINFO( ::framework::ObjectMenuController
)
142 //COMPONENTINFO( ::framework::HeaderMenuController )
143 //COMPONENTINFO( ::framework::FooterMenuController )
144 COMPONENTINFO( ::framework::ControlMenuController
)
145 //COMPONENTINFO( ::framework::MacrosMenuController )
146 COMPONENTINFO( ::framework::UICommandDescription
)
147 COMPONENTINFO( ::framework::ModuleManager
)
148 COMPONENTINFO( ::framework::UIConfigurationManager
)
149 COMPONENTINFO( ::framework::ModuleUIConfigurationManagerSupplier
)
150 COMPONENTINFO( ::framework::ModuleUIConfigurationManager
)
151 COMPONENTINFO( ::framework::MenuBarFactory
)
152 COMPONENTINFO( ::framework::GlobalAcceleratorConfiguration
)
153 COMPONENTINFO( ::framework::ModuleAcceleratorConfiguration
)
154 COMPONENTINFO( ::framework::DocumentAcceleratorConfiguration
)
155 COMPONENTINFO( ::framework::ToolBoxFactory
)
156 COMPONENTINFO( ::framework::AddonsToolBoxFactory
)
157 COMPONENTINFO( ::framework::WindowStateConfiguration
)
158 COMPONENTINFO( ::framework::ToolbarControllerFactory
)
159 //COMPONENTINFO( ::framework::ToolbarsMenuController )
160 COMPONENTINFO( ::framework::AutoRecovery
)
161 COMPONENTINFO( ::framework::StatusIndicatorFactory
)
162 COMPONENTINFO( ::framework::RecentFilesMenuController
)
163 COMPONENTINFO( ::framework::StatusBarFactory
)
164 COMPONENTINFO( ::framework::UICategoryDescription
)
165 COMPONENTINFO( ::framework::StatusbarControllerFactory
)
166 COMPONENTINFO( ::framework::SessionListener
)
167 //COMPONENTINFO( ::framework::LogoImageStatusbarController )
168 //COMPONENTINFO( ::framework::LogoTextStatusbarController )
169 //COMPONENTINFO( ::framework::NewMenuController )
170 COMPONENTINFO( ::framework::TaskCreatorService
)
171 //COMPONENTINFO( ::framework::SimpleTextStatusbarController )
172 //COMPONENTINFO( ::framework::UriAbbreviation )
173 //COMPONENTINFO( ::framework::PopupMenuDispatcher )
174 COMPONENTINFO( ::framework::ImageManager
)
175 COMPONENTINFO( ::framework::LangSelectionStatusbarController
)
176 //COMPONENTINFO( ::framework::LanguageSelectionMenuController )
177 //COMPONENTINFO( ::framework::TabWindowService )
178 COMPONENTINFO( ::framework::WindowContentFactoryManager
)
179 COMPONENTINFO( ::framework::SubstitutePathVariables
)
180 COMPONENTINFO( ::framework::PathSettings
)
183 COMPONENTGETFACTORY ( IFFACTORY( ::framework::URLTransformer
) else
184 IFFACTORY( ::framework::Desktop
) else
185 IFFACTORY( ::framework::Frame
) else
186 //IFFACTORY( ::framework::Oxt_Handler ) else
187 IFFACTORY( ::framework::JobExecutor
) else
188 //IFFACTORY( ::framework::DispatchRecorderSupplier ) else
189 //IFFACTORY( ::framework::DispatchRecorder ) else
190 //IFFACTORY( ::framework::MailToDispatcher ) else
191 //IFFACTORY( ::framework::ServiceHandler ) else
192 IFFACTORY( ::framework::JobDispatch
) else
193 IFFACTORY( ::framework::BackingComp
) else
194 //IFFACTORY( ::framework::DispatchHelper ) else
195 IFFACTORY( ::framework::LayoutManager
) else
196 //IFFACTORY( ::framework::License ) else
197 IFFACTORY( ::framework::UIElementFactoryManager
) else
198 IFFACTORY( ::framework::PopupMenuControllerFactory
) else
199 //IFFACTORY( ::framework::FontMenuController ) else
200 //IFFACTORY( ::framework::FontSizeMenuController ) else
201 IFFACTORY( ::framework::ObjectMenuController
) else
202 //IFFACTORY( ::framework::HeaderMenuController ) else
203 //IFFACTORY( ::framework::FooterMenuController ) else
204 IFFACTORY( ::framework::ControlMenuController
) else
205 //IFFACTORY( ::framework::MacrosMenuController ) else
206 IFFACTORY( ::framework::UICommandDescription
) else
207 IFFACTORY( ::framework::ModuleManager
) else
208 IFFACTORY( ::framework::UIConfigurationManager
) else
209 IFFACTORY( ::framework::ModuleUIConfigurationManagerSupplier
) else
210 IFFACTORY( ::framework::ModuleUIConfigurationManager
) else
211 IFFACTORY( ::framework::MenuBarFactory
) else
212 IFFACTORY( ::framework::GlobalAcceleratorConfiguration
) else
213 IFFACTORY( ::framework::ModuleAcceleratorConfiguration
) else
214 IFFACTORY( ::framework::DocumentAcceleratorConfiguration
) else
215 IFFACTORY( ::framework::ToolBoxFactory
) else
216 IFFACTORY( ::framework::AddonsToolBoxFactory
) else
217 IFFACTORY( ::framework::WindowStateConfiguration
) else
218 IFFACTORY( ::framework::ToolbarControllerFactory
) else
219 //IFFACTORY( ::framework::ToolbarsMenuController ) else
220 IFFACTORY( ::framework::AutoRecovery
) else
221 IFFACTORY( ::framework::StatusIndicatorFactory
) else
222 IFFACTORY( ::framework::RecentFilesMenuController
) else
223 IFFACTORY( ::framework::StatusBarFactory
) else
224 IFFACTORY( ::framework::UICategoryDescription
) else
225 IFFACTORY( ::framework::SessionListener
) else
226 IFFACTORY( ::framework::StatusbarControllerFactory
) else
227 IFFACTORY( ::framework::SessionListener
) else
228 //IFFACTORY( ::framework::LogoImageStatusbarController ) else
229 //IFFACTORY( ::framework::LogoTextStatusbarController ) else
230 IFFACTORY( ::framework::TaskCreatorService
) else
231 //IFFACTORY( ::framework::NewMenuController ) else
232 //IFFACTORY( ::framework::SimpleTextStatusbarController ) else
233 //IFFACTORY( ::framework::UriAbbreviation ) else
234 //IFFACTORY( ::framework::PopupMenuDispatcher ) else
235 IFFACTORY( ::framework::ImageManager
) else
236 IFFACTORY( ::framework::LangSelectionStatusbarController
) else
237 //IFFACTORY( ::framework::LanguageSelectionMenuController ) else
238 IFFACTORY( ::framework::WindowContentFactoryManager
) else
239 //IFFACTORY( ::framework::TabWindowService ) else
240 IFFACTORY( ::framework::SubstitutePathVariables
) else
241 IFFACTORY( ::framework::PathSettings
)