122de8995SAndre Fischer /************************************************************** 222de8995SAndre Fischer * 322de8995SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 422de8995SAndre Fischer * or more contributor license agreements. See the NOTICE file 522de8995SAndre Fischer * distributed with this work for additional information 622de8995SAndre Fischer * regarding copyright ownership. The ASF licenses this file 722de8995SAndre Fischer * to you under the Apache License, Version 2.0 (the 822de8995SAndre Fischer * "License"); you may not use this file except in compliance 922de8995SAndre Fischer * with the License. You may obtain a copy of the License at 1022de8995SAndre Fischer * 1122de8995SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 1222de8995SAndre Fischer * 1322de8995SAndre Fischer * Unless required by applicable law or agreed to in writing, 1422de8995SAndre Fischer * software distributed under the License is distributed on an 1522de8995SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1622de8995SAndre Fischer * KIND, either express or implied. See the License for the 1722de8995SAndre Fischer * specific language governing permissions and limitations 1822de8995SAndre Fischer * under the License. 1922de8995SAndre Fischer * 2022de8995SAndre Fischer *************************************************************/ 2122de8995SAndre Fischer 2222de8995SAndre Fischer #ifndef SFX_SIDEBAR_DECK_DESCRIPTOR_HXX 2322de8995SAndre Fischer #define SFX_SIDEBAR_DECK_DESCRIPTOR_HXX 2422de8995SAndre Fischer 2595a18594SAndre Fischer #include "sfx2/sidebar/EnumContext.hxx" 26*7a32b0c8SAndre Fischer #include "ContextMatcher.hxx" 27ff12d537SAndre Fischer #include <boost/shared_ptr.hpp> 2822de8995SAndre Fischer 2922de8995SAndre Fischer 30ff12d537SAndre Fischer namespace sfx2 { namespace sidebar { 3122de8995SAndre Fischer 3222de8995SAndre Fischer class DeckDescriptor 3322de8995SAndre Fischer { 3422de8995SAndre Fischer public: 3522de8995SAndre Fischer ::rtl::OUString msTitle; 3622de8995SAndre Fischer ::rtl::OUString msId; 3722de8995SAndre Fischer ::rtl::OUString msIconURL; 38ff12d537SAndre Fischer ::rtl::OUString msHighContrastIconURL; 3922de8995SAndre Fischer ::rtl::OUString msHelpURL; 40ff12d537SAndre Fischer ::rtl::OUString msHelpText; 41*7a32b0c8SAndre Fischer ContextMatcher maContextMatcher; 4295a18594SAndre Fischer bool mbIsEnabled; 43*7a32b0c8SAndre Fischer sal_Int32 mnOrderIndex; 4495a18594SAndre Fischer 45ff12d537SAndre Fischer DeckDescriptor (void); 46ff12d537SAndre Fischer DeckDescriptor (const DeckDescriptor& rOther); 47ff12d537SAndre Fischer ~DeckDescriptor (void); 4822de8995SAndre Fischer }; 49ff12d537SAndre Fischer typedef ::boost::shared_ptr<DeckDescriptor> SharedDeckDescriptor; 5022de8995SAndre Fischer 51ff12d537SAndre Fischer } } // end of namespace sfx2::sidebar 5222de8995SAndre Fischer 5322de8995SAndre Fischer #endif 54