Chatterino
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
chatterino::Updates Class Reference

#include <Updates.hpp>

Public Types

enum  Status {
  None, Searching, UpdateAvailable, NoUpdateAvailable,
  SearchFailed, Downloading, DownloadFailed, WriteFileFailed
}
 

Public Member Functions

void checkForUpdates ()
 
const QString & getCurrentVersion () const
 
const QString & getOnlineVersion () const
 
void installUpdates ()
 
Status getStatus () const
 
bool shouldShowUpdateButton () const
 
bool isError () const
 
bool isDowngrade () const
 

Static Public Member Functions

static Updates & instance ()
 

Public Attributes

pajlada::Signals::Signal< Status > statusUpdated
 

Member Enumeration Documentation

◆ Status

Enumerator
None 
Searching 
UpdateAvailable 
NoUpdateAvailable 
SearchFailed 
Downloading 
DownloadFailed 
WriteFileFailed 

Member Function Documentation

◆ checkForUpdates()

void chatterino::Updates::checkForUpdates ( )

Version available on every platform

Current version

Update available :)

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCurrentVersion()

const QString & chatterino::Updates::getCurrentVersion ( ) const

◆ getOnlineVersion()

const QString & chatterino::Updates::getOnlineVersion ( ) const

◆ getStatus()

Updates::Status chatterino::Updates::getStatus ( ) const

◆ installUpdates()

void chatterino::Updates::installUpdates ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ instance()

Updates & chatterino::Updates::instance ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDowngrade()

bool chatterino::Updates::isDowngrade ( ) const

◆ isError()

bool chatterino::Updates::isError ( ) const
Here is the caller graph for this function:

◆ shouldShowUpdateButton()

bool chatterino::Updates::shouldShowUpdateButton ( ) const

Member Data Documentation

◆ statusUpdated

pajlada::Signals::Signal<Status> chatterino::Updates::statusUpdated

The documentation for this class was generated from the following files: