Audacity 3.2.0
Macros | Typedefs | Enumerations | Variables
UpdateManager.cpp File Reference

Declare a class that handles managing of updates. More...

#include "UpdateManager.h"
#include "UpdatePopupDialog.h"
#include "UpdateNoticeDialog.h"
#include "NoUpdatesAvailableDialog.h"
#include "AudioIO.h"
#include "BasicUI.h"
#include "NetworkManager.h"
#include "IResponse.h"
#include "Request.h"
#include <wx/utils.h>
#include <wx/frame.h>
#include <wx/app.h>
#include <wx/stdpaths.h>
#include <wx/filename.h>
#include <cstdint>
Include dependency graph for UpdateManager.cpp:

Go to the source code of this file.

Macros

#define UPDATE_LOCAL_TESTING   0
 

Typedefs

using Clock = std::chrono::system_clock
 
using TimePoint = Clock::time_point
 
using Duration = TimePoint::duration
 

Enumerations

enum  { ID_TIMER = wxID_HIGHEST + 1 }
 

Variables

static const char * prefsUpdateScheduledTime = "/Update/UpdateScheduledTime"
 
static BoolSetting prefUpdatesNoticeShown (wxT("/Update/UpdateNoticeShown"), false)
 
constexpr Duration updatesCheckInterval = std::chrono::hours(12)
 

Detailed Description

Declare a class that handles managing of updates.


Audacity: A Digital Audio Editor

Anton Gerasimov

Definition in file UpdateManager.cpp.

Macro Definition Documentation

◆ UPDATE_LOCAL_TESTING

#define UPDATE_LOCAL_TESTING   0

Definition at line 30 of file UpdateManager.cpp.

Typedef Documentation

◆ Clock

using Clock = std::chrono::system_clock

Definition at line 37 of file UpdateManager.cpp.

◆ Duration

using Duration = TimePoint::duration

Definition at line 39 of file UpdateManager.cpp.

◆ TimePoint

using TimePoint = Clock::time_point

Definition at line 38 of file UpdateManager.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_TIMER 

Definition at line 47 of file UpdateManager.cpp.

47{ ID_TIMER = wxID_HIGHEST + 1 };
@ ID_TIMER

Variable Documentation

◆ prefsUpdateScheduledTime

const char* prefsUpdateScheduledTime = "/Update/UpdateScheduledTime"
static

Definition at line 32 of file UpdateManager.cpp.

Referenced by UpdateManager::IsTimeForUpdatesChecking().

◆ prefUpdatesNoticeShown

BoolSetting prefUpdatesNoticeShown(wxT("/Update/UpdateNoticeShown"), false) ( wxT("/Update/UpdateNoticeShown")  ,
false   
)
static

Referenced by UpdateManager::Start().

◆ updatesCheckInterval

constexpr Duration updatesCheckInterval = std::chrono::hours(12)
constexpr

Definition at line 44 of file UpdateManager.cpp.

Referenced by UpdateManager::OnTimer().