uicommanddescription.hxx (f8e07b45) | uicommanddescription.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 --- 73 unchanged lines hidden (view full) --- 82 virtual ::com::sun::star::uno::Type SAL_CALL getElementType() 83 throw (::com::sun::star::uno::RuntimeException); 84 virtual sal_Bool SAL_CALL hasElements() 85 throw (::com::sun::star::uno::RuntimeException); 86 87public: 88 typedef ::std::hash_map< ::rtl::OUString, 89 ::rtl::OUString, | 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 --- 73 unchanged lines hidden (view full) --- 82 virtual ::com::sun::star::uno::Type SAL_CALL getElementType() 83 throw (::com::sun::star::uno::RuntimeException); 84 virtual sal_Bool SAL_CALL hasElements() 85 throw (::com::sun::star::uno::RuntimeException); 86 87public: 88 typedef ::std::hash_map< ::rtl::OUString, 89 ::rtl::OUString, |
90 OUStringHashCode, | 90 rtl::OUStringHash, |
91 ::std::equal_to< ::rtl::OUString > > ModuleToCommandFileMap; | 91 ::std::equal_to< ::rtl::OUString > > ModuleToCommandFileMap; |
92 | 92 |
93 typedef ::std::hash_map< ::rtl::OUString, 94 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >, | 93 typedef ::std::hash_map< ::rtl::OUString, 94 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >, |
95 OUStringHashCode, | 95 rtl::OUStringHash, |
96 ::std::equal_to< ::rtl::OUString > > UICommandsHashMap; 97 98 protected: 99 UICommandDescription( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager,bool ); 100 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > impl_createConfigAccess(const ::rtl::OUString& _sName); 101 void impl_fillElements(const sal_Char* _pName); 102 sal_Bool m_bConfigRead; 103 rtl::OUString m_aPrivateResourceURL; 104 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; 105 ModuleToCommandFileMap m_aModuleToCommandFileMap; 106 UICommandsHashMap m_aUICommandsHashMap; 107 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xGenericUICommands; 108 ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager > m_xModuleManager; 109}; 110 111} // namespace framework 112 113#endif // __FRAMEWORK_SERVICES_UICOMMANDDESCRPTION_HXX_ | 96 ::std::equal_to< ::rtl::OUString > > UICommandsHashMap; 97 98 protected: 99 UICommandDescription( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager,bool ); 100 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > impl_createConfigAccess(const ::rtl::OUString& _sName); 101 void impl_fillElements(const sal_Char* _pName); 102 sal_Bool m_bConfigRead; 103 rtl::OUString m_aPrivateResourceURL; 104 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; 105 ModuleToCommandFileMap m_aModuleToCommandFileMap; 106 UICommandsHashMap m_aUICommandsHashMap; 107 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xGenericUICommands; 108 ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager > m_xModuleManager; 109}; 110 111} // namespace framework 112 113#endif // __FRAMEWORK_SERVICES_UICOMMANDDESCRPTION_HXX_ |