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 
22*02c50d82SAndre Fischer #ifndef SVX_GALLERY_SPLITTER_HXX
23*02c50d82SAndre Fischer #define SVX_GALLERY_SPLITTER_HXX
2422de8995SAndre Fischer 
25*02c50d82SAndre Fischer #include <vcl/split.hxx>
26*02c50d82SAndre Fischer #include <boost/function.hpp>
2722de8995SAndre Fischer 
28*02c50d82SAndre Fischer class GallerySplitter : public Splitter
2922de8995SAndre Fischer {
3022de8995SAndre Fischer public:
31*02c50d82SAndre Fischer     GallerySplitter (
32*02c50d82SAndre Fischer         Window* pParent,
33*02c50d82SAndre Fischer         const ResId& rResId,
34*02c50d82SAndre Fischer         const ::boost::function<void(void)>& rDataChangeFunctor);
35*02c50d82SAndre Fischer     virtual ~GallerySplitter (void);
3622de8995SAndre Fischer 
37*02c50d82SAndre Fischer protected:
38*02c50d82SAndre Fischer     virtual void    DataChanged( const DataChangedEvent& rDCEvt );
39*02c50d82SAndre Fischer 
40*02c50d82SAndre Fischer private:
41*02c50d82SAndre Fischer     ::boost::function<void(void)> maDataChangeFunctor;
42*02c50d82SAndre Fischer };
4322de8995SAndre Fischer 
4422de8995SAndre Fischer 
4522de8995SAndre Fischer #endif
46