xref: /AOO41X/main/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx (revision 0a1e2f0e76583da2559a4bad1f4bfca3ca810f57)
1*0a1e2f0eSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*0a1e2f0eSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*0a1e2f0eSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*0a1e2f0eSAndrew Rist  * distributed with this work for additional information
6*0a1e2f0eSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*0a1e2f0eSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*0a1e2f0eSAndrew Rist  * "License"); you may not use this file except in compliance
9*0a1e2f0eSAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*0a1e2f0eSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*0a1e2f0eSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*0a1e2f0eSAndrew Rist  * software distributed under the License is distributed on an
15*0a1e2f0eSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*0a1e2f0eSAndrew Rist  * KIND, either express or implied.  See the License for the
17*0a1e2f0eSAndrew Rist  * specific language governing permissions and limitations
18*0a1e2f0eSAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*0a1e2f0eSAndrew Rist  *************************************************************/
21*0a1e2f0eSAndrew Rist 
22*0a1e2f0eSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DEPENDENCYDIALOG_HXX
25cdf0e10cSrcweir #define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DEPENDENCYDIALOG_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include "sal/config.h"
28cdf0e10cSrcweir 
29cdf0e10cSrcweir #include <vector>
30cdf0e10cSrcweir #include "tools/gen.hxx"
31cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX
32cdf0e10cSrcweir #include "vcl/button.hxx"
33cdf0e10cSrcweir #endif
34cdf0e10cSrcweir #include "vcl/dialog.hxx"
35cdf0e10cSrcweir #include "vcl/fixed.hxx"
36cdf0e10cSrcweir #include "vcl/lstbox.hxx"
37cdf0e10cSrcweir 
38cdf0e10cSrcweir class Window;
39cdf0e10cSrcweir namespace rtl { class OUString; }
40cdf0e10cSrcweir 
41cdf0e10cSrcweir namespace dp_gui {
42cdf0e10cSrcweir 
43cdf0e10cSrcweir class DependencyDialog: public ModalDialog {
44cdf0e10cSrcweir public:
45cdf0e10cSrcweir     DependencyDialog(
46cdf0e10cSrcweir         Window * parent, std::vector< rtl::OUString > const & dependencies);
47cdf0e10cSrcweir 
48cdf0e10cSrcweir     ~DependencyDialog();
49cdf0e10cSrcweir 
50cdf0e10cSrcweir private:
51cdf0e10cSrcweir     DependencyDialog(DependencyDialog &); // not defined
52cdf0e10cSrcweir     void operator =(DependencyDialog &); // not defined
53cdf0e10cSrcweir 
54cdf0e10cSrcweir     virtual void Resize();
55cdf0e10cSrcweir 
56cdf0e10cSrcweir     FixedText m_text;
57cdf0e10cSrcweir     ListBox m_list;
58cdf0e10cSrcweir     OKButton m_ok;
59cdf0e10cSrcweir     Size m_listDelta;
60cdf0e10cSrcweir };
61cdf0e10cSrcweir 
62cdf0e10cSrcweir }
63cdf0e10cSrcweir 
64cdf0e10cSrcweir #endif
65