Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*
3 : : * This file is part of the LibreOffice project.
4 : : *
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/.
8 : : *
9 : : * This file incorporates work covered by the following license notice:
10 : : *
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 .
18 : : */
19 : :
20 : : #ifndef _PAD_NEWPPDLG_HXX_
21 : : #define _PAD_NEWPPDLG_HXX_
22 : :
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>
29 : :
30 : : namespace psp { class PPDParser; }
31 : :
32 : : namespace padmin {
33 : :
34 : : class PPDImportDialog : public ModalDialog
35 : : {
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;
43 : :
44 : : FixedLine m_aPathGroup;
45 : : FixedLine m_aDriverGroup;
46 : :
47 : : String m_aLoadingPPD;
48 : :
49 : : DECL_LINK( ClickBtnHdl, PushButton* );
50 : : DECL_LINK( SelectHdl, ComboBox* );
51 : : DECL_LINK( ModifyHdl, ComboBox* );
52 : :
53 : : void Import();
54 : :
55 : : std::list< rtl::OUString > m_aImportedFiles;
56 : : public:
57 : : PPDImportDialog( Window* pParent );
58 : : ~PPDImportDialog();
59 : :
60 : 0 : const std::list< rtl::OUString >& getImportedFiles() const
61 : 0 : { return m_aImportedFiles; }
62 : : };
63 : :
64 : : } // namespace
65 : :
66 : : #endif // _NEWPPDLG_HXX
67 : :
68 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|