Loading...
Searching...
No Matches
UpdateInfoFetcher Class Reference

Classes

struct  ChangelogEntry
 
struct  ChangelogEntryItem
 
struct  Channel
 
struct  Version
 

Public Types

enum  FetchError { NoError , ConnectionError , DeserError }
 

Signals

void fetchCompleted (const FetchError &error)
 

Public Member Functions

 UpdateInfoFetcher (UseCreate)
 
 UpdateInfoFetcher (const UpdateInfoFetcher &)=delete
 
UpdateInfoFetcheroperator= (const UpdateInfoFetcher &)=delete
 
bool done ()
 
void startFetch ()
 
const std::vector< Channel > & getChannels ()
 
const ChannelgetActiveChannel ()
 
std::vector< ChangelogEntrygetFilteredChangelog ()
 

Static Public Member Functions

static std::shared_ptr< UpdateInfoFetchercreate ()
 

Member Enumeration Documentation

◆ FetchError

Enumerator
NoError 
ConnectionError 
DeserError 

Constructor & Destructor Documentation

◆ UpdateInfoFetcher() [1/2]

UpdateInfoFetcher::UpdateInfoFetcher ( UseCreate )
inline

◆ UpdateInfoFetcher() [2/2]

UpdateInfoFetcher::UpdateInfoFetcher ( const UpdateInfoFetcher & )
delete

Member Function Documentation

◆ create()

static std::shared_ptr< UpdateInfoFetcher > UpdateInfoFetcher::create ( )
static

◆ operator=()

UpdateInfoFetcher & UpdateInfoFetcher::operator= ( const UpdateInfoFetcher & )
delete

◆ done()

bool UpdateInfoFetcher::done ( )
inline

◆ startFetch()

void UpdateInfoFetcher::startFetch ( )

◆ getChannels()

const std::vector< Channel > & UpdateInfoFetcher::getChannels ( )

◆ getActiveChannel()

const Channel * UpdateInfoFetcher::getActiveChannel ( )

◆ getFilteredChangelog()

std::vector< ChangelogEntry > UpdateInfoFetcher::getFilteredChangelog ( )

◆ fetchCompleted

void UpdateInfoFetcher::fetchCompleted ( const FetchError & error)
signal