xref: /aoo41x/main/padmin/source/newppdlg.hxx (revision 23e9c6ca)
1*23e9c6caSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*23e9c6caSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*23e9c6caSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*23e9c6caSAndrew Rist  * distributed with this work for additional information
6*23e9c6caSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*23e9c6caSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*23e9c6caSAndrew Rist  * "License"); you may not use this file except in compliance
9*23e9c6caSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*23e9c6caSAndrew Rist  *
11*23e9c6caSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*23e9c6caSAndrew Rist  *
13*23e9c6caSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*23e9c6caSAndrew Rist  * software distributed under the License is distributed on an
15*23e9c6caSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*23e9c6caSAndrew Rist  * KIND, either express or implied.  See the License for the
17*23e9c6caSAndrew Rist  * specific language governing permissions and limitations
18*23e9c6caSAndrew Rist  * under the License.
19*23e9c6caSAndrew Rist  *
20*23e9c6caSAndrew Rist  *************************************************************/
21*23e9c6caSAndrew Rist 
22*23e9c6caSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _PAD_NEWPPDLG_HXX_
25cdf0e10cSrcweir #define _PAD_NEWPPDLG_HXX_
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <vcl/dialog.hxx>
28cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX
29cdf0e10cSrcweir #include <vcl/button.hxx>
30cdf0e10cSrcweir #endif
31cdf0e10cSrcweir #include <vcl/combobox.hxx>
32cdf0e10cSrcweir #include <vcl/lstbox.hxx>
33cdf0e10cSrcweir #include <vcl/fixed.hxx>
34cdf0e10cSrcweir #include <vcl/group.hxx>
35cdf0e10cSrcweir 
36cdf0e10cSrcweir namespace psp { class PPDParser; }
37cdf0e10cSrcweir 
38cdf0e10cSrcweir namespace padmin {
39cdf0e10cSrcweir 
40cdf0e10cSrcweir 	class PPDImportDialog : public ModalDialog
41cdf0e10cSrcweir 	{
42cdf0e10cSrcweir 		OKButton			m_aOKBtn;
43cdf0e10cSrcweir 		CancelButton		m_aCancelBtn;
44cdf0e10cSrcweir 		FixedText			m_aPathTxt;
45cdf0e10cSrcweir 		ComboBox			m_aPathBox;
46cdf0e10cSrcweir 		PushButton			m_aSearchBtn;
47cdf0e10cSrcweir 		FixedText			m_aDriverTxt;
48cdf0e10cSrcweir 		MultiListBox		m_aDriverLB;
49cdf0e10cSrcweir 
50cdf0e10cSrcweir 		FixedLine			m_aPathGroup;
51cdf0e10cSrcweir 		FixedLine			m_aDriverGroup;
52cdf0e10cSrcweir 
53cdf0e10cSrcweir 		String				m_aLoadingPPD;
54cdf0e10cSrcweir 
55cdf0e10cSrcweir 		DECL_LINK( ClickBtnHdl, PushButton* );
56cdf0e10cSrcweir 		DECL_LINK( SelectHdl, ComboBox* );
57cdf0e10cSrcweir 		DECL_LINK( ModifyHdl, ComboBox* );
58cdf0e10cSrcweir 
59cdf0e10cSrcweir 		void Import();
60cdf0e10cSrcweir 
61cdf0e10cSrcweir         std::list< rtl::OUString >  m_aImportedFiles;
62cdf0e10cSrcweir 	public:
63cdf0e10cSrcweir 		PPDImportDialog( Window* pParent );
64cdf0e10cSrcweir 		~PPDImportDialog();
65cdf0e10cSrcweir 
getImportedFiles() const66cdf0e10cSrcweir         const std::list< rtl::OUString >& getImportedFiles() const
67cdf0e10cSrcweir         { return m_aImportedFiles; }
68cdf0e10cSrcweir 	};
69cdf0e10cSrcweir 
70cdf0e10cSrcweir } // namespace
71cdf0e10cSrcweir 
72cdf0e10cSrcweir #endif // _NEWPPDLG_HXX
73