Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ReleaseChannel Class Referenceabstract

#include <release_channel.h>

Inheritance diagram for ReleaseChannel:
[legend]
Collaboration diagram for ReleaseChannel:
[legend]

Signals

void finishedCheck (bool needToUpdate, bool isCompatible, Release *release)
void error (QString errorString)

Public Member Functions

 ReleaseChannel ()
 ~ReleaseChannel () override
Release * getLastRelease ()
virtual QString getManualDownloadUrl () const =0
virtual QString getName () const =0
void checkForUpdates ()

Protected Slots

virtual void releaseListFinished ()=0
virtual void fileListFinished ()=0

Protected Member Functions

virtual QString getReleaseChannelUrl () const =0

Static Protected Member Functions

static std::optional< int > getTargetVersionForCurrentOS (const QString &fileName)
static QString findBestDownloadUrl (const QVariantList &assets)

Protected Attributes

QNetworkAccessManager * netMan
QNetworkReply * response
Release * lastRelease

Constructor & Destructor Documentation

◆ ReleaseChannel()

ReleaseChannel::ReleaseChannel ( )
explicit

◆ ~ReleaseChannel()

ReleaseChannel::~ReleaseChannel ( )
override

Member Function Documentation

◆ checkForUpdates()

void ReleaseChannel::checkForUpdates ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ error

void ReleaseChannel::error ( QString errorString)
signal
Here is the caller graph for this function:

◆ fileListFinished

virtual void ReleaseChannel::fileListFinished ( )
protectedpure virtualslot

◆ findBestDownloadUrl()

QString ReleaseChannel::findBestDownloadUrl ( const QVariantList & assets)
staticprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ finishedCheck

void ReleaseChannel::finishedCheck ( bool needToUpdate,
bool isCompatible,
Release * release )
signal
Here is the caller graph for this function:

◆ getLastRelease()

Release * ReleaseChannel::getLastRelease ( )
inline

◆ getManualDownloadUrl()

virtual QString ReleaseChannel::getManualDownloadUrl ( ) const
nodiscardpure virtual

◆ getName()

virtual QString ReleaseChannel::getName ( ) const
nodiscardpure virtual

Implemented in BetaReleaseChannel, and StableReleaseChannel.

Here is the call graph for this function:

◆ getReleaseChannelUrl()

virtual QString ReleaseChannel::getReleaseChannelUrl ( ) const
nodiscardprotectedpure virtual

Implemented in BetaReleaseChannel, and StableReleaseChannel.

Here is the caller graph for this function:

◆ getTargetVersionForCurrentOS()

std::optional< int > ReleaseChannel::getTargetVersionForCurrentOS ( const QString & fileName)
staticprotected
Here is the caller graph for this function:

◆ releaseListFinished

virtual void ReleaseChannel::releaseListFinished ( )
protectedpure virtualslot
Here is the caller graph for this function:

Member Data Documentation

◆ lastRelease

Release* ReleaseChannel::lastRelease
protected

◆ netMan

QNetworkAccessManager* ReleaseChannel::netMan
protected

◆ response

QNetworkReply* ReleaseChannel::response
protected

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