MiKTeX
26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
Libraries
MiKTeX
UI
Qt
include
miktex
UI
Qt
UpdateDialog.h
1
/* miktex/UI/Qt/UpdateDialog.h: -*- C++ -*-
2
3
Copyright (C) 2008-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
#include "Prototypes"
25
26
#include <memory>
27
#include <string>
28
#include <vector>
29
30
#include <miktex/PackageManager/PackageManager>
31
32
class
QWidget;
33
34
MIKTEX_UI_QT_BEGIN_NAMESPACE;
35
36
class
MIKTEXNOVTABLE UpdateDialog
37
{
38
public
:
39
UpdateDialog() =
delete
;
40
41
public
:
42
UpdateDialog(
const
UpdateDialog& other) =
delete
;
43
44
public
:
45
UpdateDialog& operator=(
const
UpdateDialog& other) =
delete
;
46
47
public
:
48
UpdateDialog(UpdateDialog&& other) =
delete
;
49
50
public
:
51
UpdateDialog& operator=(UpdateDialog&& other) =
delete
;
52
53
public
:
54
~UpdateDialog() =
delete
;
55
56
public
:
57
static
MIKTEXUIQTCEEAPI(
int
) DoModal(QWidget* parent, std::shared_ptr<MiKTeX::Packages::PackageManager> packageManager,
const
std::vector<std::string>& toBeInstalled,
const
std::vector<std::string>& toBeRemoved);
58
};
59
60
MIKTEX_UI_QT_END_NAMESPACE;
Generated by
1.14.0