moduleuiconfigurationmanager.hxx (f8e07b45) | moduleuiconfigurationmanager.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 --- 150 unchanged lines hidden (view full) --- 159 bool bModified; // has been changed since last storing 160 bool bDefault; // default settings 161 bool bDefaultNode; // this is a default layer element data 162 com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess > xSettings; 163 }; 164 165 struct UIElementType; 166 friend struct UIElementType; | 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 --- 150 unchanged lines hidden (view full) --- 159 bool bModified; // has been changed since last storing 160 bool bDefault; // default settings 161 bool bDefaultNode; // this is a default layer element data 162 com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess > xSettings; 163 }; 164 165 struct UIElementType; 166 friend struct UIElementType; |
167 typedef ::std::hash_map< rtl::OUString, UIElementData, OUStringHashCode, ::std::equal_to< rtl::OUString > > UIElementDataHashMap; | 167 typedef ::std::hash_map< rtl::OUString, UIElementData, rtl::OUStringHash, ::std::equal_to< rtl::OUString > > UIElementDataHashMap; |
168 169 struct UIElementType 170 { 171 UIElementType() : bModified( false ), 172 bLoaded( false ), 173 bDefaultLayer( false ), 174 nElementType( ::com::sun::star::ui::UIElementType::UNKNOWN ) {} 175 176 177 bool bModified; 178 bool bLoaded; 179 bool bDefaultLayer; 180 sal_Int16 nElementType; 181 UIElementDataHashMap aElementsHashMap; 182 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > xStorage; 183 }; 184 185 typedef ::std::vector< UIElementType > UIElementTypesVector; 186 typedef ::std::vector< ::com::sun::star::ui::ConfigurationEvent > ConfigEventNotifyContainer; | 168 169 struct UIElementType 170 { 171 UIElementType() : bModified( false ), 172 bLoaded( false ), 173 bDefaultLayer( false ), 174 nElementType( ::com::sun::star::ui::UIElementType::UNKNOWN ) {} 175 176 177 bool bModified; 178 bool bLoaded; 179 bool bDefaultLayer; 180 sal_Int16 nElementType; 181 UIElementDataHashMap aElementsHashMap; 182 com::sun::star::uno::Reference< com::sun::star::embed::XStorage > xStorage; 183 }; 184 185 typedef ::std::vector< UIElementType > UIElementTypesVector; 186 typedef ::std::vector< ::com::sun::star::ui::ConfigurationEvent > ConfigEventNotifyContainer; |
187 typedef ::std::hash_map< rtl::OUString, UIElementInfo, OUStringHashCode, ::std::equal_to< rtl::OUString > > UIElementInfoHashMap; | 187 typedef ::std::hash_map< rtl::OUString, UIElementInfo, rtl::OUStringHash, ::std::equal_to< rtl::OUString > > UIElementInfoHashMap; |
188 189 // private methods 190 void impl_Initialize(); 191 void implts_notifyContainerListener( const ::com::sun::star::ui::ConfigurationEvent& aEvent, NotifyOp eOp ); 192 void impl_fillSequenceWithElementTypeInfo( UIElementInfoHashMap& aUIElementInfoCollection, sal_Int16 nElementType ); 193 void impl_preloadUIElementTypeList( Layer eLayer, sal_Int16 nElementType ); 194 UIElementData* impl_findUIElementData( const rtl::OUString& aResourceURL, sal_Int16 nElementType, bool bLoad = true ); 195 void impl_requestUIElementData( sal_Int16 nElementType, Layer eLayer, UIElementData& aUIElementData ); --- 27 unchanged lines hidden --- | 188 189 // private methods 190 void impl_Initialize(); 191 void implts_notifyContainerListener( const ::com::sun::star::ui::ConfigurationEvent& aEvent, NotifyOp eOp ); 192 void impl_fillSequenceWithElementTypeInfo( UIElementInfoHashMap& aUIElementInfoCollection, sal_Int16 nElementType ); 193 void impl_preloadUIElementTypeList( Layer eLayer, sal_Int16 nElementType ); 194 UIElementData* impl_findUIElementData( const rtl::OUString& aResourceURL, sal_Int16 nElementType, bool bLoad = true ); 195 void impl_requestUIElementData( sal_Int16 nElementType, Layer eLayer, UIElementData& aUIElementData ); --- 27 unchanged lines hidden --- |