diff options
Diffstat (limited to 'extensions/source/inc/componentmodule.hxx')
-rw-r--r-- | extensions/source/inc/componentmodule.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/extensions/source/inc/componentmodule.hxx b/extensions/source/inc/componentmodule.hxx index b34a84fcf87a..2f2e5ad0ad5b 100644 --- a/extensions/source/inc/componentmodule.hxx +++ b/extensions/source/inc/componentmodule.hxx @@ -39,10 +39,10 @@ class ResMgr; -//......................................................................... + namespace COMPMOD_NAMESPACE { -//......................................................................... + typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > (SAL_CALL *FactoryInstantiation) ( @@ -53,9 +53,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService rtl_ModuleCount* ); - //========================================================================= + //= OModule - //========================================================================= + class OModuleImpl; class OModule { @@ -140,9 +140,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService static void ensureImpl(); }; - //========================================================================= + //= OModuleResourceClient - //========================================================================= + /** base class for objects which uses any global module-specific resources */ class OModuleResourceClient @@ -152,9 +152,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService ~OModuleResourceClient() { OModule::revokeClient(); } }; - //========================================================================= + //= ModuleRes - //========================================================================= + /** specialized ResId, using the resource manager provided by the global module */ class ModuleRes : public ::ResId @@ -163,9 +163,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService ModuleRes(sal_uInt16 _nId) : ResId(_nId, *OModule::getResManager()) { } }; - //========================================================================== + //= OMultiInstanceAutoRegistration - //========================================================================== + template <class TYPE> class OMultiInstanceAutoRegistration { @@ -205,9 +205,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService OModule::revokeComponent(TYPE::getImplementationName_Static()); } - //========================================================================== + //= OOneInstanceAutoRegistration - //========================================================================== + template <class TYPE> class OOneInstanceAutoRegistration { @@ -247,9 +247,9 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService OModule::revokeComponent(TYPE::getImplementationName_Static()); } -//......................................................................... + } // namespace COMPMOD_NAMESPACE -//......................................................................... + #endif // _EXTENSIONS_COMPONENT_MODULE_HXX_ |