update credits
[LibreOffice.git] / padmin / source / newppdlg.hxx
blobb94fc4b0c7ae0811998c4b0c7da203673eedc3d2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _PAD_NEWPPDLG_HXX_
21 #define _PAD_NEWPPDLG_HXX_
23 #include <vcl/dialog.hxx>
24 #include <vcl/button.hxx>
25 #include <vcl/combobox.hxx>
26 #include <vcl/lstbox.hxx>
27 #include <vcl/fixed.hxx>
28 #include <vcl/group.hxx>
30 namespace psp { class PPDParser; }
32 namespace padmin {
34 class PPDImportDialog : public ModalDialog
36 OKButton m_aOKBtn;
37 CancelButton m_aCancelBtn;
38 FixedText m_aPathTxt;
39 ComboBox m_aPathBox;
40 PushButton m_aSearchBtn;
41 FixedText m_aDriverTxt;
42 MultiListBox m_aDriverLB;
44 FixedLine m_aPathGroup;
45 FixedLine m_aDriverGroup;
47 String m_aLoadingPPD;
49 DECL_LINK( ClickBtnHdl, PushButton* );
50 DECL_LINK( SelectHdl, ComboBox* );
51 DECL_LINK( ModifyHdl, ComboBox* );
53 void Import();
55 std::list< OUString > m_aImportedFiles;
56 public:
57 PPDImportDialog( Window* pParent );
58 ~PPDImportDialog();
60 const std::list< OUString >& getImportedFiles() const
61 { return m_aImportedFiles; }
64 } // namespace
66 #endif // _NEWPPDLG_HXX
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */