MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
PackageInfoDialog.h
1/* miktex/UI/Qt/PackageInfoDialog.h: -*- C++ -*-
2
3 Copyright (C) 2017-2018 Christian Schenk
4
5 This file is part of the MiKTeX UI Library.
6
7 The MiKTeX UI Library is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2, or
10 (at your option) any later version.
11
12 The MiKTeX UI Library is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with the MiKTeX UI Library; if not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#pragma once
23
24#if !defined(E99E278BF7794F128543A2811B07D6CB)
25#define E99E278BF7794F128543A2811B07D6CB
26
27#include "Prototypes"
28
29namespace MiKTeX
30{
31 namespace Packages
32 {
33 struct PackageInfo;
34 }
35}
36
37class QWidget;
38
39MIKTEX_UI_QT_BEGIN_NAMESPACE;
40
41class MIKTEXNOVTABLE PackageInfoDialog
42{
43public:
44 PackageInfoDialog() = delete;
45
46public:
47 PackageInfoDialog(const PackageInfoDialog& other) = delete;
48
49public:
50 PackageInfoDialog& operator=(const PackageInfoDialog& other) = delete;
51
52public:
53 PackageInfoDialog(PackageInfoDialog&& other) = delete;
54
55public:
56 PackageInfoDialog& operator=(PackageInfoDialog&& other) = delete;
57
58public:
59 ~PackageInfoDialog() = delete;
60
61public:
62 static MIKTEXUIQTCEEAPI(int) DoModal(QWidget* parent, const MiKTeX::Packages::PackageInfo& packageInfo);
63};
64
65MIKTEX_UI_QT_END_NAMESPACE;
66
67#endif
The package manager namespace.
Definition ComboCfg.h:33
Package record.
Definition PackageInfo.h:34