xref: /AOO41X/main/svx/source/gallery2/GallerySplitter.hxx (revision ca62e2c2083b5d0995f1245bad6c2edfb455fbec)
1*02c50d82SAndre Fischer /**************************************************************
2*02c50d82SAndre Fischer  *
3*02c50d82SAndre Fischer  * Licensed to the Apache Software Foundation (ASF) under one
4*02c50d82SAndre Fischer  * or more contributor license agreements.  See the NOTICE file
5*02c50d82SAndre Fischer  * distributed with this work for additional information
6*02c50d82SAndre Fischer  * regarding copyright ownership.  The ASF licenses this file
7*02c50d82SAndre Fischer  * to you under the Apache License, Version 2.0 (the
8*02c50d82SAndre Fischer  * "License"); you may not use this file except in compliance
9*02c50d82SAndre Fischer  * with the License.  You may obtain a copy of the License at
10*02c50d82SAndre Fischer  *
11*02c50d82SAndre Fischer  *   http://www.apache.org/licenses/LICENSE-2.0
12*02c50d82SAndre Fischer  *
13*02c50d82SAndre Fischer  * Unless required by applicable law or agreed to in writing,
14*02c50d82SAndre Fischer  * software distributed under the License is distributed on an
15*02c50d82SAndre Fischer  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*02c50d82SAndre Fischer  * KIND, either express or implied.  See the License for the
17*02c50d82SAndre Fischer  * specific language governing permissions and limitations
18*02c50d82SAndre Fischer  * under the License.
19*02c50d82SAndre Fischer  *
20*02c50d82SAndre Fischer  *************************************************************/
21*02c50d82SAndre Fischer 
22*02c50d82SAndre Fischer #ifndef SVX_GALLERY_SPLITTER_HXX
23*02c50d82SAndre Fischer #define SVX_GALLERY_SPLITTER_HXX
24*02c50d82SAndre Fischer 
25*02c50d82SAndre Fischer #include <vcl/split.hxx>
26*02c50d82SAndre Fischer #include <boost/function.hpp>
27*02c50d82SAndre Fischer 
28*02c50d82SAndre Fischer class GallerySplitter : public Splitter
29*02c50d82SAndre Fischer {
30*02c50d82SAndre 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);
36*02c50d82SAndre 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 };
43*02c50d82SAndre Fischer 
44*02c50d82SAndre Fischer 
45*02c50d82SAndre Fischer #endif
46