Audacity
3.2.0
src
update
UpdatePopupDialog.h
Go to the documentation of this file.
1
/*!********************************************************************
2
Audacity: A Digital Audio Editor
3
4
@file UpdatePopupDialog.h
5
@brief Define a dialog for notifying users about new version available.
6
7
Anton Gerasimov
8
**********************************************************************/
9
10
#pragma once
11
12
#include "
wxPanelWrapper.h
"
13
#include "wx/string.h"
14
15
#include "
VersionPatch.h
"
16
17
class
HtmlWindow
;
18
class
wxWindow;
19
21
class
UpdatePopupDialog
final :
public
wxDialogWrapper
22
{
23
DECLARE_DYNAMIC_CLASS (
AboutDialog
)
24
public
:
25
explicit
UpdatePopupDialog
(wxWindow* parent,
const
VersionPatch
& versionPatch,
bool
configurableNotification);
26
virtual
~UpdatePopupDialog
();
27
28
void
OnUpdate
(wxCommandEvent& event);
29
void
OnSkip
(wxCommandEvent& event);
30
void
OnDontShow
(wxCommandEvent& event);
31
32
DECLARE_EVENT_TABLE()
33
34
private
:
35
HtmlWindow
*
AddHtmlContent
(wxWindow* parent);
36
37
const
VersionPatch
&
mVersionPatch
;
38
};
VersionPatch.h
Declare a structure that describes patch fields.
AboutDialog
The AboutDialog shows the program version and developer credits.
Definition:
AboutDialog.h:32
HtmlWindow
HtmlWindow Class.
Definition:
HtmlWindow.h:37
UpdatePopupDialog
Show dialog window with update information for the user.
Definition:
UpdatePopupDialog.h:22
UpdatePopupDialog::OnSkip
void OnSkip(wxCommandEvent &event)
Definition:
UpdatePopupDialog.cpp:85
UpdatePopupDialog::~UpdatePopupDialog
virtual ~UpdatePopupDialog()
Definition:
UpdatePopupDialog.cpp:75
UpdatePopupDialog::OnDontShow
void OnDontShow(wxCommandEvent &event)
Definition:
UpdatePopupDialog.cpp:90
UpdatePopupDialog::UpdatePopupDialog
UpdatePopupDialog(wxWindow *parent, const VersionPatch &versionPatch, bool configurableNotification)
Definition:
UpdatePopupDialog.cpp:31
UpdatePopupDialog::OnUpdate
void OnUpdate(wxCommandEvent &event)
Definition:
UpdatePopupDialog.cpp:80
UpdatePopupDialog::AddHtmlContent
HtmlWindow * AddHtmlContent(wxWindow *parent)
Definition:
UpdatePopupDialog.cpp:95
UpdatePopupDialog::mVersionPatch
const VersionPatch & mVersionPatch
Definition:
UpdatePopupDialog.h:37
wxDialogWrapper
Definition:
wxPanelWrapper.h:80
VersionPatch
A structure that describes patch fields.
Definition:
VersionPatch.h:15
wxPanelWrapper.h
Generated by
1.9.3