Audacity 3.2.0
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
17class HtmlWindow;
18class wxWindow;
19
22{
23 DECLARE_DYNAMIC_CLASS (AboutDialog)
24public:
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
34private:
35 HtmlWindow* AddHtmlContent (wxWindow* parent);
36
38};
Declare a structure that describes patch fields.
The AboutDialog shows the program version and developer credits.
Definition: AboutDialog.h:32
HtmlWindow Class.
Definition: HtmlWindow.h:37
Show dialog window with update information for the user.
void OnSkip(wxCommandEvent &event)
void OnDontShow(wxCommandEvent &event)
UpdatePopupDialog(wxWindow *parent, const VersionPatch &versionPatch, bool configurableNotification)
void OnUpdate(wxCommandEvent &event)
HtmlWindow * AddHtmlContent(wxWindow *parent)
const VersionPatch & mVersionPatch
A structure that describes patch fields.
Definition: VersionPatch.h:15