moduleuicfgsupplier.hxx (f8e07b45) | moduleuicfgsupplier.hxx (5758ad8c) |
---|---|
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 --- 79 unchanged lines hidden (view full) --- 88 virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) 89 throw (::com::sun::star::uno::RuntimeException); 90 91 // XModuleUIConfigurationManagerSupplier 92 virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager( const ::rtl::OUString& ModuleIdentifier ) 93 throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); 94 95 private: | 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 --- 79 unchanged lines hidden (view full) --- 88 virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) 89 throw (::com::sun::star::uno::RuntimeException); 90 91 // XModuleUIConfigurationManagerSupplier 92 virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager( const ::rtl::OUString& ModuleIdentifier ) 93 throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); 94 95 private: |
96 typedef ::std::hash_map< rtl::OUString, com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager >, OUStringHashCode, ::std::equal_to< rtl::OUString > > ModuleToModuleCfgMgr; | 96 typedef ::std::hash_map< rtl::OUString, com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager >, rtl::OUStringHash, ::std::equal_to< rtl::OUString > > ModuleToModuleCfgMgr; |
97 98//TODO_AS void impl_initStorages(); 99 100 // private methods 101 ModuleToModuleCfgMgr m_aModuleToModuleUICfgMgrMap; 102 bool m_bDisposed; 103// TODO_AS bool m_bInit; 104 rtl::OUString m_aDefaultConfigURL; 105 rtl::OUString m_aUserConfigURL; 106 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xDefaultCfgRootStorage; 107 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xUserCfgRootStorage; 108 com::sun::star::uno::Reference< com::sun::star::embed::XTransactedObject > m_xUserRootCommit; 109 com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager > m_xModuleMgr; 110 com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; 111 ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener 112 }; 113} 114 115#endif // __FRAMEWORK_UICONFIGURATION_MODULEUICFGSUPPLIER_HXX_ | 97 98//TODO_AS void impl_initStorages(); 99 100 // private methods 101 ModuleToModuleCfgMgr m_aModuleToModuleUICfgMgrMap; 102 bool m_bDisposed; 103// TODO_AS bool m_bInit; 104 rtl::OUString m_aDefaultConfigURL; 105 rtl::OUString m_aUserConfigURL; 106 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xDefaultCfgRootStorage; 107 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xUserCfgRootStorage; 108 com::sun::star::uno::Reference< com::sun::star::embed::XTransactedObject > m_xUserRootCommit; 109 com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager > m_xModuleMgr; 110 com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; 111 ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener 112 }; 113} 114 115#endif // __FRAMEWORK_UICONFIGURATION_MODULEUICFGSUPPLIER_HXX_ |